/* -----------------------------------
   FALCON ARENA — GLOBAL STYLING
------------------------------------ */

:root {
  --bg: #0b0b0b;
  --panel: #111;
  --primary: #ff4f83;
  --white: #ffffff;
  --muted: #bbbbbb;
  --slot-bg: #1a1a1a;
  --slot-selected: #ff4f83;
  --slot-disabled: #333;
  --border: rgba(255,255,255,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Poppins", sans-serif; }
body { background: var(--bg); color: var(--white); padding: 20px; }

/* wrapper */
.wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; max-width: 1100px; margin: auto; }

/* hero */
.hero h1 { font-size: 26px; font-weight: 700; }
.sub { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* panels */
.panel, .summary-panel { background: var(--panel); padding: 20px; border-radius: 12px; border: 1px solid var(--border); }
.summary-panel h3 { margin-bottom: 10px; font-size: 20px; }

/* inputs & selects */
input, select { width: 100%; padding: 10px 12px; margin-top: 6px; border: 1px solid #333; border-radius: 8px; background: #1a1a1a; color: var(--white); outline: none; font-size: 14px; }
input:focus, select:focus { border-color: var(--primary); }

/* buttons */
.btn, button { width: 100%; padding: 12px; background: var(--primary); color: #000; border: none; border-radius: 8px; margin-top: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: 0.2s ease; }
.btn:hover { opacity: 0.85; }
.btn.small { width: auto; padding: 6px 10px; font-size: 13px; border-radius: 6px; }

/* file preview */
.file-preview { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* rows */
.row { display: flex; gap: 12px; }
.col { flex: 1; }

/* slots grid */
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.slot { padding: 10px 0; text-align: center; border-radius: 8px; background: var(--slot-bg); cursor: pointer; font-size: 13px; border: 1px solid transparent; transition: 0.15s; color:#fff }
.slot:hover { border-color: var(--primary); }
.slot.selected { background: var(--slot-selected); color: #000; font-weight: 600; }
.slot.disabled { background: var(--slot-disabled); color: #666; cursor: not-allowed; }

/* payment box */
.info-box { background: #151515; border: 1px solid var(--border); padding: 10px; border-radius: 8px; }
#paymentLogo img { height: 32px; }

/* admin table */
.table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.table th, .table td { padding: 10px; border-bottom: 1px solid var(--border); font-size: 14px; }
.table th { color: var(--primary); font-weight: 600; }

/* tabs */
.tabs { display:flex; gap:12px; margin:20px 0; }
.tab { padding:10px 16px; background:#222; border-radius:8px; cursor:pointer; font-size:14px; }
.tab.active { background: var(--primary); color: #000; font-weight:700; }

/* reusable small */
.btn-small { padding:6px 8px; font-size:12px; background:var(--primary); border-radius:6px; cursor:pointer; }

/* Make date input fully clickable */
input[type="date"] {
  position: relative;
  cursor: pointer;
}

/* Make the calendar icon white */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 1;
}


/* responsive */
@media (max-width: 850px) {
  .wrap { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(3,1fr); }
  .slot { font-size:12px; padding:8px; }
}

/* Mobile fix for hours grid */
@media(max-width: 600px) {

  #slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .slot {
    padding: 10px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 14px;
    text-align: center;
    min-height: 58px; /* keeps height equal */
  }

  .slot span {
    display: block;
    margin-top: 2px;
  }
}

/* Mobile layout improvements */
@media (max-width: 600px) {

  .hero h1 {
    font-size: 20px;
    line-height: 24px;
  }

  .sub {
    font-size: 12px;
  }

  label {
    font-size: 13px;
  }

  input,
  select {
    padding: 8px 10px;
    font-size: 13px;
  }

  .panel,
  .summary-panel {
    padding: 16px;
  }
}
/* Perfect slot layout on small screens */
@media(max-width: 600px) {

  #slots {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
  }

  .slot img {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
  }
}

