/* =====================================================================
   LivAsta Auth — login screen (LIGHT theme): divider, social, terms
   ===================================================================== */

.login-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    color: var(--login-faint);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

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

.social-login-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    border: 1.5px solid var(--login-border);
    color: var(--login-ink);
    font-size: 0.97rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-social:hover {
    background: var(--login-field);
    border-color: var(--login-border-strong);
    transform: translateY(-1px);
}

.btn-social i,
.btn-social svg { font-size: 1.2rem; flex-shrink: 0; }

/* Terms / legal copy + inline links (shared with signup screen) */
.login-terms {
    margin-top: 22px;
    padding: 0 8px;
    text-align: center;
    font-size: 0.68rem;
    line-height: 1.6;
    color: var(--login-faint);
}

.login-link {
    color: var(--login-primary);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.login-link:hover { color: var(--login-primary-dark); }

/* ============================================================
   Login method toggle (Email / WhatsApp) + phone input
   ============================================================ */
.login-method-toggle {
  display: flex; gap: 6px; background: #F1F3F9; border-radius: 999px;
  padding: 5px; margin-bottom: 16px;
}
.login-method-tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 0; background: transparent; cursor: pointer;
  padding: 9px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: #6B7280; transition: all .18s;
}
.login-method-tab i { font-size: 15px; }
.login-method-tab.is-active { background: #fff; color: #111827; box-shadow: 0 2px 8px -3px rgba(0,0,0,.25); }
.login-method-tab[data-method="phone"].is-active { color: #128C3E; }

/* phone row: country code + number */
.login-phone-row { display: flex; align-items: stretch; gap: 8px; }
.login-cc { position: relative; flex: 0 0 auto; }
.login-cc select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; font-size: 16px;   /* 16px = no iOS zoom */
}
.login-cc__face {
  display: flex; align-items: center; gap: 6px; height: 100%;
  padding: 0 12px; border: 1.5px solid #E3E6EF; border-radius: 12px;
  background: #F7F8FC; font-size: 14px; font-weight: 700; color: #111827; white-space: nowrap;
}
.login-cc__face i { font-size: 10px; color: #9AA1B2; }
.login-cc select:focus + .login-cc__face { border-color: #128C3E; }
.login-phone-input { flex: 1; }

.login-phone-hint {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 7px;
}
.login-phone-hint li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; color: #6B7280; line-height: 1.45;
}
.login-phone-hint li i { color: #128C3E; margin-top: 2px; flex: 0 0 auto; }
