/* Authentication Page Styles - WantSame */

:root {
    --auth-bg-gradient: linear-gradient(135deg, #115E59 0%, #0F766E 50%, #14B8A6 100%);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: blur(25px);
    --teal-primary: #14B8A6;
    --blue-btn: #3B82F6;
}

.auth-page {
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: var(--auth-bg-gradient);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Background Shapes for extra depth */
.auth-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}
.shape-1 {
    width: 300px; height: 300px;
    background: var(--blue);
    top: -100px; right: -100px;
    opacity: 0.3;
}
.shape-2 {
    width: 400px; height: 400px;
    background: var(--teal);
    bottom: -150px; left: -150px;
    opacity: 0.2;
}

.auth-container {
    width: 100%;
    max-width: 750px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
    color: white;
}

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

.auth-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #00C9A7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

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

.auth-form .form-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.auth-form .form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2);
}

.auth-form .auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.auth-form .forgot-link {
    color: var(--teal-light);
    font-weight: 600;
    transition: 0.3s;
}

.auth-form .forgot-link:hover {
    color: white;
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(26, 107, 255, 0.5);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 32px 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.auth-divider span {
    padding: 0 15px;
}

.social-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.auth-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.auth-footer a {
    color: var(--teal-light);
    font-weight: 700;
}

/* OTP Specific Styles */
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.otp-input {
    width: 50px;
    height: 60px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    transition: 0.3s;
}

.otp-input:focus {
    outline: none;
    border-color: var(--blue-light);
    background: rgba(255, 255, 255, 0.12);
}

.resend-text {
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.resend-link {
    color: var(--teal-light);
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 480px) {
    .auth-container {
        padding: 32px 24px;
    }
}
