:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #2ecc71;
    --blue-light: #e1f0fa;
    --blue-medium: #3498db;
    --blue-dark: #2980b9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: rgba(255, 255, 255, 0.9);
    height: 100vh;
    overflow: hidden;
}

.construction-icon {
    position: absolute;
    font-size: 24px;
    color: var(--primary);
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    width: 400px;
    padding: 40px;
    position: relative;
    z-index: 10;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: all 0.5s ease;
    overflow: hidden;
    margin-right: 5%;
    border: 2px solid transparent;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: var(--blue-medium);
    transition: width 0.5s ease;
}

.login-container.username-typed::before {
    width: 25%;
}

.login-container.password-typed::before {
    width: 50%;
}

.login-container.captcha-typed::before {
    width: 75%;
}

.login-container.all-filled::before {
    width: 100%;
}

.login-container.success-state {
    border-color: var(--success);
}

.login-container.error-state {
    border-color: var(--accent);
    animation: shake 0.5s;
}
.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #F7F7F7FF;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    border: 3px solid white;
}

.logo img {
    max-width: 60px;
    max-height: 60px;
}

.logo h1 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px;
}

.logo p {
    color: #7f8c8d;
    font-size: 14px;
    margin-top: 5px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #dfe6e9;
    border-radius: 8px !important;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.input-group input:focus {
    border-color: var(--blue-medium);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
    background-color: white;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 18px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    cursor: pointer;
    font-size: 18px;
}

.captcha-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: #f1f2f6;
    padding: 10px;
    border-radius: 8px;
}

.captcha-code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    color: var(--dark);
    background: white;
    padding: 8px;
    border-radius: 5px;
    user-select: none;
    transform: skewX(0deg);
    letter-spacing: 5px;
}

.captcha-refresh {
    margin-left: 10px;
    background: var(--blue-medium);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-refresh:hover {
    background: var(--blue-dark);
    transform: rotate(90deg);
}

.captcha-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
}

.btn-group {
    display: flex;
    gap: 10px;
}

.login-btn, .reset-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn {
    background: var(--blue-medium);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.login-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.reset-btn {
    background: #95a5a6;
}

.reset-btn:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Clear buttons styling */
.input-clear {
    position: absolute;
    left: 90% !important;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    cursor: pointer;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1001;
    pointer-events: none;
}

.input-group.filled .input-clear {
    opacity: 1;
    pointer-events: auto;
}

.captcha-input-container .input-clear {
    position: absolute;
    display: none;
    z-index: 1001;
    width: 100%;
}

.captcha-input {
    width: 100%;
    padding: 15px 35px 15px 15px;
}

/* Password field clear button positioning */
.input-group:nth-child(2) .input-clear {
    right: 40px;
}

/* CAPTCHA input clear button positioning */
.captcha-input-container {
    position: relative;
    margin-bottom: 10px;
}

.captcha-input-container .input-clear {
    right: 15px;
}

/* Password toggle positioning */
.password-toggle {
    right: 15px;
    width: 25px;
    z-index: 3;
}

/* Update error container styling */
.error-container {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    color: var(--accent);
    font-size: 14px;
    display: none;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Remove reset button styles */
.reset-btn {
    display: none;
}

/* Adjust button group */
.btn-group {
    display: block;
}

/* Animation for construction icons */
.icon-1 { top: 10%; left: 10%; animation-delay: 0s; }
.icon-2 { top: 70%; left: 80%; animation-delay: 1s; }
.icon-3 { top: 20%; left: 75%; animation-delay: 2s; }
.icon-4 { top: 80%; left: 15%; animation-delay: 3s; }
.icon-5 { top: 30%; left: 50%; animation-delay: 4s; }

/* Responsive design */
@media (max-width: 992px) {
    .login-container {
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .login-container {
        width: 90%;
        padding: 30px 20px;
    }
}

/* Shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

   /* Showcase Container */
        .showcase-container {
            width: 100vw;
            height: 100vh;
            position: relative;
            overflow: hidden;
            margin: 0;
            padding: 0;
        }

        /* Showcase Content */
        .showcase-content {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            margin: 0;
            padding: 0;
            transition: none;
        }

        .showcase-content.no-transition {
            transition: none;
        }

        .slide {
            flex: 0 0 100%;
            width: 100%;
            height: 100vh;
            display: flex;
            align-items: flex-start;
            justify-content: center;
        }

        .slide-content {
            display: flex;
            align-items: center;
            width: 100%;
            height: 100vh;
            margin: 0;
            padding: 0;
        }

        .media-container {
            flex: 1;
            height: 100%;
            overflow: hidden;
        }

        .media {
            width: auto;
            height: 100vh;
            object-fit: cover;
        }

        .text-content {
            flex: 1;
            padding: 40px;
            position: relative;
        }

        .text-content h2 {
            font-size: 2rem;
            color: #3498db;
            margin-bottom: 20px;
            font-weight: 600;
            margin-top: 0;
        }

        .text-content p {
            color: #2c3e50;
            line-height: 1.6;
            margin-bottom: 30px;
            font-size: 1rem;
            margin-top: 0;
        }

        /* Slide Indicators */
        .slide-indicators {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 5;
        }

        .indicator-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(147, 147, 147, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator-dot.active {
            background: rgb(20, 20, 20);
            transform: scale(1.3);
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .slide-content {
                flex-direction: column;
                max-width: 100%;
            }
            
            .media-container {
                width: 100%;
                min-height: 250px;
            }
            
            .text-content {
                padding: 30px;
            }
        }

        @media (max-width: 576px) {
            .text-content h2 {
                font-size: 1.5rem;
            }
        }