/* ==========================================================================
   Flyorix Holidays — Admin Panel
   Shared styles. Brand tokens matched to the public flyorix.com site.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root{
  --fx-bg:        #0b0e0a;   /* deep night-green background, matches flyorix.com */
  --fx-bg-soft:   #12160f;
  --fx-panel:     #ffffff;
  --fx-text:      #252525;   /* body text on light panels */
  --fx-text-soft: #6b6f68;
  --fx-coral:     #e79e9e;   /* primary action color from flyorix.com auth UI */
  --fx-coral-dark:#d98686;
  --fx-lime:      #c8e23c;   /* accent color from flyorix.com */
  --fx-border:    #e7e5e0;
  --fx-danger:    #c0392b;
  --fx-radius-lg: 24px;
  --fx-radius-md: 14px;
  --fx-radius-pill: 999px;
  --fx-shadow: 0 30px 80px -20px rgba(0,0,0,0.55);
}

*{ box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
  min-height:100%;
  font-family:'Poppins', ui-sans-serif, system-ui, sans-serif;
  color:var(--fx-text);
  background:var(--fx-bg);
}

body.fx-page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

a{ color:inherit; }

button{ font-family:inherit; }

/* ---------- brand mark ---------- */
.fx-mark{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:22px;
  letter-spacing:0.2px;
}
.fx-mark .fx-arrow{
  color:var(--fx-lime);
  font-style:normal;
}
.fx-mark small{
  display:block;
  font-size:10px;
  font-weight:500;
  letter-spacing:3px;
  text-transform:uppercase;
  opacity:0.65;
  margin-top:-2px;
}
.fx-mark-dark{ color:#fff; }
.fx-mark-light{ color:#1a1d18; }

.fx-badge{
  display:inline-block;
  font-size:10px;
  font-weight:600;
  letter-spacing:1.5px;
  text-transform:uppercase;
  padding:4px 10px;
  border-radius:var(--fx-radius-pill);
  background:rgba(200,226,60,0.16);
  color:#7c8a1e;
}
.fx-mark-dark + .fx-badge,
.fx-badge.on-dark{
  background:rgba(200,226,60,0.18);
  color:var(--fx-lime);
}

/* ---------- auth screen ---------- */
.fx-auth-bg{
  flex:1;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px 16px;
  overflow:hidden;
  background:
    radial-gradient(1100px 600px at 12% -10%, rgba(200,226,60,0.10), transparent 55%),
    radial-gradient(900px 700px at 110% 10%, rgba(231,158,158,0.14), transparent 50%),
    linear-gradient(180deg, #0d110c 0%, #0b0e0a 55%, #0a0c08 100%);
}
.fx-auth-bg::before,
.fx-auth-bg::after{
  content:"";
  position:absolute;
  border-radius:50%;
  filter:blur(90px);
  opacity:0.35;
  pointer-events:none;
}
.fx-auth-bg::before{
  width:420px; height:420px;
  background:var(--fx-lime);
  top:-160px; left:-140px;
  opacity:0.12;
}
.fx-auth-bg::after{
  width:480px; height:480px;
  background:var(--fx-coral);
  bottom:-200px; right:-160px;
  opacity:0.16;
}

.fx-card{
  position:relative;
  z-index:1;
  width:100%;
  max-width:900px;
  min-height:520px;
  display:grid;
  grid-template-columns:1fr 1fr;
  background:rgba(255,255,255,0.98);
  border-radius:var(--fx-radius-lg);
  box-shadow:var(--fx-shadow);
  overflow:hidden;
}
@media (max-width:760px){
  .fx-card{ grid-template-columns:1fr; max-width:440px; }
  .fx-card-art{ display:none; }
}

.fx-card-form{
  padding:44px 40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.fx-card-art{
  position:relative;
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(200,226,60,0.25), transparent 60%),
    linear-gradient(160deg, #1c2417 0%, #10140c 60%, #05130f 100%);
  padding:40px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  color:#fff;
}
.fx-card-art .fx-tagline{
  font-size:26px;
  line-height:1.25;
  font-weight:600;
  max-width:260px;
}
.fx-card-art .fx-tagline em{
  color:var(--fx-lime);
  font-style:normal;
}
.fx-card-art ul{
  list-style:none;
  margin:0; padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.fx-card-art li{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  opacity:0.85;
}
.fx-card-art li::before{
  content:"";
  width:6px; height:6px;
  border-radius:50%;
  background:var(--fx-coral);
  flex:none;
}

.fx-eyebrow{
  font-size:11px;
  font-weight:600;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--fx-text-soft);
  margin:22px 0 6px;
}
.fx-h1{
  font-size:24px;
  font-weight:600;
  margin:0 0 6px;
  color:#1a1d18;
}
.fx-sub{
  font-size:13px;
  color:var(--fx-text-soft);
  margin:0 0 26px;
}

.fx-field{ margin-bottom:16px; }
.fx-field label{
  display:block;
  font-size:12px;
  font-weight:500;
  color:var(--fx-text-soft);
  margin-bottom:6px;
}
.fx-input-wrap{ position:relative; }
.fx-input{
  width:100%;
  padding:12px 18px;
  border-radius:var(--fx-radius-pill);
  border:1px solid var(--fx-border);
  background:#fafaf8;
  font-size:13px;
  font-family:inherit;
  color:var(--fx-text);
  outline:none;
  transition:border-color .15s ease, background .15s ease;
}
.fx-input:focus{
  border-color:var(--fx-coral);
  background:#fff;
}
.fx-toggle-pw{
  position:absolute;
  right:16px; top:50%;
  transform:translateY(-50%);
  border:none;
  background:none;
  cursor:pointer;
  color:var(--fx-text-soft);
  font-size:13px;
  padding:4px;
}

.fx-row-between{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin:-4px 0 20px;
}
.fx-link{
  font-size:12px;
  color:var(--fx-text-soft);
  text-decoration:underline;
  background:none;
  border:none;
  cursor:pointer;
  font-family:inherit;
  padding:0;
}
.fx-link:hover{ color:var(--fx-coral-dark); }

.fx-btn{
  width:100%;
  padding:13px 20px;
  border-radius:var(--fx-radius-pill);
  border:none;
  font-size:13px;
  font-weight:600;
  letter-spacing:0.3px;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .15s ease, transform .1s ease, opacity .15s ease;
}
.fx-btn:active{ transform:scale(0.99); }
.fx-btn-primary{
  background:var(--fx-coral);
  color:#fff;
}
.fx-btn-primary:hover{ background:var(--fx-coral-dark); }
.fx-btn-primary:disabled{ opacity:0.6; cursor:not-allowed; }
.fx-btn-ghost{
  background:transparent;
  border:1px solid var(--fx-border);
  color:#1a1d18;
}
.fx-btn-ghost:hover{ border-color:var(--fx-coral); }

.fx-back{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:500;
  color:var(--fx-text-soft);
  text-decoration:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:0;
  margin-bottom:4px;
}

.fx-alert{
  font-size:12px;
  padding:10px 14px;
  border-radius:var(--fx-radius-md);
  margin-bottom:16px;
  display:none;
}
.fx-alert.show{ display:block; }
.fx-alert-error{ background:#fdecea; color:var(--fx-danger); }
.fx-alert-success{ background:#eaf7ea; color:#2e7d32; }

.fx-otp-inputs{
  display:flex;
  gap:8px;
  margin-bottom:18px;
}
.fx-otp-inputs input{
  width:100%;
  text-align:center;
  font-size:18px;
  padding:12px 0;
  border-radius:var(--fx-radius-md);
  border:1px solid var(--fx-border);
  background:#fafaf8;
}
.fx-otp-inputs input:focus{
  outline:none;
  border-color:var(--fx-coral);
  background:#fff;
}

.fx-foot-note{
  margin-top:28px;
  font-size:11px;
  color:var(--fx-text-soft);
  text-align:center;
}

/* ---------- dashboard shell ---------- */
.fx-dash{
  min-height:100vh;
  background:#f4f4f1;
}
.fx-topbar{
  background:var(--fx-bg);
  color:#fff;
  padding:16px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.fx-topbar-right{
  display:flex;
  align-items:center;
  gap:18px;
}
.fx-user-chip{
  font-size:12px;
  opacity:0.85;
}
.fx-user-chip strong{ color:#fff; font-weight:600; }

.fx-btn-logout{
  padding:8px 18px;
  border-radius:var(--fx-radius-pill);
  border:1px solid rgba(255,255,255,0.35);
  background:transparent;
  color:#fff;
  font-size:11px;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  cursor:pointer;
  transition:border-color .15s ease, color .15s ease;
}
.fx-btn-logout:hover{ border-color:var(--fx-lime); color:var(--fx-lime); }

.fx-main{
  max-width:1080px;
  margin:0 auto;
  padding:40px 24px 64px;
}
.fx-page-title{
  font-size:26px;
  font-weight:600;
  color:#1a1d18;
  margin:0 0 4px;
}
.fx-page-sub{
  font-size:13px;
  color:var(--fx-text-soft);
  margin:0 0 32px;
}

.fx-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}
@media (max-width:860px){
  .fx-grid{ grid-template-columns:1fr; }
}

.fx-tile{
  background:#fff;
  border-radius:var(--fx-radius-lg);
  padding:26px;
  box-shadow:0 1px 3px rgba(0,0,0,0.04), 0 12px 30px -18px rgba(0,0,0,0.12);
  display:flex;
  flex-direction:column;
  gap:14px;
  position:relative;
  overflow:hidden;
}
.fx-tile-icon{
  width:44px; height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}
.fx-tile-icon.customers{ background:rgba(231,158,158,0.18); }
.fx-tile-icon.team{ background:rgba(200,226,60,0.22); }
.fx-tile-icon.agents{ background:rgba(37,37,37,0.06); }

.fx-tile h3{
  margin:0;
  font-size:16px;
  font-weight:600;
  color:#1a1d18;
}
.fx-tile p{
  margin:0;
  font-size:12.5px;
  color:var(--fx-text-soft);
  line-height:1.5;
  flex:1;
}
.fx-tile-count{
  font-size:32px;
  font-weight:700;
  color:#1a1d18;
  line-height:1;
}
.fx-tile-count .fx-skel{
  display:inline-block;
  width:38px; height:26px;
  border-radius:6px;
  background:linear-gradient(90deg,#eee,#f6f6f4,#eee);
  background-size:200% 100%;
  animation:fx-shimmer 1.2s infinite;
  vertical-align:middle;
}
@keyframes fx-shimmer{
  0%{ background-position:200% 0; }
  100%{ background-position:-200% 0; }
}

.fx-tile-cta{
  align-self:flex-start;
  font-size:11px;
  font-weight:600;
  letter-spacing:0.6px;
  text-transform:uppercase;
  padding:8px 16px;
  border-radius:var(--fx-radius-pill);
  border:1px solid var(--fx-border);
  color:var(--fx-text-soft);
  cursor:not-allowed;
}
.fx-tile.disabled{ opacity:0.75; }
.fx-soon{
  position:absolute;
  top:18px; right:18px;
  font-size:9.5px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:4px 9px;
  border-radius:var(--fx-radius-pill);
  background:#1a1d18;
  color:#fff;
}

.fx-loading-screen{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--fx-bg);
  color:#fff;
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  opacity:0.7;
}
