/* Auth Pages Styling */
body.auth-body {
    background-color: #f0f2f5;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-container {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 1000px;
    max-width: 90%;
    min-height: 600px;
    display: flex;
    position: relative;
}

/* Left Side - Visual */
.auth-visual {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, #001f3f 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.auth-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.auth-visual::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.visual-content {
    position: relative;
    z-index: 2;
}

.visual-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: block;
}

.visual-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.visual-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 300px;
    margin: 0 auto;
}

/* Right Side - Form */
.auth-form-side {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #666;
}

/* Floating Input Groups */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    transition: all 0.3s ease;
}

.input-group label {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
    transition: all 0.3s ease;
    background: var(--white);
    padding: 0 5px;
}

/* Input Focus States */
.input-group input:focus,
.input-group input:not(:placeholder-shown) {
    border-color: var(--secondary-color);
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label {
    top: 0;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.input-group input:focus~i {
    color: var(--secondary-color);
}

/* Auth Actions */
.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    cursor: pointer;
}

.forgot-password {
    color: var(--secondary-color);
    font-weight: 500;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 43, 91, 0.2);
}

.auth-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 232, 0.3);
}

.social-auth {
    margin-top: 2rem;
    text-align: center;
}

.social-auth p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    position: relative;
}

.social-auth p::before,
.social-auth p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #eee;
}

.social-auth p::before {
    left: 0;
}

.social-auth p::after {
    right: 0;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.signup-link {
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

.signup-link a {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        height: auto;
        min-height: auto;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-visual {
        display: none;
        /* Hide visual on mobile to keep it fast/clean or reduce size */
    }

    body.auth-body {
        height: auto;
        background: var(--white);
        align-items: flex-start;
    }

    .auth-form-side {
        padding: 30px;
    }
}