/*:root {*/
/*    --primary-color: #667eea;*/
/*    --secondary-color: #764ba2;*/
/*    --text-dark: #2d3748;*/
/*    --text-light: #718096;*/
/*    --bg-light: rgba(247, 250, 252, 0.8);*/
/*    --border-light: rgba(226, 232, 240, 0.8);*/
/*    --white: #ffffff;*/
/*    --shadow-light: rgba(0, 0, 0, 0.2);*/
/*}*/

/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    box-sizing: border-box;*/
/*}*/

/*body {*/
/*    font-family: 'Inter', sans-serif;*/
/*    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);*/
/*    min-height: 100vh;*/
/*    position: relative;*/
/*    overflow-x: hidden;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/

/*!* Animated background particles *!*/
/*.bg-particles {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: -1;*/
/*    pointer-events: none;*/
/*}*/

/*.particle {*/
/*    position: absolute;*/
/*    background: rgba(255, 255, 255, 0.1);*/
/*    border-radius: 50%;*/
/*    animation: float 6s ease-in-out infinite;*/
/*}*/

/*.particle:nth-child(1) { width: 80px; height: 80px; left: 10%; animation-delay: 0s; }*/
/*.particle:nth-child(2) { width: 120px; height: 120px; left: 20%; animation-delay: 2s; }*/
/*.particle:nth-child(3) { width: 100px; height: 100px; left: 70%; animation-delay: 4s; }*/
/*.particle:nth-child(4) { width: 60px; height: 60px; left: 80%; animation-delay: 1s; }*/
/*.particle:nth-child(5) { width: 140px; height: 140px; left: 50%; animation-delay: 3s; }*/

/*@keyframes float {*/
/*    0%, 100% { transform: translateY(0px); }*/
/*    50% { transform: translateY(-20px); }*/
/*}*/

/*.login-container {*/
/*    flex-grow: 1; !* Allows it to take up available space *!*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    padding: 20px;*/
/*}*/

/*.main-card {*/
/*    background: rgba(255, 255, 255, 0.1);*/
/*    backdrop-filter: blur(20px);*/
/*    border: 1px solid rgba(255, 255, 255, 0.2);*/
/*    border-radius: 24px;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 25px 50px var(--shadow-light);*/
/*    max-width: 1000px;*/
/*    width: 100%;*/
/*    min-height: 600px;*/
/*    position: relative;*/
/*}*/

/*.illustration-section {*/
/*    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    text-align: center;*/
/*    padding: 60px 40px;*/
/*    position: relative;*/
/*}*/

/*.illustration-section::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');*/
/*    opacity: 0.3;*/
/*}*/

/*.logo-container {*/
/*    background: rgba(255, 255, 255, 0.15);*/
/*    border-radius: 20px;*/
/*    padding: 30px;*/
/*    margin-bottom: 30px;*/
/*    backdrop-filter: blur(10px);*/
/*    animation: pulse 3s ease-in-out infinite;*/
/*}*/

/*@keyframes pulse {*/
/*    0%, 100% { transform: scale(1); }*/
/*    50% { transform: scale(1.05); }*/
/*}*/

/*.logo-icon {*/
/*    font-size: 4rem;*/
/*    color: var(--white);*/
/*    margin-bottom: 20px;*/
/*    text-shadow: 0 10px 20px var(--shadow-light);*/
/*}*/

/*.welcome-text {*/
/*    color: var(--white);*/
/*    font-size: 2rem;*/
/*    font-weight: 700;*/
/*    margin-bottom: 15px;*/
/*    text-shadow: 0 5px 10px var(--shadow-light);*/
/*}*/

/*.welcome-subtitle {*/
/*    color: rgba(255, 255, 255, 0.8);*/
/*    font-size: 1.1rem;*/
/*    font-weight: 400;*/
/*    line-height: 1.6;*/
/*}*/

/*.login-section {*/
/*    background: rgba(255, 255, 255, 0.95);*/
/*    padding: 60px 50px;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: center;*/
/*}*/

/*.login-header {*/
/*    text-align: center;*/
/*    margin-bottom: 40px;*/
/*}*/

/*.login-title {*/
/*    !*font-size: 2.5rem;*!*/
/*    font-weight: 700;*/
/*    color: var(--text-dark);*/
/*    margin-bottom: 10px;*/
/*    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);*/
/*    -webkit-background-clip: text;*/
/*    -webkit-text-fill-color: transparent;*/
/*    background-clip: text;*/
/*}*/

/*.login-subtitle {*/
/*    color: var(--text-light);*/
/*    font-size: 1rem;*/
/*    font-weight: 400;*/
/*}*/

/*.form-floating {*/
/*    position: relative;*/
/*    margin-bottom: 25px;*/
/*}*/

/*.form-floating input {*/
/*    background: var(--bg-light);*/
/*    border: 2px solid var(--border-light);*/
/*    border-radius: 16px;*/
/*    padding: 20px 24px;*/
/*    font-size: 1rem;*/
/*    font-weight: 500;*/
/*    color: var(--text-dark);*/
/*    transition: all 0.3s ease;*/
/*    backdrop-filter: blur(10px);*/
/*}*/

/*.form-floating input:focus {*/
/*    outline: none;*/
/*    background: var(--white);*/
/*    border-color: var(--primary-color);*/
/*    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);*/
/*    transform: translateY(-2px);*/
/*}*/

/*.form-floating label {*/
/*    color: var(--text-light);*/
/*    font-weight: 500;*/
/*    padding-left: 24px;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.password-container {*/
/*    position: relative;*/
/*}*/

/*.toggle-password {*/
/*    position: absolute;*/
/*    right: 20px;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    cursor: pointer;*/
/*    color: var(--text-light);*/
/*    transition: all 0.3s ease;*/
/*    z-index: 10;*/
/*}*/

/*.toggle-password:hover {*/
/*    color: var(--primary-color);*/
/*}*/

/*.forgot-password {*/
/*    text-align: right;*/
/*    margin-bottom: 25px;*/
/*}*/

/*.forgot-password a {*/
/*    color: var(--primary-color);*/
/*    text-decoration: none;*/
/*    font-weight: 500;*/
/*    font-size: 0.9rem;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.forgot-password a:hover {*/
/*    color: var(--secondary-color);*/
/*    text-decoration: underline;*/
/*}*/

/*.captcha-container {*/
/*    background: var(--bg-light);*/
/*    border: 2px solid var(--border-light);*/
/*    border-radius: 16px;*/
/*    padding: 20px;*/
/*    margin-bottom: 25px;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.captcha-container:focus-within {*/
/*    border-color: var(--primary-color);*/
/*    background: var(--white);*/
/*    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);*/
/*}*/

/*.captcha-input {*/
/*    background: transparent !important;*/
/*    border: none !important;*/
/*    padding: 0 !important;*/
/*    font-size: 1rem;*/
/*    font-weight: 600;*/
/*    color: var(--text-dark);*/
/*}*/

/*.captcha-input:focus {*/
/*    box-shadow: none !important;*/
/*    transform: none !important;*/
/*}*/

/*.captcha-code {*/
/*    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);*/
/*    color: var(--white);*/
/*    border-radius: 12px;*/
/*    padding: 15px 20px;*/
/*    font-weight: 700;*/
/*    font-size: 1.2rem;*/
/*    letter-spacing: 3px;*/
/*    text-shadow: 0 2px 4px var(--shadow-light);*/
/*    min-width: 120px;*/
/*    text-align: center;*/
/*    user-select: none; !* Prevent selection of captcha text *!*/
/*}*/

/*.refresh-captcha {*/
/*    cursor: pointer;*/
/*    color: var(--primary-color);*/
/*    font-size: 1.2rem;*/
/*    transition: all 0.3s ease;*/
/*    padding: 10px;*/
/*    border-radius: 8px;*/
/*}*/

/*.refresh-captcha:hover {*/
/*    color: var(--secondary-color);*/
/*    background: rgba(102, 126, 234, 0.1);*/
/*    transform: rotate(180deg);*/
/*}*/

/*.otp-section {*/
/*    display: none;*/
/*    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);*/
/*    border-radius: 20px;*/
/*    padding: 30px;*/
/*    margin: 25px 0;*/
/*    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);*/
/*}*/

/*.otp-section::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);*/
/*    pointer-events: none;*/
/*}*/

/*.otp-section.show {*/
/*    display: block;*/
/*}*/

/*@keyframes slideDown {*/
/*    from {*/
/*        opacity: 0;*/
/*        transform: translateY(-30px) scale(0.95);*/
/*    }*/
/*    to {*/
/*        opacity: 1;*/
/*        transform: translateY(0) scale(1);*/
/*    }*/
/*}*/

/*.otp-header {*/
/*    text-align: center;*/
/*    margin-bottom: 25px;*/
/*    position: relative;*/
/*    z-index: 2;*/
/*}*/

/*.otp-icon {*/
/*    width: 70px;*/
/*    height: 70px;*/
/*    background: rgba(255,255,255,0.2);*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    margin: 0 auto 20px;*/
/*    backdrop-filter: blur(10px);*/
/*    animation: bounce 2s ease-in-out infinite;*/
/*}*/

/*@keyframes bounce {*/
/*    0%, 100% { transform: translateY(0); }*/
/*    50% { transform: translateY(-10px); }*/
/*}*/

/*.otp-title {*/
/*    color: var(--white);*/
/*    font-weight: 700;*/
/*    margin-bottom: 8px;*/
/*    font-size: 1.4rem;*/
/*}*/

/*.otp-subtitle {*/
/*    color: rgba(255,255,255,0.9);*/
/*    font-size: 1rem;*/
/*    margin-bottom: 0;*/
/*    line-height: 1.5;*/
/*}*/

/*.otp-input-container {*/
/*    position: relative;*/
/*    margin-bottom: 25px;*/
/*}*/

/*.otp-input {*/
/*    text-align: center;*/
/*    font-size: 1.6rem;*/
/*    font-weight: 700;*/
/*    letter-spacing: 10px;*/
/*    background: rgba(255,255,255,0.95) !important;*/
/*    border: 3px solid rgba(255,255,255,0.3) !important;*/
/*    border-radius: 16px !important;*/
/*    padding: 20px !important;*/
/*    color: var(--text-dark) !important;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.otp-input:focus {*/
/*    outline: none !important;*/
/*    border-color: var(--white) !important;*/
/*    background: var(--white) !important;*/
/*    box-shadow: 0 0 30px rgba(255,255,255,0.4) !important;*/
/*    transform: translateY(-3px) !important;*/
/*}*/

/*.timer-section {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    margin-bottom: 20px;*/
/*    color: var(--white);*/
/*    position: relative;*/
/*    z-index: 2;*/
/*}*/

/*.timer-icon {*/
/*    margin-right: 10px;*/
/*    animation: pulse 2s infinite;*/
/*}*/

/*.timer-text {*/
/*    font-weight: 500;*/
/*    font-size: 1rem;*/
/*}*/

/*.timer-countdown {*/
/*    color: #ffd700; !* Gold color for timer *!*/
/*    font-weight: 700;*/
/*    font-size: 1.3rem;*/
/*    margin-left: 8px;*/
/*    text-shadow: 0 2px 4px var(--shadow-light);*/
/*}*/

/*.timer-expired {*/
/*    color: #ff6b6b !important; !* Red color for expired timer *!*/
/*    animation: blink 1s infinite;*/
/*}*/

/*@keyframes blink {*/
/*    0%, 50% { opacity: 1; }*/
/*    51%, 100% { opacity: 0.5; }*/
/*}*/

/*.resend-section {*/
/*    text-align: center;*/
/*    position: relative;*/
/*    z-index: 2;*/
/*}*/

/*.resend-otp {*/
/*    background: rgba(255,255,255,0.2);*/
/*    color: var(--white);*/
/*    border: 2px solid rgba(255,255,255,0.3);*/
/*    padding: 12px 30px;*/
/*    border-radius: 30px;*/
/*    font-weight: 600;*/
/*    text-decoration: none;*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    transition: all 0.3s ease;*/
/*    backdrop-filter: blur(10px);*/
/*    cursor: pointer;*/
/*}*/

/*.resend-otp:hover:not(.disabled) {*/
/*    background: rgba(255,255,255,0.3);*/
/*    border-color: var(--white);*/
/*    color: var(--white);*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 8px 25px var(--shadow-light);*/
/*}*/

/*.resend-otp.disabled {*/
/*    opacity: 0.5;*/
/*    cursor: not-allowed;*/
/*    transform: none;*/
/*}*/

/*.success-indicator {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    right: 20px;*/
/*    transform: translateY(-50%);*/
/*    background: #10b981; !* Green color *!*/
/*    color: var(--white);*/
/*    border-radius: 50%;*/
/*    width: 30px;*/
/*    height: 30px;*/
/*    display: none;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    font-size: 14px;*/
/*    animation: checkmark 0.5s ease-in-out;*/
/*}*/

/*@keyframes checkmark {*/
/*    0% { transform: translateY(-50%) scale(0); }*/
/*    50% { transform: translateY(-50%) scale(1.2); }*/
/*    100% { transform: translateY(-50%) scale(1); }*/
/*}*/

/*.btn-primary {*/
/*    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);*/
/*    border: none;*/
/*    border-radius: 16px;*/
/*    padding: 18px;*/
/*    font-size: 1.1rem;*/
/*    font-weight: 600;*/
/*    text-transform: uppercase;*/
/*    letter-spacing: 1px;*/
/*    transition: all 0.3s ease;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);*/
/*}*/

/*.btn-primary::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: -100%;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);*/
/*    transition: left 0.5s;*/
/*}*/

/*.btn-primary:hover::before {*/
/*    left: 100%;*/
/*}*/

/*.btn-primary:hover {*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);*/
/*}*/

/*.btn-success {*/
/*    background: linear-gradient(135deg, #10b981 0%, #059669 100%);*/
/*    border: none;*/
/*    border-radius: 16px;*/
/*    padding: 18px;*/
/*    font-size: 1.1rem;*/
/*    font-weight: 600;*/
/*    text-transform: uppercase;*/
/*    letter-spacing: 1px;*/
/*    transition: all 0.3s ease;*/
/*    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);*/
/*}*/

/*.btn-success:hover {*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);*/
/*}*/

/*.login-note {*/
/*    background: rgba(102, 126, 234, 0.1);*/
/*    border-left: 4px solid var(--primary-color);*/
/*    border-radius: 8px;*/
/*    padding: 15px 20px;*/
/*    margin: 20px 0;*/
/*    color: var(--primary-color);*/
/*    font-size: 0.9rem;*/
/*    font-weight: 500;*/
/*}*/

/*.divider {*/
/*    position: relative;*/
/*    text-align: center;*/
/*    margin: 30px 0;*/
/*}*/

/*.divider::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 0;*/
/*    right: 0;*/
/*    height: 1px;*/
/*    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);*/
/*}*/

/*.divider span {*/
/*    background: var(--white);*/
/*    padding: 0 20px;*/
/*    color: var(--text-light);*/
/*    font-weight: 500;*/
/*}*/

/*.register-link {*/
/*    text-align: center;*/
/*    margin-top: 20px;*/
/*}*/

/*.register-link a {*/
/*    color: var(--primary-color);*/
/*    font-weight: 600;*/
/*    text-decoration: none;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.register-link a:hover {*/
/*    color: var(--secondary-color);*/
/*    text-decoration: underline;*/
/*}*/

/*!* Alert Styles *!*/
/*.alert {*/
/*    border-radius: 12px;*/
/*    border: none;*/
/*    padding: 20px;*/
/*    margin-bottom: 20px;*/
/*    backdrop-filter: blur(10px);*/
/*}*/

/*.alert-danger {*/
/*    background: rgba(239, 68, 68, 0.1);*/
/*    border-left: 4px solid #ef4444;*/
/*    color: #dc2626;*/
/*}*/

/*.alert-info {*/
/*    background: rgba(59, 130, 246, 0.1);*/
/*    border-left: 4px solid #3b82f6;*/
/*    color: #1d4ed8;*/
/*}*/

/*!* Mobile Responsiveness *!*/
/*@media (max-width: 768px) {*/
/*    .main-card {*/
/*        margin: 10px;*/
/*        border-radius: 20px;*/
/*    }*/

/*    .login-section {*/
/*        padding: 40px 30px;*/
/*    }*/

/*    .illustration-section {*/
/*        padding: 40px 30px;*/
/*    }*/

/*    !*.login-title {*!*/
/*    !*    font-size: 15px;*!*/
/*    !*}*!*/

/*    .welcome-text {*/
/*        font-size: 1.5rem;*/
/*    }*/

/*    .otp-input {*/
/*        font-size: 1.3rem !important;*/
/*        letter-spacing: 6px !important;*/
/*    }*/
/*}*/

/*!* Loading Animation *!*/
/*.loading-overlay {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background: rgba(255, 255, 255, 0.8);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    z-index: 1050; !* Above modals *!*/
/*    border-radius: 24px;*/
/*    opacity: 0;*/
/*    visibility: hidden;*/
/*    transition: opacity 0.3s ease, visibility 0.3s ease;*/
/*}*/

/*.loading-overlay.show {*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*}*/

/*.spinner-border {*/
/*    width: 3rem;*/
/*    height: 3rem;*/
/*    color: var(--primary-color);*/
/*}*/


:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: rgba(247, 250, 252, 0.8);
    --border-light: rgba(226, 232, 240, 0.8);
    --white: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

/* Animated background particles */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 120px;
    height: 120px;
    left: 20%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 70%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 60px;
    height: 60px;
    left: 80%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    width: 140px;
    height: 140px;
    left: 50%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.login-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.main-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-light);
    max-width: 1000px;
    width: 100%;
    min-height: 550px;
    position: relative;
}

.illustration-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 30px;
    position: relative;
}

.illustration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.logo-container {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.logo-icon {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 8px 15px var(--shadow-light);
}

.welcome-text {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 4px 8px var(--shadow-light);
}

.welcome-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}

.login-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.4;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 400;
}

.form-floating {
    position: relative;
    margin-bottom: 15px;
}

.form-floating input {
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: calc(3rem + 2px);
}

.form-floating input:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-floating label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 0.9rem;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.forgot-password a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.captcha-container {
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.captcha-container:focus-within {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.captcha-input {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.captcha-input:focus {
    box-shadow: none !important;
    transform: none !important;
}

.captcha-code {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 10px;
    padding: 12px 15px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px var(--shadow-light);
    min-width: 110px;
    text-align: center;
    user-select: none;
}

.refresh-captcha {
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 6px;
}

.refresh-captcha:hover {
    color: var(--secondary-color);
    background: rgba(102, 126, 234, 0.1);
    transform: rotate(180deg);
}

.otp-section {
    display: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 18px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.otp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.otp-section.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-25px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.otp-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.otp-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    backdrop-filter: blur(10px);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.otp-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.otp-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.otp-input-container {
    position: relative;
    margin-bottom: 20px;
}

.otp-input {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 8px;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 14px !important;
    padding: 15px !important;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
}

.otp-input:focus {
    outline: none !important;
    border-color: var(--white) !important;
    background: var(--white) !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-3px) !important;
}

.timer-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.timer-icon {
    margin-right: 8px;
    animation: pulse 2s infinite;
    font-size: 0.9rem;
}

.timer-text {
    font-weight: 500;
    font-size: 0.9rem;
}

.timer-countdown {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.1rem;
    margin-left: 6px;
    text-shadow: 0 2px 4px var(--shadow-light);
}

.timer-expired {
    color: #ff6b6b !important;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.5;
    }
}

.resend-section {
    text-align: center;
    position: relative;
    z-index: 2;
}

.resend-otp {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.resend-otp:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-light);
}

.resend-otp.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.success-indicator {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: #10b981;
    color: var(--white);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    animation: checkmark 0.5s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: translateY(-50%) scale(0);
    }
    50% {
        transform: translateY(-50%) scale(1.2);
    }
    100% {
        transform: translateY(-50%) scale(1);
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

.login-note {
    background: rgba(102, 126, 234, 0.1);
    border-left: 3px solid var(--primary-color);
    border-radius: 6px;
    padding: 12px 15px;
    margin: 15px 0;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.divider span {
    background: var(--white);
    padding: 0 15px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

.register-link {
    text-align: center;
    margin-top: 15px;
}

.register-link a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.register-link a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
    padding: 15px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    color: #dc2626;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    color: #1d4ed8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-card {
        margin: 8px;
        border-radius: 18px;
        min-height: auto;
    }

    .login-section {
        padding: 30px 25px;
    }

    .illustration-section {
        padding: 30px 25px;
    }

    .welcome-text {
        font-size: 1.4rem;
    }

    .login-title {
        font-size: 1.3rem;
    }

    .otp-input {
        font-size: 1.2rem !important;
        letter-spacing: 6px !important;
        padding: 12px !important;
    }

    .logo-icon {
        font-size: 3rem;
    }
}

/* Loading Animation */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner-border {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-color);
}