/**
 * Auth pages styles (login, forgot-password, reset-password)
 * Fichier: public/assets/css/pages/auth.css
 * Source: extrait de resources/views/auth/web-login.blade.php <style>
 *
 * Note: les pages auth n'utilisent pas layouts/app.blade.php.
 * Ce fichier centralise les styles propres a ces pages.
 */

/* ── Background mesh ────────────────────────────────────────────── */
body.auth-body {
    font-family: 'Inter', sans-serif;
}

.bg-mesh {
    background-color: #fafafa;
    background-image:
        radial-gradient(at 20% 10%, rgba(233, 122, 41, 0.08) 0px, transparent 50%),
        radial-gradient(at 80% 80%, rgba(147, 112, 219, 0.07) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(99, 179, 237, 0.05) 0px, transparent 60%);
}

/* ── Glass card ─────────────────────────────────────────────────── */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ── Tab switcher ───────────────────────────────────────────────── */
.tab-btn {
    flex: 1;
    padding: .55rem .75rem;
    border-radius: 8px;
    font-size: .83rem;
    font-weight: 600;
    transition: all .2s;
    color: #6b7280;
    background: transparent;
}

.tab-btn.active {
    background: white;
    color: #e97a29;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
}

/* ── Form fields ────────────────────────────────────────────────── */
.field-input {
    width: 100%;
    padding: .65rem .95rem .65rem 2.6rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: .9rem;
    color: #111827;
    outline: none;
    background: #f9fafb;
    transition: all .2s;
}

.field-input:focus {
    border-color: #e97a29;
    background: white;
    box-shadow: 0 0 0 3px rgba(233, 122, 41, .12);
}

.field-input.error {
    border-color: #ef4444;
    background: #fff5f5;
}

.field-icon {
    position: absolute;
    left: .8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: .9rem;
    pointer-events: none;
}

/* ── Primary button ─────────────────────────────────────────────── */
.btn-primary {
    width: 100%;
    padding: .7rem;
    background: linear-gradient(135deg, #e97a29, #c96818);
    color: white;
    font-weight: 700;
    font-size: .9rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .01em;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(233, 122, 41, .35);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ── Floating decorative orbs ───────────────────────────────────── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .35;
    pointer-events: none;
    z-index: 0;
}
