/* Auth Pages Styling */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 60px;
    width: 100%;
    max-width: 550px;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    animation: authFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(92, 168, 158, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: -1;
}

@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-title {
    font-family: "Playfair", serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
    text-align: center;
}

.auth-subtitle {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 40px;
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form label {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    padding-left: 5px;
}

.auth-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 18px 22px;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-teal);
    box-shadow: 0 0 25px rgba(92, 168, 158, 0.3);
    transform: translateY(-2px);
}

.auth-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.auth-btn {
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    border: none;
    background: linear-gradient(90deg, #5ca89e 0%, #3a7a72 100%);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(92, 168, 158, 0.3);
    background: linear-gradient(90deg, #6bb9af 0%, #4a8c83 100%);
}

.auth-btn:active {
    transform: translateY(-1px);
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.auth-link {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.forgot-link {
    display: block;
    text-align: right;
    font-size: 13px;
    margin-top: -15px;
    margin-bottom: 25px;
}

/* Password eye icon toggle (if needed) */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #fff;
}

/* Social Login divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: rgba(255, 255, 255, 0.2);
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    padding: 0 15px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-social-btn {
    width: 100%;
    padding: 15px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.auth-social-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.auth-social-btn svg {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .auth-card {
        padding: 35px 25px;
    }
    .auth-title {
        font-size: 32px;
    }
}
