/* Login Page Styles */
.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, #f5f9f9 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.login-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 225, 87, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.login-section::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 168, 168, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.login-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(212, 225, 87, 0.2);
    transition: var(--transition);
}

.login-card:hover {
    box-shadow: 0 25px 50px -12px rgba(44, 74, 74, 0.15);
    transform: translateY(-2px);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 225, 87, 0.1);
}

/* OTP Input Styles */
.otp-input-group {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.otp-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    transition: var(--transition);
    padding: 0;
}

.otp-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 225, 87, 0.2);
}

.otp-input:valid {
    border-color: var(--secondary-color);
}

/* Button Loader */
.btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    animation: rotate 2s linear infinite;
    width: 24px;
    height: 24px;
}

.spinner .path {
    stroke: currentColor;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.success-circle {
    stroke: var(--secondary-color);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-linecap: round;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-check {
    stroke: var(--secondary-color);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.success-message h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.success-message p {
    color: var(--text-secondary);
}

/* Error Message */
.error-message {
    padding: 1rem;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: var(--border-radius);
    color: #c33;
    text-align: center;
    font-weight: 500;
    margin-top: 1rem;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Info Card */
.info-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 3rem;
    border-radius: var(--border-radius);
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.info-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: glow-pulse 8s ease-in-out infinite;
}

.info-glow.glow-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 225, 87, 0.3) 0%, transparent 70%);
    top: -20%;
    right: -20%;
}

.info-glow.glow-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(232, 241, 114, 0.2) 0%, transparent 70%);
    bottom: -15%;
    left: -15%;
    animation-delay: 4s;
}

.breathing-circle-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

.circle-outer-small,
.circle-middle-small,
.circle-inner-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: vibrant-breathe 4s ease-in-out infinite;
}

.circle-outer-small {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 225, 87, 0.15) 0%, transparent 70%);
    animation-delay: 0s;
}

.circle-middle-small {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(232, 241, 114, 0.2) 0%, transparent 70%);
    animation-delay: 0.5s;
}

.circle-inner-small {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(212, 225, 87, 0.25) 0%, transparent 70%);
    animation-delay: 1s;
}

.info-card h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
}

.info-list li svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .login-card {
        padding: 2rem;
    }

    .info-card {
        order: -1;
        padding: 2rem;
    }

    .info-card h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .info-list {
        gap: 1rem;
    }

    .info-list li {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .login-section {
        padding: 100px 20px 40px;
    }

    .login-card {
        padding: 1.5rem;
    }

    .login-header h1 {
        font-size: 1.75rem;
    }

    .login-header p {
        font-size: 0.9rem;
    }

    .otp-input-group {
        gap: 0.5rem;
    }

    .otp-input {
        width: 45px;
        height: 55px;
        font-size: 1.25rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-card h2 {
        font-size: 1.35rem;
        margin-bottom: 1.25rem;
    }

    .info-list li {
        font-size: 0.95rem;
    }

    .info-list li svg {
        width: 20px;
        height: 20px;
    }
}



