/* assets/css/admin_login.css */

:root{
  --ink: #1c2a3a;
  --muted: rgba(28,42,58,0.72);

  --ivory: #f7f5f0;
  --panel: rgba(255,255,255,0.86);

  --line: rgba(28,42,58,0.14);
  --line2: rgba(28,42,58,0.20);

  --gold: #c8a45d;

  --shadow: 0 18px 52px rgba(16,22,28,0.12);
  --shadow2: 0 10px 26px rgba(16,22,28,0.10);

  --r: 18px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }

body{
  margin: 0;
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 12% 18%, rgba(28,42,58,0.12), transparent 62%),
    radial-gradient(820px 520px at 86% 18%, rgba(200,164,93,0.12), transparent 60%),
    radial-gradient(820px 520px at 55% 92%, rgba(181,106,74,0.09), transparent 60%),
    linear-gradient(180deg, #fbfaf7, var(--ivory));
}

.al-shell{
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 26px 16px;
}

.al-card{
  width: 100%;
  max-width: 520px;
  border-radius: var(--r);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 20px;
}

.al-top{ margin-bottom: 14px; }

.al-badge{
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(200,164,93,0.28);
  background: rgba(200,164,93,0.14);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.al-title{
  margin: 12px 0 6px 0;
  font-size: 24px;
  font-weight: 760;
  letter-spacing: -0.3px;
}

.al-sub{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14.2px;
}

.al-alert{
  margin: 12px 0 12px 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow2);
  font-size: 13.8px;
  line-height: 1.55;
}

.al-alert-err{
  border-color: rgba(160,40,40,0.22);
  background: rgba(160,40,40,0.10);
}

.al-form{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.al-label{
  font-size: 13px;
  font-weight: 650;
  color: rgba(28,42,58,0.88);
}

.al-input{
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  padding: 12px 12px;
  font-size: 14.2px;
  outline: none;
}

.al-input:focus{
  border-color: rgba(200,164,93,0.45);
  box-shadow: 0 0 0 4px rgba(200,164,93,0.16);
}

.al-pass{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.al-eye{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(28,42,58,0.06);
  color: rgba(28,42,58,0.86);
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow2);
}

.al-eye:hover{
  border-color: var(--line2);
}

.al-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  color: rgba(28,42,58,0.92);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: var(--shadow2);
  text-decoration: none;
  margin-top: 6px;
}

.al-btn:hover{
  border-color: var(--line2);
}

.al-btn-primary{
  border-color: rgba(200,164,93,0.30);
  background: rgba(200,164,93,0.16);
}

.al-links{
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.al-link{
  color: rgba(28,42,58,0.78);
  text-decoration: none;
  font-weight: 650;
  font-size: 13.5px;
}

.al-link:hover{
  text-decoration: underline;
}

.al-foot{
  margin-top: 12px;
  border-top: 1px solid rgba(28,42,58,0.10);
  padding-top: 12px;
}

.al-footnote{
  text-align: center;
  color: rgba(28,42,58,0.70);
  font-size: 13px;
  line-height: 1.55;
}

.og-header{ display:block !important; position: sticky; top:0; z-index:9999; }
.al-shell{ position: relative !important; z-index: 1; padding-top: 24px; }
