/* =========================================================
   BrocManager — style.auth.css
   Généré depuis style.css (organisation/split) — sans changement intentionnel du rendu
   Date: 2025-12-21
   =========================================================
   CONTENU:
 * - AUTH / LOGIN (BrocManager)
 * - LOGIN — mobile allégé (desktop inchangé)
   ========================================================= */

/* =========================================================
   AUTH / LOGIN (BrocManager)
   - Scopé via .auth-page et classes auth-*
   ========================================================= */

.auth-page {
    min-height: 100vh;
    background: var(--bm-menu-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

@media (min-width: 768px) {
    .auth-page { padding: 40px 20px; }
}

.auth-shell {
    width: 100%;
    max-width: 980px;
}

.auth-card {
    overflow: hidden;
    border-radius: var(--bm-radius-2xl, 18px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: var(--bm-bg-dark-alt);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .auth-grid { grid-template-columns: 1fr 1fr; }
}

.auth-left,
.auth-right {
    padding: 20px;
    
}

@media (min-width: 768px) {
    .auth-left,
    .auth-right { padding: 36px; }
}

.auth-right {
    background: var(--bm-menu-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

@media (min-width: 768px) {
    .auth-right {
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.10);
    }
}

/* Centrage propre du bloc "Focus du jour" (desktop uniquement) */
@media (min-width: 768px) {
  .auth-right{
    display: flex;
    flex-direction: column;     /* <- essentiel : empile kicker + h2 + p */
    justify-content: center;    /* centre verticalement dans la colonne */
    align-items: center;        /* centre horizontalement le "bloc" */
    gap: 12px;
  }

  /* On centre le groupe, mais on garde le texte aligné à gauche */
  .auth-right .auth-kicker,
  .auth-right .auth-h2,
  .auth-right .auth-callout{
    width: 100%;
    max-width: 520px;
    text-align: left;
    margin: 0;                  /* évite des marges parasites */
  }
}


/* Brand */
.auth-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    min-width: 0;
}

.auth-logo {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
}

.auth-brand-text {
    min-width: 0;
}

.auth-brand-title {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1.1;
    color: rgb(255, 255, 255);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auth-brand-subtitle {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.55);
}

/* Headings & text */
.auth-h1 {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

@media (min-width: 768px) {
    .auth-h1 { font-size: 26px; }
}

.auth-lead {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

.auth-divider {
    margin: 18px 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.10);
}

/* Alert */
.auth-alert {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: var(--bm-radius-lg, 12px);
    border: 1px solid rgba(244, 63, 94, 0.35);
    background: rgba(244, 63, 94, 0.12);
    color: rgba(255, 213, 220, 0.95);
    font-size: 13px;
}

.auth-alert-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.auth-alert i[data-lucide] {
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

/* Form */
.auth-form {
    display: grid;
    gap: 12px;
}

.auth-field {
    display: grid;
    gap: 6px;
}

.auth-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
}

.auth-input {
    width: 100%;
    border-radius: var(--bm-radius-md, 10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.2;
    outline: none;
}

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

.auth-input:focus {
    border-color: var(--bm-primary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}

@supports (color: color-mix(in srgb, black, white)) {
    .auth-input:focus {
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--bm-primary) 25%, transparent);
    }
}

.auth-submit {
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--bm-radius-md, 10px);
}

.auth-submit i[data-lucide] {
    width: 18px;
    height: 18px;
}

/* Small trust line */
.auth-trust {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.auth-trust i[data-lucide] {
    width: 16px;
    height: 16px;
}

/* Callout (right) */
.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.auth-kicker i[data-lucide] {
    width: 16px;
    height: 16px;
}

.auth-h2 {
    margin: 12px 0 0;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    color: #ffffff;
}

@media (min-width: 768px) {
    .auth-h2 { font-size: 24px; }
}

.auth-callout {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
}

/* Footer */
.auth-footer {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
}

@media (min-width: 768px) {
    .auth-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
}

.auth-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: center;
}

@media (min-width: 768px) {
    .auth-footer-links { justify-content: flex-start; }
}

/* =========================================================
   LOGIN — mobile allégé (desktop inchangé)
   ========================================================= */
@media (max-width: 767px) {
  .auth-right { display: none !important; }      /* supprime Focus du jour */
  .auth-lead { display: none !important; }       /* supprime le texte d’intro */
  .auth-footer-links { display: none !important; } /* supprime les liens */

  /* footer discret + tout en bas */
  .auth-shell { min-height: 100dvh; display: flex; flex-direction: column; }
  .auth-card { margin-top: auto; margin-bottom: auto; } /* centre la card */
  .auth-footer { margin-top: auto; text-align: center; font-size: 11px; opacity: .6; }
}


.auth-input-wrap{ position: relative; }
.auth-input-icon{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: .7;
  pointer-events: none;
}
.auth-input--icon{ padding-left: 42px; }


