/* ==========================================================================
   CRM AlphaMasters — CSS de autenticación (login)
   Brand: "Alpha" negro + "Masters" dorado (#F5A623)
   ========================================================================== */

:root {
    --color-bg:          #f5f5f7;
    --color-surface:     #ffffff;
    --color-text:        #1d1d1f;
    --color-text-muted:  #6e6e73;
    --color-border:      #d2d2d7;

    --color-brand:       #F5A623;
    --color-brand-hover: #E09300;
    --color-danger:      #ff3b30;

    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                  "Helvetica Neue", Arial, sans-serif;
    --radius:     8px;
    --shadow-lg:  0 8px 32px rgba(0,0,0,.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 15px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-stack); color: var(--color-text); }

.auth-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: #1d1d1f;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute; top: -40%; right: -20%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,.15) 0%, transparent 70%);
    pointer-events: none;
}
.auth-page::after {
    content: '';
    position: absolute; bottom: -30%; left: -10%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,.08) 0%, transparent 70%);
    pointer-events: none;
}

.auth-wrapper {
    width: 100%; max-width: 400px;
    position: relative; z-index: 1;
}

.auth-card {
    background: var(--color-surface);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 40px 32px;
    border-top: 3px solid var(--color-brand);
}

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

.auth-card__logo {
    height: 36px; width: auto;
    margin-bottom: 16px;
}

.auth-card__subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* ─── Forms ─── */
.form__row { margin-bottom: 16px; }
.form__row--inline { display: flex; align-items: center; }
.form__label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; }
.form__input {
    display: block; width: 100%;
    padding: 10px 14px; border: 1px solid var(--color-border);
    border-radius: var(--radius); font-family: var(--font-stack);
    font-size: 15px; background: var(--color-surface);
    transition: border-color .15s, box-shadow .15s;
}
.form__input:focus {
    outline: none; border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(245,166,35,.2);
}
.form__row--has-error .form__input { border-color: var(--color-danger); }
.form__err { margin-top: 4px; font-size: 13px; color: var(--color-danger); }
.form__check { display: flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }

/* ─── Button ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px; border: none; border-radius: var(--radius);
    font-family: var(--font-stack); font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all .15s; text-decoration: none;
}
.btn--primary {
    background: var(--color-brand); color: #1d1d1f;
}
.btn--primary:hover {
    background: var(--color-brand-hover); color: #000;
}
.btn--full { width: 100%; margin-top: 8px; }

/* ─── Footer ─── */
.auth-footer {
    text-align: center; margin-top: 24px;
    font-size: 12px; color: rgba(255,255,255,.3);
}
