/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #030712;
}

.auth-card {
    width: 100%;
    max-width: 28rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--slate-800);
    border-radius: 1.5rem;
    padding: 2rem;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.auth-logo-img {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

.auth-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1rem;
    color: var(--slate-400);
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-300);
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    width: 1.25rem;
    height: 1.25rem;
    stroke: var(--slate-400);
    stroke-width: 2;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-input::placeholder {
    color: var(--slate-500);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--slate-400);
    transition: color 0.3s;
}

.password-toggle:hover {
    color: var(--slate-300);
}

.form-footer {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--blue-400);
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: var(--blue-300);
}

.btn-submit {
    width: 100%;
    padding: 0.875rem;
    background: var(--blue-500);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--blue-600);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--slate-500);
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--slate-800);
}

.social-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: transparent;
    border: 1px solid var(--slate-800);
    border-radius: 0.75rem;
    color: var(--slate-300);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-social:hover {
    border-color: var(--slate-700);
    background: rgba(255, 255, 255, 0.05);
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.auth-bottom {
    text-align: center;
    color: var(--slate-400);
    font-size: 0.875rem;
}

.auth-link {
    color: var(--blue-400);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.auth-link:hover {
    color: var(--blue-300);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: white;
}

.back-icon {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 2;
}

.success-state {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    stroke: var(--blue-500);
    stroke-width: 2;
}

/* ========== MOBILE RESPONSIVENESS ========== */

@media (max-width: 768px) {
    .auth-page {
        padding: 1rem;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-subtitle {
        font-size: 0.875rem;
    }

    .auth-logo-img {
        height: 2.5rem;
    }
}

@media (max-width: 480px) {
    .auth-page {
        padding: 0.75rem;
    }

    .auth-card {
        padding: 1.25rem;
    }

    .auth-title {
        font-size: 1.25rem;
    }

    .form-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}
