/* Authentication Pages Styles */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Syncing Wave Animations */
.auth-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 45%;
    animation: wave-sync 10s ease-in-out infinite;
}

.wave-1 {
    top: -50%;
    left: -50%;
    animation: wave-sync 8s ease-in-out infinite, wave-color-1 15s ease-in-out infinite;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.28) 0%, transparent 65%);
}

.wave-2 {
    top: -30%;
    left: -30%;
    animation: wave-sync 10s ease-in-out infinite, wave-color-2 18s ease-in-out infinite;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
}

.wave-3 {
    top: -40%;
    left: -40%;
    animation: wave-sync 12s ease-in-out infinite, wave-color-3 20s ease-in-out infinite;
    background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.22) 0%, transparent 68%);
}

.wave-4 {
    top: -60%;
    left: -20%;
    animation: wave-sync 9s ease-in-out infinite, wave-color-4 16s ease-in-out infinite;
    background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.26) 0%, transparent 72%);
}

.wave-5 {
    top: -35%;
    left: -55%;
    animation: wave-sync 14s ease-in-out infinite, wave-color-5 22s ease-in-out infinite;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.24) 0%, transparent 66%);
}

.wave-6 {
    top: -45%;
    left: -35%;
    animation: wave-sync 11s ease-in-out infinite, wave-color-6 19s ease-in-out infinite;
    background: radial-gradient(ellipse at center, rgba(196, 181, 253, 0.23) 0%, transparent 69%);
}

@keyframes wave-color-1 {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    25% {
        filter: hue-rotate(60deg) brightness(1.1);
    }
    50% {
        filter: hue-rotate(120deg) brightness(1);
    }
    75% {
        filter: hue-rotate(180deg) brightness(1.1);
    }
}

@keyframes wave-color-2 {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    33% {
        filter: hue-rotate(90deg) brightness(1.1);
    }
    66% {
        filter: hue-rotate(180deg) brightness(1);
    }
}

@keyframes wave-color-3 {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    25% {
        filter: hue-rotate(-60deg) brightness(1.1);
    }
    50% {
        filter: hue-rotate(-120deg) brightness(1);
    }
    75% {
        filter: hue-rotate(-180deg) brightness(1.1);
    }
}

@keyframes wave-color-4 {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    50% {
        filter: hue-rotate(150deg) brightness(1.1);
    }
}

@keyframes wave-color-5 {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    33% {
        filter: hue-rotate(-90deg) brightness(1.1);
    }
    66% {
        filter: hue-rotate(-180deg) brightness(1);
    }
}

@keyframes wave-color-6 {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    25% {
        filter: hue-rotate(45deg) brightness(1.1);
    }
    50% {
        filter: hue-rotate(135deg) brightness(1);
    }
    75% {
        filter: hue-rotate(225deg) brightness(1.1);
    }
}

@keyframes wave-sync {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(5%, 5%) rotate(5deg);
    }
    50% {
        transform: translate(10%, -5%) rotate(10deg);
    }
    75% {
        transform: translate(5%, -10%) rotate(5deg);
    }
}

.auth-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.auth-logo-image {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.auth-logo h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.auth-logo p {
    color: #64748b;
    font-size: 14px;
}

.auth-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 24px;
}

.auth-links {
    text-align: center;
    margin-top: 16px;
}

.auth-links a {
    color: #2563eb;
    font-size: 14px;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-form {
    margin-bottom: 24px;
}

.auth-form .form-group:last-child {
    margin-bottom: 24px;
}

.auth-footer {
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.auth-footer a {
    color: #2563eb;
    font-weight: 500;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #64748b;
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e2e8f0;
}

.auth-divider::before {
    margin-right: 12px;
}

.auth-divider::after {
    margin-left: 12px;
}

.btn-auth {
    width: 100%;
    padding: 12px;
    font-size: 15px;
}

.form-text {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}
