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


:root {

  --bg:
    #0d0f12;

  --bg-soft:
    #111419;

  --panel:
    #15181e;

  --panel-hover:
    #191d24;

  --border:
    #252a33;

  --border-soft:
    #1e232b;

  --text:
    #f1f3f5;

  --text-soft:
    #9da4af;

  --muted:
    #707783;

  --gold:
    #d7aa58;

  --gold-soft:
    #b98b3e;

  --green:
    #62c79a;

  --red:
    #e77777;

  --blue:
    #668edb;

  --shadow:
    0 20px 50px rgba(
      0,
      0,
      0,
      .28
    );

}


html,
body {

  min-height: 100%;

}


body {

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background:
    var(--bg);

  color:
    var(--text);

}


a {

  color:
    inherit;

  text-decoration:
    none;

}


button,
input,
textarea,
select {

  font:
    inherit;

}


button {

  cursor:
    pointer;

}


/* ========================================
   LOGIN
======================================== */

.login-body {

  min-height:
    100vh;

  overflow:
    hidden;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(215,170,88,.07),
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(102,142,219,.06),
      transparent 35%
    ),
    var(--bg);

}


.login-bg {

  position:
    fixed;

  inset:
    0;

  pointer-events:
    none;

  background:
    linear-gradient(
      120deg,
      transparent 0%,
      rgba(255,255,255,.015) 50%,
      transparent 100%
    );

}


.login-wrapper {

  min-height:
    100vh;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    24px;

}


.login-card {

  width:
    min(430px, 100%);

  background:
    rgba(21,24,30,.94);

  border:
    1px solid var(--border);

  border-radius:
    22px;

  padding:
    38px;

  box-shadow:
    var(--shadow);

}


.brand-center {

  text-align:
    center;

  margin-bottom:
    34px;

}


.brand-mark {

  width:
    52px;

  height:
    52px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    15px;

  background:
    linear-gradient(
      145deg,
      #e0b969,
      #9d7130
    );

  color:
    #17130c;

  font-weight:
    900;

  font-size:
    24px;

  box-shadow:
    0 10px 30px
    rgba(215,170,88,.18);

}


.brand-mark.small {

  width:
    38px;

  height:
    38px;

  min-width:
    38px;

  border-radius:
    11px;

  font-size:
    18px;

}


.brand-center h1 {

  margin-top:
    16px;

  font-size:
    25px;

  letter-spacing:
    4px;

}


.brand-center span {

  color:
    var(--gold);

  font-size:
    10px;

  letter-spacing:
    4px;

}


.login-heading {

  margin-bottom:
    25px;

}


.login-heading h2 {

  font-size:
    22px;

  margin-bottom:
    7px;

}


.login-heading p {

  color:
    var(--text-soft);

  font-size:
    13px;

}


label {

  display:
    block;

  margin:
    16px 0 8px;

  color:
    #c9ced5;

  font-size:
    13px;

  font-weight:
    600;

}


.input-box {

  display:
    flex;

  align-items:
    center;

  gap:
    10px;

  height:
    48px;

  padding:
    0 14px;

  background:
    #101318;

  border:
    1px solid var(--border);

  border-radius:
    12px;

}


.input-box span {

  color:
    var(--muted);

}


.input-box input {

  flex:
    1;

  background:
    transparent;

  border:
    none;

  outline:
    none;

  color:
    var(--text);

}


.input-box input::placeholder {

  color:
    #565d68;

}


.password-toggle {

  border:
    none;

  background:
    transparent;

  color:
    var(--muted);

}


.primary-button {

  border:
    1px solid
    rgba(215,170,88,.3);

  background:
    linear-gradient(
      135deg,
      #d7aa58,
      #a87c36
    );

  color:
    #17130d;

  font-weight:
    800;

  border-radius:
    11px;

  padding:
    11px 17px;

  transition:
    .2s ease;

}


.primary-button:hover {

  transform:
    translateY(-1px);

  filter:
    brightness(1.08);

}


.primary-button.full {

  width:
    100%;

}


.login-button {

  width:
    100%;

  height:
    48px;

  margin-top:
    22px;

}


.login-footer {

  margin-top:
    25px;

  padding-top:
    20px;

  border-top:
    1px solid var(--border-soft);

  color:
    var(--muted);

  text-align:
    center;

  font-size:
    11px;

}


.form-error {

  color:
    var(--red);

  font-size:
    12px;

  min-height:
    18px;

  margin-top:
    8px;

}


/* ========================================
   APP
======================================== */

.app {

  min-height:
    100vh;

  display:
    flex;

}


.sidebar {

  width:
    245px;

  min-width:
    245px;

  min-height:
    100vh;

  background:
    #101216;

  border-right:
    1px solid var(--border);

  padding:
    22px 14px;

  display:
    flex;

  flex-direction:
    column;

}


.sidebar-brand {

  display:
    flex;

  align-items:
    center;

  gap:
    11px;

  padding:
    5px 9px 28px;

}


.sidebar-brand strong {

  display:
    block;

  font-size:
    14px;

  letter-spacing:
    1.7px;

}


.sidebar-brand small {

  display:
    block;

  margin-top:
    3px;

  color:
    var(--muted);

  font-size:
    10px;

  text-transform:
    uppercase;

  letter-spacing:
    1px;

}


.sidebar-nav {

  display:
    flex;

  flex-direction:
    column;

  gap:
    5px;
    margin-top: 10px !important;

}


.nav-item {

  width:
    100%;

  display:
    flex;

  align-items:
    center;

  gap:
    12px;

  border:
    none;

  background:
    transparent;

  color:
    #949ba6;

  padding:
    11px 13px;

  border-radius:
    10px;

  font-size:
    13px;

  text-align:
    left;

  transition:
    .2s ease;

}


.nav-item span {

  width:
    20px;

  text-align:
    center;

  font-size:
    15px;

}


.nav-item:hover {

  color:
    var(--text);

  background:
    rgba(255,255,255,.035);

}


.nav-item.active {

  color:
    #ead5a5;

  background:
    rgba(215,170,88,.09);

  border:
    1px solid
    rgba(215,170,88,.1);

}


.sidebar-bottom {

  margin-top:
    auto;

  padding-top:
    20px;

  border-top:
    1px solid var(--border-soft);

}


.logout-button {

  color:
    #8c929b;

}


/* ========================================
   MAIN
======================================== */

.main {

  flex:
    1;

  min-width:
    0;

  padding:
    30px;

  background:
    var(--bg);

}


.topbar {

  display:
    flex;

  justify-content:
    space-between;

  align-items:
    center;

  gap:
    20px;

  margin-bottom:
    28px;

}


.topbar h1 {

  font-size:
    25px;

  letter-spacing:
    -.4px;

}


.topbar p {

  margin-top:
    5px;

  color:
    var(--text-soft);

  font-size:
    13px;

}


.user-pill {

  display:
    flex;

  align-items:
    center;

  gap:
    8px;

  padding:
    9px 13px;

  border:
    1px solid var(--border);

  border-radius:
    30px;

  background:
    var(--panel);

  color:
    #b9bec6;

  font-size:
    12px;

}


.status-dot {

  width:
    7px;

  height:
    7px;

  border-radius:
    50%;

  background:
    var(--green);

  box-shadow:
    0 0 10px
    rgba(98,199,154,.4);

}


/* ========================================
   STATS
======================================== */

.stats-grid {

  display:
    grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap:
    14px;

  margin-bottom:
    16px;

}


.stat-card {

  display:
    flex;

  align-items:
    center;

  gap:
    14px;

  padding:
    18px;

  background:
    var(--panel);

  border:
    1px solid var(--border);

  border-radius:
    15px;

}


.stat-icon {

  width:
    42px;

  height:
    42px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    11px;

  background:
    rgba(215,170,88,.08);

  color:
    var(--gold);

}


.stat-icon.success {

  background:
    rgba(98,199,154,.08);

  color:
    var(--green);

}


.stat-icon.danger {

  background:
    rgba(231,119,119,.08);

  color:
    var(--red);

}


.stat-card span {

  display:
    block;

  color:
    var(--muted);

  font-size:
    11px;

}


.stat-card strong {

  display:
    block;

  margin-top:
    4px;

  font-size:
    23px;

}


/* ========================================
   PANEL
======================================== */

.panel {

  background:
    var(--panel);

  border:
    1px solid var(--border);

  border-radius:
    16px;

  padding:
    20px;

  box-shadow:
    0 10px 30px
    rgba(0,0,0,.08);

}


.panel-header {

  display:
    flex;

  justify-content:
    space-between;

  align-items:
    center;

  gap:
    15px;

  margin-bottom:
    18px;

}


.panel-header h2 {

  font-size:
    15px;

}


.panel-header p {

  margin-top:
    4px;

  color:
    var(--muted);

  font-size:
    11px;

}


.content-grid {

  display:
    grid;

  grid-template-columns:
    minmax(0, 1fr)
    330px;

  gap:
    16px;

}


.text-button {

  color:
    var(--gold);

  font-size:
    12px;

}


.quick-panel {

  height:
    fit-content;

}


.quick-action {

  display:
    flex;

  align-items:
    center;

  gap:
    13px;

  padding:
    13px;

  margin-top:
    9px;

  background:
    #111419;

  border:
    1px solid var(--border-soft);

  border-radius:
    12px;

}


.quick-action:hover {

  border-color:
    #363d47;

}


.quick-action > span {

  width:
    34px;

  height:
    34px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  background:
    rgba(215,170,88,.08);

  color:
    var(--gold);

  border-radius:
    9px;

}


.quick-action strong,
.quick-action small {

  display:
    block;

}


.quick-action strong {

  font-size:
    12px;

}


.quick-action small {

  margin-top:
    3px;

  color:
    var(--muted);

  font-size:
    10px;

}


/* ========================================
   TABLE
======================================== */

.table-wrapper {

  width:
    100%;

  overflow-x:
    auto;

}


table {

  width:
    100%;

  border-collapse:
    collapse;

}


th {

  padding:
    11px;

  border-bottom:
    1px solid var(--border);

  color:
    var(--muted);

  font-size:
    10px;

  font-weight:
    700;

  text-align:
    left;

  text-transform:
    uppercase;

  letter-spacing:
    .6px;

}


td {

  padding:
    14px 11px;

  border-bottom:
    1px solid var(--border-soft);

  color:
    #bfc4cc;

  font-size:
    12px;

}


tr:last-child td {

  border-bottom:
    none;

}


.caption-cell {

  max-width:
    260px;

  white-space:
    nowrap;

  overflow:
    hidden;

  text-overflow:
    ellipsis;

}


.badge {

  display:
    inline-flex;

  align-items:
    center;

  padding:
    5px 8px;

  border-radius:
    20px;

  font-size:
    10px;

  font-weight:
    700;

  text-transform:
    capitalize;

}


.badge.success {

  color:
    var(--green);

  background:
    rgba(98,199,154,.08);

}


.badge.danger {

  color:
    var(--red);

  background:
    rgba(231,119,119,.08);

}


.badge.waiting {

  color:
    var(--gold);

  background:
    rgba(215,170,88,.08);

}


/* ========================================
   BUTTONS
======================================== */

.small-button {

  border:
    1px solid var(--border);

  background:
    #111419;

  color:
    #aeb4bd;

  border-radius:
    8px;

  padding:
    7px 9px;

  font-size:
    10px;

}


.small-button:hover {

  border-color:
    #454c57;

  color:
    var(--text);

}


.danger-button:hover {

  border-color:
    rgba(231,119,119,.4);

  color:
    var(--red);

}


.action-buttons {

  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    5px;

}


.facebook-button {

  border:
    1px solid
    rgba(102,142,219,.3);

  background:
    rgba(102,142,219,.08);

  color:
    #91afe8;

  border-radius:
    10px;

  padding:
    10px 14px;

  font-size:
    12px;

}


.facebook-button:disabled {

  opacity:
    .6;

  cursor:
    not-allowed;

}


/* ========================================
   FORM
======================================== */

.form-input,
.textarea {

  width:
    100%;

  background:
    #101318;

  border:
    1px solid var(--border);

  color:
    var(--text);

  outline:
    none;

  border-radius:
    10px;

  padding:
    11px 12px;

}


.form-input:focus,
.textarea:focus {

  border-color:
    rgba(215,170,88,.4);

}


.textarea {

  resize:
    vertical;

  line-height:
    1.6;

}


/* ========================================
   PAGES
======================================== */

.page-grid {

  display:
    grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap:
    10px;

}


.page-card {

  display:
    flex;

  align-items:
    center;

  gap:
    12px;

  padding:
    14px;

  background:
    #111419;

  border:
    1px solid var(--border-soft);

  border-radius:
    13px;

}


.page-avatar,
.page-mini-avatar {

  width:
    40px;

  height:
    40px;

  min-width:
    40px;

  overflow:
    hidden;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    50%;

  background:
    #272c34;

  color:
    var(--gold);

  font-weight:
    800;

}


.page-avatar img,
.page-mini-avatar img {

  width:
    100%;

  height:
    100%;

  object-fit:
    cover;

}


.page-info {

  flex:
    1;

  min-width:
    0;

}


.page-info strong,
.page-info span {

  display:
    block;

}


.page-info strong {

  font-size:
    12px;

}


.page-info span {

  margin-top:
    4px;

  color:
    var(--muted);

  font-size:
    9px;

}


/* ========================================
   COMPOSER
======================================== */

.composer-layout {

  display:
    grid;

  grid-template-columns:
    1fr 1fr;

  gap:
    16px;

}


.composer-layout > .panel:last-child {

  grid-column:
    1 / -1;

}


.check-all-row {

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  padding:
    10px 12px;

  background:
    #111419;

  border:
    1px solid var(--border-soft);

  border-radius:
    10px;

  margin-bottom:
    10px;

}


.checkbox-label {

  display:
    flex;

  align-items:
    center;

  gap:
    9px;

  margin:
    0;

  cursor:
    pointer;

}


.checkbox-label input,
.page-select-card input {

  accent-color:
    var(--gold);

}


.selected-count {

  color:
    var(--gold);

  font-size:
    10px;

}


.page-selector {

  display:
    grid;

  grid-template-columns:
    1fr 1fr;

  gap:
    8px;

}


.page-select-card {

  display:
    flex;

  align-items:
    center;

  gap:
    9px;

  padding:
    10px;

  margin:
    0;

  background:
    #111419;

  border:
    1px solid var(--border-soft);

  border-radius:
    10px;

  cursor:
    pointer;

}


.page-select-card:hover {

  border-color:
    #39414c;

}


.page-select-card strong,
.page-select-card span {

  display:
    block;

}


.page-select-card strong {

  font-size:
    11px;

}


.page-select-card span {

  margin-top:
    3px;

  color:
    var(--green);

  font-size:
    9px;

}


.media-dropzone {

  min-height:
    150px;

  margin-top:
    18px;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  border:
    1px dashed #343b46;

  border-radius:
    13px;

  color:
    var(--muted);

}


.media-dropzone strong {

  margin-top:
    9px;

  color:
    #c2c7ce;

  font-size:
    12px;

}


.media-dropzone span {

  margin-top:
    5px;

  font-size:
    10px;

}


.upload-icon {

  width:
    35px;

  height:
    35px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    10px;

  background:
    rgba(215,170,88,.08);

  color:
    var(--gold);

}


.schedule-options {

  display:
    grid;

  grid-template-columns:
    1fr 1fr;

  gap:
    10px;

}


.radio-card {

  display:
    flex;

  align-items:
    flex-start;

  gap:
    10px;

  margin:
    0;

  padding:
    13px;

  background:
    #111419;

  border:
    1px solid var(--border-soft);

  border-radius:
    11px;

  cursor:
    pointer;

}


.radio-card.active {

  border-color:
    rgba(215,170,88,.3);

}


.radio-card strong,
.radio-card small {

  display:
    block;

}


.radio-card strong {

  font-size:
    11px;

}


.radio-card small {

  margin-top:
    3px;

  color:
    var(--muted);

  font-size:
    9px;

}


.schedule-grid {

  display:
    grid;

  grid-template-columns:
    1fr 1fr;

  gap:
    10px;

}


.interval-input {

  display:
    flex;

  align-items:
    center;

  gap:
    9px;

}


.interval-input .form-input {

  max-width:
    180px;

}


.interval-input span {

  color:
    var(--muted);

  font-size:
    11px;

}


/* ========================================
   EMPTY
======================================== */

.empty-state {

  min-height:
    170px;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  text-align:
    center;

  color:
    var(--muted);

}


.empty-state > div {

  font-size:
    28px;

  color:
    #424953;

  margin-bottom:
    9px;

}


.empty-state strong {

  color:
    #adb3bc;

  font-size:
    12px;

}


.empty-state span {

  margin-top:
    5px;

  font-size:
    10px;

}


.empty-state.wide {

  grid-column:
    1 / -1;

}


/* ========================================
   MODAL
======================================== */

.modal {

  position:
    fixed;

  inset:
    0;

  z-index:
    100;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    20px;

  background:
    rgba(0,0,0,.7);

  backdrop-filter:
    blur(7px);

}


.modal.hidden {

  display:
    none;

}


.modal-card {

  width:
    min(440px, 100%);

  padding:
    23px;

  background:
    #15181e;

  border:
    1px solid var(--border);

  border-radius:
    16px;

  box-shadow:
    var(--shadow);

}


.modal-header {

  display:
    flex;

  justify-content:
    space-between;

  gap:
    20px;

  margin-bottom:
    20px;

}


.modal-header h2 {

  font-size:
    16px;

}


.modal-header p {

  margin-top:
    4px;

  color:
    var(--muted);

  font-size:
    10px;

}


.modal-close {

  width:
    30px;

  height:
    30px;

  border:
    none;

  border-radius:
    8px;

  background:
    #20242b;

  color:
    #aab0b8;

  font-size:
    18px;

}


/* ========================================
   SETTINGS
======================================== */

.settings-row {

  display:
    flex;

  justify-content:
    space-between;

  padding:
    18px 0;

  border-bottom:
    1px solid var(--border-soft);

}


.settings-row:last-child {

  border-bottom:
    none;

}


.settings-row strong,
.settings-row span {

  display:
    block;

}


.settings-row strong {

  font-size:
    13px;

}


.settings-row span {

  margin-top:
    5px;

  color:
    var(--muted);

  font-size:
    11px;

}


/* ========================================
   RESPONSIVE
======================================== */

@media (
  max-width: 1100px
) {

  .stats-grid {

    grid-template-columns:
      repeat(2, 1fr);

  }

  .content-grid {

    grid-template-columns:
      1fr;

  }

}


@media (
  max-width: 800px
) {

  .sidebar {

    width:
      70px;

    min-width:
      70px;

    padding:
      16px 9px;

  }

  .sidebar-brand > div:last-child,
  .nav-item:not(.logout-button) {
    font-size: 0;
  }

  .nav-item {

    justify-content:
      center;

  }

  .nav-item span {

    font-size:
      16px;

  }

  .sidebar-brand {

    justify-content:
      center;

    padding:
      5px 0 25px;

  }

  .main {

    padding:
      20px;

  }

  .composer-layout {

    grid-template-columns:
      1fr;

  }

  .composer-layout > .panel:last-child {

    grid-column:
      auto;

  }

  .page-grid,
  .page-selector {

    grid-template-columns:
      1fr;

  }

}


@media (
  max-width: 560px
) {

  .main {

    padding:
      14px;

  }

  .topbar {

    align-items:
      flex-start;

    flex-direction:
      column;

  }

  .stats-grid {

    grid-template-columns:
      1fr;

  }

  .schedule-grid,
  .schedule-options {

    grid-template-columns:
      1fr;

  }

  .panel {

    padding:
      15px;

  }

  .login-card {

    padding:
      26px 20px;

  }

}

/* ==========================================
   FACEBOOK PAGES TOOLBAR
========================================== */

.pages-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 35px;

  width: 340px;
  padding: 10px 14px;

  margin-bottom: 18px;

  background: #11141a;
  border: 1px solid #252b35;
  border-radius: 10px;
}

.check-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  cursor: pointer;

  font-size: 14px;
  font-weight: 600;
  color: #f1f1f1;

  user-select: none;
}

.check-all input {
  width: 17px;
  height: 17px;

  margin: 0;

  accent-color: #d6a84f;

  cursor: pointer;
}

#selectedPagesCount {
  font-size: 13px;
  font-weight: 500;
  color: #8f98a8;
}


/* ==========================================
   PAGE CARD
========================================== */

.page-card {
  display: flex;
  align-items: center;
  gap: 14px;

  min-height: 76px;
  padding: 14px 16px;

  background: #11141a;

  border: 1px solid #252b35;
  border-radius: 14px;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.page-card:hover {
  background: #151922;
  border-color: #3a414d;
  transform: translateY(-1px);
}


/* ==========================================
   PAGE CHECKBOX
========================================== */

.page-checkbox {
  width: 22px;
  height: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  cursor: pointer;
}

.page-checkbox input {
  width: 17px;
  height: 17px;

  margin: 0;

  accent-color: #d6a84f;

  cursor: pointer;
}


/* ==========================================
   PAGE AVATAR
========================================== */

.page-avatar {
  width: 46px;
  height: 46px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 50%;

  background: #252a33;

  color: #d6a84f;

  font-size: 18px;
  font-weight: 700;
}

.page-avatar img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* ==========================================
   PAGE INFO
========================================== */

.page-info {
  flex: 1;

  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page-info strong {
  color: #f4f4f5;

  font-size: 14px;
  font-weight: 600;
}

.page-info span {
  color: #727b8b;

  font-size: 11px;
}


/* ==========================================
   CONNECTED BADGE
========================================== */

.page-card .badge.success {
  flex-shrink: 0;

  padding: 6px 11px;

  border-radius: 999px;

  background: rgba(37, 190, 120, 0.10);

  border: 1px solid rgba(37, 190, 120, 0.18);

  color: #36d894;

  font-size: 11px;
  font-weight: 600;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 700px) {

  .pages-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-card {
    padding: 12px;
  }

  .page-card .badge.success {
    display: none;
  }

}

/* ==========================================
   MEDIA PREVIEW
========================================== */

.media-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.media-preview-item {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: #11141a;
  border: 1px solid #252b35;
  border-radius: 10px;
  padding: 8px;
}

.media-preview-item img,
.media-preview-item video {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 7px;
  background: #080a0e;
}

.media-preview-info {
  margin-top: 7px;
  font-size: 11px;
  color: #8f98a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-preview-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
}

.media-preview-info {
  margin-top: 0;
  min-width: 0;
  font-size: 11px;
  color: #8f98a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-delete-button {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #3a3030;
  border-radius: 6px;
  background: #191216;
  color: #ff6b6b;
  font-size: 18px;
  line-height: 20px;
  cursor: pointer;
  transition: .2s ease;
}

.media-delete-button:hover {
  background: #2a1717;
  border-color: #ff5c5c;
}

/* ==========================================
   MEDIA PREVIEW
========================================== */

.media-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.media-preview-item {
  position: relative;
  overflow: hidden;
  min-width: 0;

  background: #11141a;
  border: 1px solid #252b35;
  border-radius: 10px;

  padding: 8px;

  cursor: grab;

  transition:
    border-color .2s ease,
    opacity .2s ease,
    transform .2s ease;
}

.media-preview-item:active {
  cursor: grabbing;
}

.media-preview-item.dragging {
  opacity: .45;
  transform: scale(.98);
  border-color: #d4af37;
}

.media-preview-item.drag-over {
  border-color: #d4af37;
  transform: translateY(-2px);
}


/* ==========================================
   DRAG HANDLE
========================================== */

.media-drag-handle {
  position: absolute;

  top: 8px;
  left: 8px;

  z-index: 10;

  width: 26px;
  height: 26px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 6px;

  background: rgba(0, 0, 0, .75);
  border: 1px solid #343a46;

  color: #c5cbd5;

  font-size: 15px;
  line-height: 1;

  cursor: grab;

  user-select: none;
}

.media-drag-handle:hover {
  color: #d4af37;
  border-color: #d4af37;
}


/* ==========================================
   IMAGE / VIDEO
========================================== */

.media-preview-item img,
.media-preview-item video {
  display: block;

  width: 100%;
  height: 180px;

  object-fit: contain;

  border-radius: 7px;

  background: #080a0e;
}


/* ==========================================
   BOTTOM
========================================== */

.media-preview-bottom {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 8px;

  margin-top: 7px;
}


/* ==========================================
   FILE NAME
========================================== */

.media-preview-info {
  min-width: 0;

  margin-top: 0;

  font-size: 11px;

  color: #8f98a8;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}


/* ==========================================
   DELETE
========================================== */

.media-delete-button {
  flex-shrink: 0;

  width: 24px;
  height: 24px;

  border: 1px solid #3a3030;
  border-radius: 6px;

  background: #191216;

  color: #ff6b6b;

  font-size: 18px;
  line-height: 20px;

  cursor: pointer;

  transition: .2s ease;
}

.media-delete-button:hover {
  background: #2a1717;
  border-color: #ff5c5c;
}

/* ==========================================
   QUEUE STATUS
   ========================================== */

.badge.publishing {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
}


.facebook-id {
  display: inline-block;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-size: 11px;
  color: #8f98a8;
}


.muted {
  color: #555d6b;
}

/* ==========================================
   HISTORY
   ========================================== */

.history-filter-panel {
  margin-bottom: 18px;
}


.history-filters {
  display: grid;
  grid-template-columns:
    180px
    220px
    minmax(220px, 1fr);

  gap: 16px;

  align-items: end;
}


.filter-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}


.filter-group label {
  font-size: 12px;
  color: #8f98a8;
  font-weight: 600;
}


.history-error {
  margin-top: 7px;
  max-width: 260px;

  color: #ff7777;

  font-size: 10px;
  line-height: 1.4;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.facebook-id {
  display: inline-block;

  max-width: 170px;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-size: 11px;

  color: #8f98a8;
}


.muted {
  color: #555d6b;
}


@media (max-width: 900px) {

  .history-filters {

    grid-template-columns:
      1fr;

  }

}

.retry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 8px;

  padding: 5px 9px;

  border: 1px solid #d4af37;
  border-radius: 6px;

  background: rgba(212, 175, 55, 0.08);
  color: #d4af37;

  font-size: 11px;
  font-weight: 600;

  cursor: pointer;

  transition: all 0.2s ease;
}

.retry-button:hover {
  background: #d4af37;
  color: #111;
}

/* ==========================================
   DASHBOARD LOWER SECTION
   ========================================== */

.dashboard-lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}


/* ==========================================
   POSTING BREAKDOWN
   ========================================== */

.posting-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.breakdown-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;

  padding: 12px;

  background: #11141a;
  border: 1px solid #252b35;
  border-radius: 10px;
}


.breakdown-icon {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background: rgba(212, 175, 55, 0.08);

  font-size: 17px;
}


.breakdown-item strong {
  display: block;

  font-size: 13px;
  color: #e7e9ed;
}


.breakdown-item small {
  display: block;

  margin-top: 3px;

  font-size: 10px;
  color: #737c8c;
}


.breakdown-item > span {
  min-width: 30px;

  text-align: right;

  font-size: 18px;
  font-weight: 700;

  color: #d4af37;
}


/* ==========================================
   RECENT ACTIVITY
   ========================================== */

.recent-activity-row {
  display: grid;

  grid-template-columns:
    42px
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 12px;

  padding: 12px 4px;

  border-bottom: 1px solid #252b35;
}


.recent-activity-row:last-child {
  border-bottom: none;
}


.activity-icon {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: #1a1d23;

  font-size: 15px;
}


.activity-main {
  min-width: 0;
}


.activity-caption {
  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;

  font-size: 12px;
  color: #e7e9ed;
}


.activity-meta {
  margin-top: 4px;

  font-size: 10px;

  color: #737c8c;
}


.activity-status {
  text-align: right;
}


@media (max-width: 900px) {

  .dashboard-lower-grid {
    grid-template-columns: 1fr;
  }

}

/* ==========================================
   COMPOSER SCHEDULE
   ========================================== */

.schedule-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.schedule-input-wrapper {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.schedule-input-wrapper input {
  cursor: pointer;
}


.schedule-date-input,
.schedule-time-input {
  width: 100%;
  height: 46px;
  box-sizing: border-box;

  cursor: pointer;

  color-scheme: dark;
}


/* Chrome / Edge date & time picker */

.schedule-date-input::-webkit-calendar-picker-indicator,
.schedule-time-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .85;
  filter: invert(1);
}


.schedule-date-input:hover::-webkit-calendar-picker-indicator,
.schedule-time-input:hover::-webkit-calendar-picker-indicator {
  opacity: 1;
}


/* Focus */

.schedule-date-input:focus,
.schedule-time-input:focus {
  border-color: #d4af37;

  box-shadow:
    0 0 0 2px rgba(212, 175, 55, .08);

  outline: none;
}


/* Mobile */

@media (max-width: 700px) {

  .schedule-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================================================
   ABC GROUP - FUTURISTIC GLOW UI
   ========================================================= */

:root {
  --bg-main: #07090d;
  --bg-panel: rgba(15, 18, 25, 0.78);

  --gold: #f5c542;
  --gold-light: #ffe58a;
  --gold-dark: #9d7415;

  --blue: #1877f2;
  --cyan: #20d9ff;
  --green: #18e98c;
  --red: #ff4d67;

  --text-main: #f5f7fb;
  --text-muted: #7f8a9b;

  --border-glow: rgba(245, 197, 66, 0.22);
}


/* =========================================================
   GLOBAL BACKGROUND
   ========================================================= */

html,
body {
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(245, 197, 66, 0.08),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(24, 119, 242, 0.08),
      transparent 30%
    ),
    radial-gradient(
      circle at 70% 90%,
      rgba(0, 210, 255, 0.05),
      transparent 30%
    ),
    #07090d;

  color: var(--text-main);
}


/* =========================================================
   APP AMBIENT LIGHT
   ========================================================= */

.app {
  position: relative;
  isolation: isolate;
}

.app::before {
  content: "";

  position: fixed;

  width: 420px;
  height: 420px;

  left: 15%;
  top: 10%;

  background:
    radial-gradient(
      circle,
      rgba(245, 197, 66, 0.08),
      transparent 70%
    );

  filter: blur(20px);

  pointer-events: none;

  animation: ambientFloat 8s ease-in-out infinite alternate;

  z-index: -1;
}

.app::after {
  content: "";

  position: fixed;

  width: 360px;
  height: 360px;

  right: 5%;
  bottom: 5%;

  background:
    radial-gradient(
      circle,
      rgba(24, 119, 242, 0.07),
      transparent 70%
    );

  filter: blur(25px);

  pointer-events: none;

  animation: ambientFloat2 10s ease-in-out infinite alternate;

  z-index: -1;
}

@keyframes ambientFloat {

  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(80px, 40px) scale(1.15);
  }

}

@keyframes ambientFloat2 {

  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-60px, -40px);
  }

}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {

  background:
    linear-gradient(
      180deg,
      rgba(16, 18, 24, 0.96),
      rgba(7, 9, 13, 0.98)
    );

  border-right:
    1px solid
    rgba(245, 197, 66, 0.15);

  box-shadow:
    10px 0 40px rgba(0, 0, 0, 0.35),
    inset -1px 0 0 rgba(245, 197, 66, 0.04);

  position: relative;
}


/* =========================================================
   BRAND
   ========================================================= */

.sidebar-brand {

  position: relative;

  padding-bottom: 22px;

  margin-bottom: 20px;

  border-bottom:
    1px solid
    rgba(245, 197, 66, 0.12);
}


.sidebar-brand::after {

  content: "";

  position: absolute;

  left: 0;
  bottom: -1px;

  width: 70px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );

  box-shadow:
    0 0 12px var(--gold);

  animation: brandLine 3s ease-in-out infinite;

}


@keyframes brandLine {

  0% {
    transform: translateX(0);
    opacity: .3;
  }

  50% {
    transform: translateX(80px);
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: .3;
  }

}


/* =========================================================
   ABC LOGO
   ========================================================= */

.brand-mark.small {

  background:
    linear-gradient(
      145deg,
      #ffe58a,
      #d59d27 45%,
      #8d6313
    );

  color: #090909;

  border:
    1px solid
    rgba(255, 229, 138, 0.8);

  box-shadow:
    0 0 12px rgba(245, 197, 66, 0.45),
    0 0 30px rgba(245, 197, 66, 0.18),
    inset 0 1px 0 rgba(255,255,255,.45);

  font-weight: 900;

  letter-spacing: -1px;

  transition:
    .3s ease;
}


.brand-mark.small span {

  font-size: 13px;

  font-weight: 900;

}


.sidebar-brand:hover .brand-mark.small {

  transform:
    rotate(-3deg)
    scale(1.06);

  box-shadow:
    0 0 18px rgba(245, 197, 66, 0.7),
    0 0 45px rgba(245, 197, 66, 0.25);
}


.brand-text strong {

  color: #fff;

  letter-spacing: 1px;

  text-shadow:
    0 0 12px rgba(245, 197, 66, 0.2);
}


.brand-text small {

  display: block;

  margin-top: 4px;

  color:
    rgba(245, 197, 66, 0.72);

  font-size: 8px;

  letter-spacing: 1.3px;

  white-space: nowrap;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav-item {

  position: relative;

  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;

  border:
    1px solid transparent;
}


.nav-item:hover {

  transform:
    translateX(4px);

  background:
    linear-gradient(
      90deg,
      rgba(245, 197, 66, 0.10),
      rgba(245, 197, 66, 0.025)
    );

  border-color:
    rgba(245, 197, 66, 0.16);

  color:
    #ffe58a;

  box-shadow:
    0 0 18px rgba(245, 197, 66, 0.07);
}


.nav-item.active {

  background:
    linear-gradient(
      90deg,
      rgba(245, 197, 66, 0.18),
      rgba(245, 197, 66, 0.04)
    );

  border:
    1px solid
    rgba(245, 197, 66, 0.35);

  color:
    #ffe58a;

  box-shadow:
    0 0 18px rgba(245, 197, 66, 0.08),
    inset 3px 0 0 var(--gold);
}


.nav-item.active::after {

  content: "";

  position: absolute;

  right: 10px;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background:
    var(--gold);

  box-shadow:
    0 0 8px var(--gold),
    0 0 16px var(--gold);
}


/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {

  position: relative;

  border-bottom:
    1px solid
    rgba(245, 197, 66, 0.08);

  margin-bottom: 28px;
}


.topbar::after {

  content: "";

  position: absolute;

  left: 0;
  bottom: -1px;

  width: 120px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      var(--gold),
      transparent
    );

  box-shadow:
    0 0 10px var(--gold);
}


.topbar h1 {

  text-shadow:
    0 0 20px rgba(245, 197, 66, 0.12);
}


/* =========================================================
   PANELS / GLASS
   ========================================================= */

.panel {

  position: relative;

  background:
    linear-gradient(
      145deg,
      rgba(20, 23, 30, 0.86),
      rgba(10, 12, 17, 0.82)
    );

  border:
    1px solid
    rgba(255,255,255,0.055);

  box-shadow:
    0 15px 45px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.025);

  backdrop-filter:
    blur(14px);

  overflow: hidden;

  transition:
    border-color .3s ease,
    box-shadow .3s ease,
    transform .3s ease;
}


.panel::before {

  content: "";

  position: absolute;

  left: -100px;
  top: -100px;

  width: 180px;
  height: 180px;

  background:
    radial-gradient(
      circle,
      rgba(245,197,66,.08),
      transparent 70%
    );

  pointer-events: none;
}


.panel:hover {

  border-color:
    rgba(245, 197, 66, 0.16);

  box-shadow:
    0 20px 55px rgba(0,0,0,.35),
    0 0 25px rgba(245,197,66,.035);
}


/* =========================================================
   STAT CARDS
   ========================================================= */

.stat-card {

  position: relative;

  background:
    linear-gradient(
      145deg,
      rgba(20,23,30,.88),
      rgba(10,12,17,.82)
    );

  border:
    1px solid
    rgba(255,255,255,.055);

  box-shadow:
    0 12px 35px rgba(0,0,0,.25);

  transition:
    transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}


.stat-card:hover {

  transform:
    translateY(-5px);

  border-color:
    rgba(245,197,66,.25);

  box-shadow:
    0 15px 45px rgba(0,0,0,.35),
    0 0 25px rgba(245,197,66,.05);
}


.stat-icon {

  transition:
    .3s ease;
}


.stat-card:hover .stat-icon {

  transform:
    scale(1.08);

  filter:
    drop-shadow(
      0 0 8px
      rgba(245,197,66,.5)
    );
}


/* =========================================================
   BUTTON
   ========================================================= */

.primary-button {

  position: relative;

  background:
    linear-gradient(
      135deg,
      #ffe58a,
      #dca72f
    );

  color:
    #080808;

  border:
    1px solid
    rgba(255,229,138,.8);

  box-shadow:
    0 0 18px rgba(245,197,66,.18);

  overflow: hidden;

  transition:
    .3s ease;
}


.primary-button::before {

  content: "";

  position: absolute;

  top: 0;
  left: -100%;

  width: 70%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.45),
      transparent
    );

  transform:
    skewX(-20deg);

  transition:
    .5s ease;
}


.primary-button:hover::before {

  left: 130%;
}


.primary-button:hover {

  transform:
    translateY(-2px);

  box-shadow:
    0 0 25px rgba(245,197,66,.35),
    0 8px 25px rgba(0,0,0,.25);
}


/* =========================================================
   USER PILL
   ========================================================= */

.user-pill {

  border:
    1px solid
    rgba(245,197,66,.15) !important;

  background:
    rgba(245,197,66,.035) !important;

  box-shadow:
    0 0 15px rgba(245,197,66,.04);
}


.status-dot {

  box-shadow:
    0 0 8px #18e98c,
    0 0 16px rgba(24,233,140,.5);

  animation:
    statusPulse 1.8s ease-in-out infinite;
}


@keyframes statusPulse {

  0%,100% {
    opacity: .65;
  }

  50% {
    opacity: 1;
  }

}


/* =========================================================
   TABLE
   ========================================================= */

table tbody tr {

  transition:
    background .2s ease;
}


table tbody tr:hover {

  background:
    rgba(245,197,66,.035);
}


/* =========================================================
   INPUT GLOW
   ========================================================= */

.form-input,
.textarea,
input,
textarea,
select {

  transition:
    border-color .25s ease,
    box-shadow .25s ease;
}


.form-input:focus,
.textarea:focus,
input:focus,
textarea:focus,
select:focus {

  outline: none;

  border-color:
    rgba(245,197,66,.55) !important;

  box-shadow:
    0 0 0 3px rgba(245,197,66,.06),
    0 0 18px rgba(245,197,66,.08);
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #07090d;
}

::-webkit-scrollbar-thumb {

  background:
    linear-gradient(
      180deg,
      #9d7415,
      #f5c542
    );

  border-radius: 10px;

  box-shadow:
    0 0 8px rgba(245,197,66,.3);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .brand-text small {
    font-size: 7px;
    letter-spacing: .8px;
  }

  .sidebar-brand {
    padding-bottom: 16px;
  }

}

/* ==========================================
   ABC GROUP LOGO
   ========================================== */

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;
  margin: 0 auto 18px;

  border-radius: 15px;

  /* WARNA LOGO */
  background: linear-gradient(
    145deg,
    #ffe28a 0%,
    #e6b942 55%,
    #c9952e 100%
  );

  /* ABC */
  color: #111111 !important;
  font-size: 16px;
  font-weight: 950;
  font-family: Arial, Helvetica, sans-serif;

  /* spacing */
  letter-spacing: -1px;

  /* border + glow */
  border: 1px solid rgba(255, 235, 164, 0.85);

  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.45),
    inset 0 -2px 5px rgba(0,0,0,0.12),
    0 0 20px rgba(255,196,58,0.35),
    0 8px 25px rgba(0,0,0,0.35);

  text-shadow:
    0 1px 1px rgba(255,255,255,0.25);

  position: relative;
}

/* TEXT ABC */
.brand-mark span {
  display: block;

  color: #111111 !important;

  font-size: 16px;
  font-weight: 950;

  letter-spacing: -1px;

  transform: none;
}

/* ==========================================
   FACEBOOK PAGE - DISCONNECTED STATE
   ========================================== */

.page-card.page-disabled {
  opacity: 0.55;
  border-color: rgba(255,255,255,0.055);
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.018),
      rgba(255,255,255,0.008)
    );
}

.page-card.page-disabled:hover {
  transform: none;
  border-color: rgba(255,255,255,0.08);
  box-shadow: none;
}

.page-card.page-disabled .page-avatar {
  filter: grayscale(1);
  opacity: 0.55;
}

.page-card.page-disabled .page-info strong {
  color: #8b929f;
}

.page-card.page-disabled .page-info span {
  color: #5e6571;
}


/* ==========================================
   DISCONNECTED BADGE
   ========================================== */

.badge.disconnected {
  color: #9299a6;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
}


/* ==========================================
   DISABLED CHECKBOX
   ========================================== */

.page-checkbox input:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.page-card.page-disabled .page-checkbox {
  cursor: not-allowed;
}

/* ==========================================
   FIX SIDEBAR BRAND - ABC GROUP
   ========================================== */

.sidebar .sidebar-brand {
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* LOGO */
.sidebar .sidebar-brand .brand-mark.small {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;

  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  position: relative !important;
  top: 0 !important;
  transform: none !important;
}

/* ABC DI DALAM LOGO */
.sidebar .sidebar-brand .brand-mark.small span {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;

  line-height: 1 !important;
  transform: none !important;
}

/* BLOK TEXT */
.sidebar .sidebar-brand .brand-text {
  height: auto !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;

  position: relative !important;
  top: 0 !important;
  transform: none !important;

  line-height: 1 !important;
}

/* ABC GROUP */
.sidebar .sidebar-brand .brand-text strong {
  display: block !important;

  margin: 0 !important;
  padding: 0 !important;

  line-height: 16px !important;
}

/* SUBTITLE */
.sidebar .sidebar-brand .brand-text small {
  display: block !important;

  margin: 4px 0 0 0 !important;
  padding: 0 !important;

  line-height: 10px !important;
}

/* ==========================================
   QUEUE EDIT MODAL
========================================== */

.queue-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;
}

.queue-modal.active {
  display: flex !important;
}

.queue-modal-overlay {
  position: fixed !important;
  inset: 0 !important;

  background: rgba(0, 0, 0, 0.75);

  backdrop-filter: blur(7px);

  z-index: 1 !important;
}

.queue-modal-box {
  position: relative !important;

  width: min(520px, calc(100% - 30px));

  background: #111318;

  border: 1px solid rgba(245, 197, 66, 0.25);

  border-radius: 16px;

  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.75);

  overflow: hidden;

  z-index: 2 !important;

  pointer-events: auto !important;
}

.queue-modal-header {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  padding: 22px 24px;

  border-bottom: 1px solid rgba(255,255,255,.07);
}

.queue-modal-body {
  position: relative;
  z-index: 3;

  padding: 24px;
}

.queue-edit-row {
  position: relative;
  z-index: 5;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.queue-edit-field {
  position: relative !important;
  z-index: 10 !important;
}

.queue-edit-field label {
  margin: 0 0 7px !important;
  display: block;
}

.queue-edit-field input {
  position: relative !important;

  z-index: 20 !important;

  width: 100% !important;
  height: 46px !important;

  box-sizing: border-box;

  padding: 0 12px !important;

  background: #0b0d11 !important;

  border: 1px solid rgba(255,255,255,.12) !important;

  border-radius: 9px !important;

  color: #fff !important;

  outline: none !important;

  cursor: pointer !important;

  pointer-events: auto !important;

  user-select: auto !important;

  color-scheme: dark;
}

.queue-edit-field input:hover {
  border-color: rgba(245,197,66,.5) !important;
}

.queue-edit-field input:focus {
  border-color: #f5c542 !important;

  box-shadow:
    0 0 0 3px rgba(245,197,66,.08) !important;
}

.queue-edit-field input::-webkit-calendar-picker-indicator {
  display: block !important;

  opacity: 1 !important;

  cursor: pointer !important;

  filter: invert(1);

  pointer-events: auto !important;
}

.queue-modal-footer {
  position: relative;
  z-index: 3;

  display: flex;
  justify-content: flex-end;
  gap: 10px;

  padding: 18px 24px;

  border-top: 1px solid rgba(255,255,255,.07);
}

.queue-modal-close,
.queue-btn-secondary,
.queue-btn-primary {
  position: relative;
  z-index: 10;

  cursor: pointer !important;
  pointer-events: auto !important;
}

@media (max-width: 600px) {

  .queue-edit-row {
    grid-template-columns: 1fr;
  }

}

#editQueueDate,
#editQueueTime {
  position: relative !important;
  z-index: 999999 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: auto !important;
  opacity: 1 !important;
}

#editQueueDate::-webkit-calendar-picker-indicator,
#editQueueTime::-webkit-calendar-picker-indicator {
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* ==========================================
   QUEUE EDIT MODAL - FIX LONG CONTENT
========================================== */

.queue-modal {
  position: fixed !important;
  inset: 0 !important;

  width: 100%;
  height: 100%;

  padding: 20px;

  display: none;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  z-index: 99999 !important;
}

.queue-modal.active {
  display: flex !important;
}

.queue-modal-box {
  position: relative !important;

  width: min(560px, calc(100vw - 32px));

  /*
   * Jangan sampai modal lebih tinggi
   * dari layar browser
   */
  max-height: calc(100vh - 40px);

  display: flex;
  flex-direction: column;

  background: #111318;

  border: 1px solid rgba(245, 197, 66, .25);

  border-radius: 16px;

  box-shadow:
    0 30px 100px rgba(0, 0, 0, .75);

  overflow: hidden;

  z-index: 2 !important;
}

/* HEADER TETAP */
.queue-modal-header {
  flex-shrink: 0;

  padding: 20px 24px;

  border-bottom:
    1px solid rgba(255,255,255,.07);
}

/* BODY BISA SCROLL */
.queue-modal-body {
  flex: 1;

  min-height: 0;

  padding: 22px 24px;

  overflow-y: auto;

  overflow-x: hidden;
}

/* Scrollbar body */
.queue-modal-body::-webkit-scrollbar {
  width: 6px;
}

.queue-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.queue-modal-body::-webkit-scrollbar-thumb {
  background: #343943;
  border-radius: 10px;
}

.queue-modal-body::-webkit-scrollbar-thumb:hover {
  background: #4b5260;
}


/* ==========================================
   PAGE
========================================== */

.queue-edit-info {
  margin-bottom: 16px;
}

.queue-edit-value {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}


/* ==========================================
   CAPTION
========================================== */

.queue-edit-caption {
  max-height: 150px;

  overflow-y: auto;

  padding: 12px;

  background: #0b0d11;

  border:
    1px solid rgba(255,255,255,.07);

  border-radius: 9px;

  color: #b8bec8;

  font-size: 12px;

  line-height: 1.55;

  white-space: pre-wrap;

  word-break: break-word;
}

/* Caption scrollbar */
.queue-edit-caption::-webkit-scrollbar {
  width: 5px;
}

.queue-edit-caption::-webkit-scrollbar-thumb {
  background: #343943;
  border-radius: 10px;
}


/* ==========================================
   DATE + TIME
========================================== */

.queue-edit-row {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 14px;

  margin-top: 18px;
}

.queue-edit-field {
  min-width: 0;
}

.queue-edit-field label {
  display: block;

  margin-bottom: 7px;

  color: #aeb5c1;

  font-size: 12px;

  font-weight: 600;
}

.queue-edit-field input {
  width: 100% !important;

  height: 46px !important;

  box-sizing: border-box;

  padding: 0 12px !important;

  background: #0b0d11 !important;

  border:
    1px solid rgba(255,255,255,.12) !important;

  border-radius: 9px !important;

  color: #fff !important;

  cursor: pointer !important;

  pointer-events: auto !important;

  color-scheme: dark;
}

.queue-edit-field input:focus {
  outline: none !important;

  border-color:
    #f5c542 !important;

  box-shadow:
    0 0 0 3px
    rgba(245,197,66,.08) !important;
}

.queue-edit-field input::-webkit-calendar-picker-indicator {
  opacity: 1 !important;

  cursor: pointer !important;

  filter: invert(1);
}


/* ==========================================
   FOOTER TETAP DI BAWAH
========================================== */

.queue-modal-footer {
  flex-shrink: 0;

  display: flex;

  justify-content: flex-end;

  gap: 10px;

  padding: 16px 24px;

  border-top:
    1px solid rgba(255,255,255,.07);

  background: #111318;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

  .queue-modal {
    padding: 10px;
  }

  .queue-modal-box {
    width: 100%;

    max-height:
      calc(100vh - 20px);
  }

  .queue-modal-body {
    padding: 18px;
  }

  .queue-edit-row {
    grid-template-columns: 1fr;
  }

}

/* ==========================================
   QUEUE MODAL - FUTURISTIC BUTTONS
========================================== */

.queue-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;

  padding: 16px 24px;

  background: #111318;

  border-top: 1px solid rgba(255,255,255,.07);
}

/* Semua tombol modal */
.queue-modal-footer button {
  appearance: none !important;
  -webkit-appearance: none !important;

  height: 40px !important;

  padding: 0 17px !important;

  border-radius: 9px !important;

  font-family: inherit !important;

  font-size: 12px !important;

  font-weight: 700 !important;

  line-height: 1 !important;

  cursor: pointer !important;

  transition:
    all .2s ease !important;
}

/* ==========================================
   CANCEL
========================================== */

.queue-btn-secondary {
  background: rgba(255,255,255,.035) !important;

  border: 1px solid #303640 !important;

  color: #aeb5c1 !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025);
}

.queue-btn-secondary:hover {
  background: rgba(255,255,255,.07) !important;

  border-color: #4a5260 !important;

  color: #fff !important;

  transform: translateY(-1px);
}

.queue-btn-secondary:active {
  transform: translateY(0);
}


/* ==========================================
   SAVE SCHEDULE
========================================== */

.queue-btn-primary {
  position: relative;

  background:
    linear-gradient(
      135deg,
      #f5c542,
      #c99522
    ) !important;

  border: 1px solid
    rgba(255,220,110,.5) !important;

  color: #15120a !important;

  box-shadow:
    0 5px 18px rgba(245,197,66,.16),
    inset 0 1px 0 rgba(255,255,255,.3);
}

.queue-btn-primary:hover {
  background:
    linear-gradient(
      135deg,
      #ffda5b,
      #dba62c
    ) !important;

  border-color:
    rgba(255,225,130,.8) !important;

  box-shadow:
    0 7px 24px rgba(245,197,66,.25),
    inset 0 1px 0 rgba(255,255,255,.35);

  transform:
    translateY(-1px);
}

.queue-btn-primary:active {
  transform:
    translateY(0);

  box-shadow:
    0 3px 10px rgba(245,197,66,.15);
}


/* ==========================================
   SAVING STATE
========================================== */

.queue-btn-primary:disabled {
  opacity: .65 !important;

  cursor: wait !important;

  transform: none !important;

  box-shadow: none !important;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

  .queue-modal-footer {
    padding: 14px 18px;
  }

  .queue-modal-footer button {
    flex: 1;

    width: 100%;
  }

}

/* ==========================================
   QUEUE DETAIL MODAL
========================================== */

.queue-detail-box {
  width: min(620px, calc(100vw - 32px));
}


/* ==========================================
   DETAIL SECTION
========================================== */

.queue-detail-section {
  margin-bottom: 20px;
}

.queue-detail-section:last-child {
  margin-bottom: 0;
}

.queue-detail-label {
  margin-bottom: 7px;

  color: #777f8c;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 1px;
}

.queue-detail-value {
  color: #fff;

  font-size: 14px;

  font-weight: 600;

  line-height: 1.5;
}


/* ==========================================
   TYPE + STATUS
========================================== */

.queue-detail-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;

  margin-bottom: 20px;
}


/* ==========================================
   STATUS
========================================== */

.queue-detail-status {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  padding: 6px 10px;

  border-radius: 7px;

  font-size: 11px;

  font-weight: 700;
}

.queue-detail-status::before {
  content: "";

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: currentColor;

  box-shadow:
    0 0 8px currentColor;
}


/* WAITING */

.queue-detail-status.waiting {
  color: #f5c542;

  background:
    rgba(245,197,66,.08);

  border:
    1px solid rgba(245,197,66,.18);
}


/* PUBLISHING */

.queue-detail-status.publishing {
  color: #4da3ff;

  background:
    rgba(77,163,255,.08);

  border:
    1px solid rgba(77,163,255,.18);
}


/* CANCELLED */

.queue-detail-status.cancelled {
  color: #9da3ad;

  background:
    rgba(157,163,173,.08);

  border:
    1px solid rgba(157,163,173,.18);
}


/* PUBLISHED */

.queue-detail-status.published {
  color: #42d392;

  background:
    rgba(66,211,146,.08);

  border:
    1px solid rgba(66,211,146,.18);
}


/* FAILED */

.queue-detail-status.failed {
  color: #ff6574;

  background:
    rgba(255,101,116,.08);

  border:
    1px solid rgba(255,101,116,.18);
}


/* ==========================================
   CAPTION
========================================== */

.queue-detail-caption {
  max-height: 220px;

  overflow-y: auto;

  padding: 14px;

  background: #0b0d11;

  border:
    1px solid rgba(255,255,255,.07);

  border-radius: 10px;

  color: #c2c8d1;

  font-size: 12px;

  line-height: 1.6;

  white-space: pre-wrap;

  word-break: break-word;
}

.queue-detail-caption::-webkit-scrollbar {
  width: 5px;
}

.queue-detail-caption::-webkit-scrollbar-thumb {
  background: #343943;

  border-radius: 10px;
}


/* ==========================================
   FACEBOOK ID
========================================== */

.queue-detail-code {
  padding: 10px 12px;

  background: #0b0d11;

  border:
    1px solid rgba(255,255,255,.07);

  border-radius: 8px;

  color: #9da5b2;

  font-family:
    Consolas,
    Monaco,
    monospace;

  font-size: 11px;

  word-break: break-all;
}


/* ==========================================
   ERROR
========================================== */

.queue-detail-error {
  padding: 12px;

  background:
    rgba(255,101,116,.06);

  border:
    1px solid rgba(255,101,116,.15);

  border-radius: 9px;

  color: #ff7b88;

  font-size: 12px;

  line-height: 1.5;

  white-space: pre-wrap;

  word-break: break-word;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

  .queue-detail-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .queue-detail-box {
    width: 100%;
  }

}

/* ==========================================
   QUEUE CONFIRM MODAL
========================================== */

.queue-confirm-box {
  width: min(460px, calc(100vw - 32px));
}

.queue-confirm-box .queue-modal-body {
  text-align: center;
  padding: 30px 24px;
}


/* ICON */

.queue-confirm-icon {
  width: 58px;
  height: 58px;

  margin: 0 auto 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  background: rgba(245, 197, 66, .08);

  border: 1px solid rgba(245, 197, 66, .18);

  font-size: 25px;
}


/* MESSAGE */

.queue-confirm-message {
  color: #fff;

  font-size: 16px;

  font-weight: 700;

  line-height: 1.4;
}


/* DESCRIPTION */

.queue-confirm-description {
  max-width: 360px;

  margin: 9px auto 0;

  color: #858d99;

  font-size: 12px;

  line-height: 1.6;
}


/* ==========================================
   DANGER BUTTON
========================================== */

.queue-btn-danger {
  height: 40px !important;

  padding: 0 17px !important;

  border-radius: 9px !important;

  appearance: none !important;
  -webkit-appearance: none !important;

  background:
    linear-gradient(
      135deg,
      #ff5969,
      #d9364b
    ) !important;

  border: 1px solid
    rgba(255, 120, 135, .4) !important;

  color: #fff !important;

  font-family: inherit !important;

  font-size: 12px !important;

  font-weight: 700 !important;

  cursor: pointer !important;

  box-shadow:
    0 5px 18px
    rgba(220, 53, 69, .15);

  transition: all .2s ease !important;
}

.queue-btn-danger:hover {
  background:
    linear-gradient(
      135deg,
      #ff6c7b,
      #e33d51
    ) !important;

  box-shadow:
    0 7px 24px
    rgba(220, 53, 69, .25);

  transform: translateY(-1px);
}

.queue-btn-danger:active {
  transform: translateY(0);
}

.queue-btn-danger:disabled {
  opacity: .55 !important;

  cursor: wait !important;

  transform: none !important;

  box-shadow: none !important;
}


/* CANCEL THEME */

.queue-confirm-box.cancel-theme
.queue-confirm-icon {
  background:
    rgba(245, 197, 66, .08);

  border-color:
    rgba(245, 197, 66, .18);
}


/* DELETE THEME */

.queue-confirm-box.delete-theme
.queue-confirm-icon {
  background:
    rgba(255, 80, 95, .08);

  border-color:
    rgba(255, 80, 95, .18);
}


@media (max-width: 600px) {

  .queue-confirm-box {
    width: 100%;
  }

}

/* =========================================================
   HISTORY PAGE
   ========================================================= */


/* =========================
   HISTORY FILTER
   ========================= */

.history-filters {
  display: grid;
  grid-template-columns: 180px 180px minmax(240px, 1fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.history-filters .filter-group {
  min-width: 0;
}

.history-filters label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  opacity: 0.72;
}

.history-filters .search-group {
  width: 100%;
}


/* =========================
   HISTORY TABLE
   ========================= */

#historyTable {
  width: 100%;
  overflow-x: auto;
}

#historyTable table {
  width: 100%;
  min-width: 1050px;
  border-collapse: separate;
  border-spacing: 0;
}

#historyTable thead th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  white-space: nowrap;
}

#historyTable tbody td {
  padding: 15px 16px;
  vertical-align: middle;
  font-size: 13px;
}

#historyTable tbody tr {
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

#historyTable tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}


/* =========================
   CAPTION
   ========================= */

#historyTable .caption-cell {
  max-width: 320px;
  width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* =========================
   FACEBOOK ID
   ========================= */

#historyTable .facebook-id {
  display: inline-block;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: monospace;
  font-size: 11px;
  opacity: 0.75;
}


/* =========================
   MUTED
   ========================= */

#historyTable .muted {
  opacity: 0.45;
}


/* =========================
   HISTORY ACTIONS
   ========================= */

.history-actions {
  margin-top: 8px;
}

.retry-button,
.history-detail-button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.retry-button:hover,
.history-detail-button:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.history-detail-button {
  white-space: nowrap;
}


/* =========================
   HISTORY ERROR
   ========================= */

.history-error {
  max-width: 220px;
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(239, 80, 75, 0.07);
  border: 1px solid rgba(239, 80, 75, 0.15);
  font-size: 10px;
  line-height: 1.4;
  color: #ef8b87;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* =========================================================
   ABC GROUP — HISTORY GOLD EDITION
   Dark + Premium Gold
   ========================================================= */


/* =========================================================
   GOLD VARIABLES
   ========================================================= */

:root {
  --history-gold: #d4af37;
  --history-gold-light: #f5d76e;
  --history-gold-dark: #9d7b19;

  --history-gold-soft: rgba(212, 175, 55, 0.12);
  --history-gold-border: rgba(212, 175, 55, 0.28);

  --history-black: #0b0b0d;
  --history-panel: #111114;
  --history-panel-light: #17171b;

  --history-text: #f3f3f3;
  --history-muted: #929292;
}


/* =========================================================
   FILTER
   ========================================================= */

.history-filters {
  display: grid;
  grid-template-columns: 190px 190px minmax(250px, 1fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.history-filters .filter-group {
  min-width: 0;
}

.history-filters label {
  display: block;

  margin-bottom: 8px;

  color: var(--history-gold-light);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.history-filters .form-input {
  border-color: rgba(212, 175, 55, 0.18);

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.history-filters .form-input:focus {
  border-color: var(--history-gold);

  box-shadow:
    0 0 0 3px rgba(212, 175, 55, 0.08),
    0 0 18px rgba(212, 175, 55, 0.06);
}


/* =========================================================
   HISTORY TABLE WRAPPER
   ========================================================= */

#historyTable {
  width: 100%;

  overflow-x: auto;

  border: 1px solid rgba(212, 175, 55, 0.13);

  border-radius: 12px;

  background:
    linear-gradient(
      180deg,
      rgba(212, 175, 55, 0.025),
      transparent 120px
    );
}


/* =========================================================
   TABLE
   ========================================================= */

#historyTable table {
  width: 100%;

  min-width: 1100px;

  border-collapse: separate;
  border-spacing: 0;
}


/* TABLE HEADER */

#historyTable thead th {
  position: sticky;
  top: 0;
  z-index: 2;

  padding: 15px 16px;

  text-align: left;

  color: var(--history-gold-light);

  background:
    linear-gradient(
      180deg,
      rgba(212, 175, 55, 0.10),
      rgba(212, 175, 55, 0.035)
    );

  border-bottom: 1px solid rgba(212, 175, 55, 0.22);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.9px;

  text-transform: uppercase;

  white-space: nowrap;
}


/* GOLD LINE */

#historyTable thead tr::after {
  content: "";

  display: block;

  position: absolute;

  left: 0;
  right: 0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(212, 175, 55, 0.45),
      transparent
    );
}


/* TABLE BODY */

#historyTable tbody td {
  padding: 15px 16px;

  vertical-align: middle;

  border-bottom: 1px solid rgba(255, 255, 255, 0.035);

  color: var(--history-text);

  font-size: 13px;
}


/* LAST ROW */

#historyTable tbody tr:last-child td {
  border-bottom: none;
}


/* ROW HOVER */

#historyTable tbody tr {
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

#historyTable tbody tr:hover {
  background:
    linear-gradient(
      90deg,
      rgba(212, 175, 55, 0.045),
      rgba(212, 175, 55, 0.012),
      transparent
    );

  box-shadow:
    inset 3px 0 0 rgba(212, 175, 55, 0.65);
}


/* =========================================================
   PAGE NAME
   ========================================================= */

#historyTable tbody td strong {
  color: #f1d878;

  font-weight: 700;
}


/* =========================================================
   CAPTION
   ========================================================= */

#historyTable .caption-cell {
  width: 300px;
  max-width: 300px;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  color: #d7d7d7;
}


/* =========================================================
   FACEBOOK ID
   ========================================================= */

#historyTable .facebook-id {
  display: inline-block;

  max-width: 170px;

  padding: 5px 7px;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  border-radius: 5px;

  background: rgba(212, 175, 55, 0.045);

  border: 1px solid rgba(212, 175, 55, 0.10);

  color: #cdb866;

  font-family: monospace;

  font-size: 10px;
}


/* =========================================================
   MUTED
   ========================================================= */

#historyTable .muted {
  color: #666;

  opacity: 0.8;
}


/* =========================================================
   STATUS BADGES
   ========================================================= */

#historyTable .badge {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 82px;

  padding: 6px 9px;

  border-radius: 6px;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.2px;

  border: 1px solid transparent;
}


/* PUBLISHED */

#historyTable .badge.success {
  color: #e8d27a;

  background: rgba(212, 175, 55, 0.09);

  border-color: rgba(212, 175, 55, 0.25);

  box-shadow:
    inset 0 0 10px rgba(212, 175, 55, 0.025);
}


/* FAILED */

#historyTable .badge.danger {
  color: #ff8c87;

  background: rgba(239, 80, 75, 0.07);

  border-color: rgba(239, 80, 75, 0.20);
}


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.history-actions {
  display: flex;

  gap: 7px;

  margin-top: 8px;
}


/* DETAIL */

.history-detail-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 5px;

  min-width: 82px;

  padding: 7px 10px;

  border-radius: 7px;

  border: 1px solid rgba(212, 175, 55, 0.28);

  background:
    linear-gradient(
      180deg,
      rgba(212, 175, 55, 0.10),
      rgba(212, 175, 55, 0.035)
    );

  color: #e7cb67;

  font-size: 11px;
  font-weight: 700;

  cursor: pointer;

  transition:
    all 0.2s ease;
}


.history-detail-button:hover {
  border-color: rgba(212, 175, 55, 0.60);

  background:
    linear-gradient(
      180deg,
      rgba(212, 175, 55, 0.20),
      rgba(212, 175, 55, 0.07)
    );

  color: #ffe88a;

  box-shadow:
    0 0 16px rgba(212, 175, 55, 0.10);

  transform: translateY(-1px);
}


/* RETRY */

.retry-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 6px 10px;

  border-radius: 6px;

  border: 1px solid rgba(212, 175, 55, 0.20);

  background: rgba(212, 175, 55, 0.045);

  color: #d7bd60;

  font-size: 10px;
  font-weight: 700;

  cursor: pointer;

  transition: all 0.2s ease;
}


.retry-button:hover {
  border-color: rgba(212, 175, 55, 0.50);

  background: rgba(212, 175, 55, 0.12);

  color: #ffe58a;
}


/* =========================================================
   ERROR
   ========================================================= */

.history-error {
  max-width: 220px;

  margin-top: 8px;

  padding: 7px 9px;

  border-radius: 6px;

  background: rgba(239, 80, 75, 0.055);

  border: 1px solid rgba(239, 80, 75, 0.16);

  color: #ef8b87;

  font-size: 10px;

  line-height: 1.4;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}


/* =========================================================
   DETAIL MODAL
   ========================================================= */

#historyDetailModal {
  position: fixed;

  inset: 0;

  z-index: 99999;

  display: none;
}


#historyDetailModal.show {
  display: block;
}


/* OVERLAY */

.history-modal-overlay {
  position: fixed;

  inset: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 24px;

  background:
    radial-gradient(
      circle at center,
      rgba(212, 175, 55, 0.055),
      transparent 35%
    ),
    rgba(0, 0, 0, 0.78);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

  animation: historyGoldFade 0.18s ease;
}


/* =========================================================
   MODAL
   ========================================================= */

.history-modal {
  position: relative;

  width: min(720px, 100%);

  max-height: min(780px, 90vh);

  display: flex;

  flex-direction: column;

  overflow: hidden;

  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      #181816,
      #0e0e0f 65%
    );

  border: 1px solid rgba(212, 175, 55, 0.28);

  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(212, 175, 55, 0.06),
    inset 0 1px 0 rgba(255, 225, 120, 0.08);

  animation: historyGoldSlide 0.22s ease;
}


/* GOLD TOP LINE */

.history-modal::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--history-gold),
      var(--history-gold-light),
      var(--history-gold),
      transparent
    );

  box-shadow:
    0 0 14px rgba(212, 175, 55, 0.30);
}


/* =========================================================
   MODAL HEADER
   ========================================================= */

.history-modal-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 21px 22px;

  border-bottom: 1px solid rgba(212, 175, 55, 0.12);

  background:
    linear-gradient(
      90deg,
      rgba(212, 175, 55, 0.045),
      transparent 65%
    );
}


.history-modal-header > div {
  display: flex;

  flex-direction: column;

  gap: 4px;
}


.history-modal-header strong {
  color: #f1d36a;

  font-size: 14px;

  font-weight: 800;

  letter-spacing: 1px;
}


.history-modal-header small {
  color: #777;

  font-size: 10px;

  letter-spacing: 0.3px;
}


/* =========================================================
   CLOSE
   ========================================================= */

.history-modal-close {
  width: 34px;
  height: 34px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 8px;

  border: 1px solid rgba(212, 175, 55, 0.16);

  background: rgba(212, 175, 55, 0.035);

  color: #bfa44f;

  cursor: pointer;

  transition: all 0.2s ease;
}


.history-modal-close:hover {
  border-color: rgba(212, 175, 55, 0.45);

  background: rgba(212, 175, 55, 0.10);

  color: #ffe88a;

  box-shadow:
    0 0 14px rgba(212, 175, 55, 0.08);

  transform: rotate(4deg);
}


/* =========================================================
   MODAL BODY
   ========================================================= */

.history-modal-body {
  padding: 22px;

  overflow-y: auto;
}


/* GOLD SCROLLBAR */

.history-modal-body::-webkit-scrollbar,
.history-caption-full::-webkit-scrollbar {
  width: 6px;
}

.history-modal-body::-webkit-scrollbar-track,
.history-caption-full::-webkit-scrollbar-track {
  background: transparent;
}

.history-modal-body::-webkit-scrollbar-thumb,
.history-caption-full::-webkit-scrollbar-thumb {
  border-radius: 10px;

  background:
    linear-gradient(
      180deg,
      #d4af37,
      #80651d
    );
}


/* =========================================================
   DETAIL GRID
   ========================================================= */

.history-detail-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 13px;
}


/* =========================================================
   DETAIL ITEM
   ========================================================= */

.history-detail-item {
  min-width: 0;

  padding: 14px;

  border-radius: 10px;

  background:
    linear-gradient(
      145deg,
      rgba(212, 175, 55, 0.045),
      rgba(255, 255, 255, 0.012)
    );

  border: 1px solid rgba(212, 175, 55, 0.10);

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}


.history-detail-item:hover {
  border-color: rgba(212, 175, 55, 0.22);

  background:
    linear-gradient(
      145deg,
      rgba(212, 175, 55, 0.07),
      rgba(255, 255, 255, 0.015)
    );
}


/* LABEL */

.history-detail-label {
  margin-bottom: 7px;

  color: #9d8430;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.8px;

  text-transform: uppercase;
}


/* VALUE */

.history-detail-value {
  color: #e8e8e8;

  font-size: 13px;

  line-height: 1.5;

  word-break: break-word;
}


/* =========================================================
   CAPTION
   ========================================================= */

.caption-detail {
  margin-top: 13px;
}


.history-caption-full {
  max-height: 190px;

  overflow-y: auto;

  padding: 13px;

  border-radius: 8px;

  background: rgba(0, 0, 0, 0.22);

  border: 1px solid rgba(212, 175, 55, 0.08);

  color: #d7d7d7;

  font-size: 13px;

  line-height: 1.7;

  word-break: break-word;
}


/* =========================================================
   ERROR DETAIL
   ========================================================= */

.history-detail-item.error {
  margin-top: 13px;

  background:
    linear-gradient(
      145deg,
      rgba(239, 80, 75, 0.07),
      rgba(239, 80, 75, 0.025)
    );

  border-color: rgba(239, 80, 75, 0.18);
}


.history-detail-item.error
.history-detail-label {
  color: #b75c58;
}


.history-detail-item.error
.history-detail-value {
  color: #ef8b87;
}


/* =========================================================
   FACEBOOK LINK
   ========================================================= */

.history-facebook-link {
  display: inline-flex;

  align-items: center;

  margin-left: 9px;

  padding: 4px 7px;

  border-radius: 5px;

  border: 1px solid rgba(212, 175, 55, 0.20);

  background: rgba(212, 175, 55, 0.05);

  color: #d8bd59;

  font-size: 10px;

  font-weight: 700;

  text-decoration: none;

  transition: all 0.2s ease;
}


.history-facebook-link:hover {
  color: #ffe78a;

  border-color: rgba(212, 175, 55, 0.45);

  background: rgba(212, 175, 55, 0.10);
}


/* =========================================================
   MODAL FOOTER
   ========================================================= */

.history-modal-footer {
  display: flex;

  justify-content: flex-end;

  padding: 16px 22px;

  border-top: 1px solid rgba(212, 175, 55, 0.10);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(212, 175, 55, 0.025)
    );
}


.history-modal-close-btn {
  min-width: 90px;

  padding: 9px 16px;

  border-radius: 8px;

  border: 1px solid rgba(212, 175, 55, 0.25);

  background:
    linear-gradient(
      180deg,
      rgba(212, 175, 55, 0.13),
      rgba(212, 175, 55, 0.045)
    );

  color: #dfc45e;

  font-size: 11px;

  font-weight: 700;

  cursor: pointer;

  transition: all 0.2s ease;
}


.history-modal-close-btn:hover {
  border-color: rgba(212, 175, 55, 0.55);

  background:
    linear-gradient(
      180deg,
      rgba(212, 175, 55, 0.22),
      rgba(212, 175, 55, 0.08)
    );

  color: #ffe98d;

  box-shadow:
    0 0 18px rgba(212, 175, 55, 0.10);
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

#historyTable .empty-state {
  border: 1px solid rgba(212, 175, 55, 0.10);

  background:
    radial-gradient(
      circle at center,
      rgba(212, 175, 55, 0.045),
      transparent 55%
    );
}


#historyTable .empty-state strong {
  color: #e4c966;
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes historyGoldFade {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}


@keyframes historyGoldSlide {

  from {
    opacity: 0;

    transform:
      translateY(14px)
      scale(0.985);
  }

  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

  .history-filters {
    grid-template-columns: 1fr 1fr;
  }

  .history-filters .search-group {
    grid-column: 1 / -1;
  }

}


@media (max-width: 640px) {

  .history-filters {
    grid-template-columns: 1fr;
  }

  .history-filters .search-group {
    grid-column: auto;
  }

  .history-modal-overlay {
    padding: 12px;
  }

  .history-modal {
    max-height: 94vh;

    border-radius: 13px;
  }

  .history-modal-header {
    padding: 17px;
  }

  .history-modal-body {
    padding: 16px;
  }

  .history-detail-grid {
    grid-template-columns: 1fr;
  }

  .history-modal-footer {
    padding: 14px 16px;
  }

}


/* =========================================================
   ABC GROUP — SCHEDULE QUEUE
   HISTORY-STYLE GOLD UI
   Tambahkan paling bawah style.css
   ========================================================= */

:root {
  --queue-bg: #0b0d11;
  --queue-panel: #101217;
  --queue-panel-2: #14171d;
  --queue-border: rgba(212, 175, 55, .16);
  --queue-border-soft: rgba(255, 255, 255, .055);
  --queue-gold: #d4af37;
  --queue-gold-light: #f2d66b;
  --queue-text: #eceef2;
  --queue-muted: #777e89;
}

/* MAIN QUEUE PANEL */
.main > .panel {
  background: #101217 !important;
  border: 1px solid rgba(212, 175, 55, .12) !important;
  border-radius: 15px !important;
  padding: 18px 20px 20px !important;
  box-shadow: 0 12px 35px rgba(0,0,0,.22) !important;
}

/* TABLE WRAPPER */
#queueTable {
  width: 100%;
  overflow-x: auto;
}

/* QUEUE TABLE */
#queueTable table {
  width: 100%;
  min-width: 950px;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #0e1015 !important;
  border: 1px solid rgba(212, 175, 55, .12) !important;
  border-radius: 13px !important;
  overflow: hidden;
}

/* HEADER */
#queueTable table thead {
  background:
    linear-gradient(
      180deg,
      rgba(212,175,55,.085),
      rgba(212,175,55,.035)
    ) !important;
}

#queueTable table thead th {
  height: 44px !important;
  padding: 0 16px !important;

  color: #e8c957 !important;
  background: transparent !important;

  border-bottom: 1px solid rgba(212,175,55,.18) !important;

  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .55px !important;

  white-space: nowrap;
  text-align: left;
}

/* BODY */
#queueTable table tbody td {
  height: 60px !important;
  padding: 10px 16px !important;

  color: #d9dce2 !important;

  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,.045) !important;

  font-size: 13px !important;
  vertical-align: middle !important;
}

#queueTable table tbody tr:last-child td {
  border-bottom: none !important;
}

#queueTable table tbody tr {
  transition:
    background .18s ease,
    box-shadow .18s ease !important;
}

#queueTable table tbody tr:hover {
  background: rgba(212,175,55,.035) !important;
}

/* PAGE NAME */
#queueTable table td strong {
  color: #f1d76f !important;
  font-weight: 800 !important;
}

/* CAPTION */
#queueTable .caption-cell {
  max-width: 360px;
  color: #c9ccd2 !important;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FACEBOOK ID */
#queueTable .facebook-id {
  display: inline-block;

  max-width: 175px;
  padding: 6px 8px;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: #b99b42 !important;
  background: rgba(212,175,55,.035) !important;

  border: 1px solid rgba(212,175,55,.08) !important;
  border-radius: 5px;

  font-size: 10px !important;
  font-family: Consolas, Monaco, monospace !important;
}

#queueTable .muted {
  color: #555c66 !important;
}

/* =========================================================
   QUEUE STATUS
   ========================================================= */

#queueTable .badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  min-width: 84px;
  min-height: 28px;

  padding: 4px 10px !important;

  border-radius: 6px !important;

  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .15px !important;
}

/* WAITING */
#queueTable .badge.waiting {
  color: #e8c957 !important;
  background: rgba(212,175,55,.075) !important;
  border: 1px solid rgba(212,175,55,.22) !important;
}

/* PUBLISHING */
#queueTable .badge.publishing {
  color: #8fb1ff !important;
  background: rgba(102,142,219,.075) !important;
  border: 1px solid rgba(102,142,219,.22) !important;
}

/* CANCELLED */
#queueTable .badge.cancelled {
  color: #9ca2ac !important;
  background: rgba(255,255,255,.035) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
}

/* FAILED */
#queueTable .badge.failed {
  color: #ef8888 !important;
  background: rgba(239,119,119,.075) !important;
  border: 1px solid rgba(239,119,119,.20) !important;
}

/* =========================================================
   QUEUE ACTION BUTTONS
   ========================================================= */

.queue-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  white-space: nowrap;
}

.queue-action-btn {
  width: 31px !important;
  height: 31px !important;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  padding: 0 !important;

  color: #d8dbe0 !important;
  background: #14171c !important;

  border: 1px solid rgba(212,175,55,.16) !important;
  border-radius: 6px !important;

  font-size: 12px !important;
  cursor: pointer;

  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    transform .18s ease !important;
}

.queue-action-btn:hover {
  color: #f5d76e !important;
  background: rgba(212,175,55,.075) !important;
  border-color: rgba(212,175,55,.35) !important;
  transform: translateY(-1px);
}

.queue-action-btn.danger {
  color: #c97b7b !important;
}

.queue-action-btn.danger:hover {
  color: #ff9292 !important;
  background: rgba(239,119,119,.08) !important;
  border-color: rgba(239,119,119,.28) !important;
}

.queue-locked {
  color: #666d77;
  font-size: 12px;
}

/* =========================================================
   EDIT / DETAIL / CONFIRM MODALS
   ========================================================= */

.queue-modal {
  position: fixed !important;
  inset: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 24px !important;

  background: rgba(3,4,6,.72) !important;

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);

  z-index: 9999 !important;
}

.queue-modal:not(.active) {
  display: none !important;
}

.queue-modal-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: transparent !important;
}

/* MODAL BOX */
.queue-modal-box {
  position: relative !important;
  z-index: 2;

  width: min(560px, 100%) !important;
  max-height: calc(100vh - 48px);
  overflow: auto;

  background:
    linear-gradient(
      145deg,
      #15181e 0%,
      #0d0f13 100%
    ) !important;

  border: 1px solid rgba(212,175,55,.20) !important;
  border-radius: 14px !important;

  box-shadow:
    0 30px 80px rgba(0,0,0,.58),
    0 0 35px rgba(212,175,55,.055) !important;
}

/* MODAL HEADER */
.queue-modal-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;

  padding: 18px 20px !important;

  border-bottom: 1px solid rgba(255,255,255,.055) !important;
}

.queue-modal-header h3 {
  margin: 0 0 5px !important;

  color: #f3f3f3 !important;

  font-size: 17px !important;
  font-weight: 800 !important;
}

.queue-modal-header p {
  margin: 0 !important;
  color: #777e88 !important;
  font-size: 11px !important;
}

.queue-modal-close {
  width: 31px !important;
  height: 31px !important;

  display: flex !important;
  align-items: center;
  justify-content: center;

  padding: 0 !important;

  color: #8b929d !important;
  background: rgba(255,255,255,.025) !important;

  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 6px !important;

  font-size: 20px !important;
  line-height: 1 !important;
  cursor: pointer;
}

.queue-modal-close:hover {
  color: #f5d76e !important;
  border-color: rgba(212,175,55,.25) !important;
  background: rgba(212,175,55,.05) !important;
}

/* MODAL BODY */
.queue-modal-body {
  padding: 20px !important;
}

/* INFO BLOCK */
.queue-edit-info,
.queue-detail-section {
  margin-bottom: 14px !important;
  padding: 13px 14px !important;

  background: rgba(255,255,255,.018) !important;

  border: 1px solid rgba(255,255,255,.055) !important;
  border-radius: 8px !important;
}

.queue-edit-label,
.queue-detail-label {
  margin-bottom: 6px !important;

  color: #b99b42 !important;

  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: .7px !important;
  text-transform: uppercase !important;
}

.queue-edit-value,
.queue-detail-value {
  color: #ededed !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.queue-edit-caption,
.queue-detail-caption {
  color: #c1c5cb !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  white-space: pre-wrap;
  word-break: break-word;
}

/* EDIT DATE/TIME */
.queue-edit-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px !important;

  margin-top: 2px;
}

.queue-edit-field {
  padding: 13px 14px !important;

  background: rgba(255,255,255,.018) !important;

  border: 1px solid rgba(255,255,255,.055) !important;
  border-radius: 8px !important;
}

.queue-edit-field label {
  display: block;

  margin-bottom: 8px !important;

  color: #b99b42 !important;

  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: .65px !important;
  text-transform: uppercase !important;
}

.queue-edit-field input {
  width: 100% !important;
  box-sizing: border-box;

  min-height: 38px;

  padding: 9px 10px !important;

  color: #eee !important;
  background: #0d0f13 !important;

  border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 6px !important;
}

.queue-edit-field input:focus {
  border-color: rgba(212,175,55,.45) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,.055) !important;
  outline: none !important;
}

/* CODE */
.queue-detail-code {
  display: inline-block;

  max-width: 100%;

  padding: 7px 9px;

  color: #b99b42 !important;
  background: rgba(212,175,55,.035) !important;

  border: 1px solid rgba(212,175,55,.08) !important;
  border-radius: 5px !important;

  font-family: Consolas, Monaco, monospace;
  font-size: 10px !important;

  word-break: break-all;
}

/* ERROR */
.queue-edit-error,
.queue-detail-error {
  margin-top: 12px !important;
  padding: 11px 12px !important;

  color: #ef9696 !important;
  background: rgba(239,119,119,.055) !important;

  border: 1px solid rgba(239,119,119,.16) !important;
  border-radius: 7px !important;

  font-size: 11px !important;
  line-height: 1.5;
}

/* CONFIRM */
.queue-confirm-box {
  width: min(440px, 100%) !important;
}

.queue-confirm-icon {
  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 14px;

  background: rgba(212,175,55,.07);

  border: 1px solid rgba(212,175,55,.16);
  border-radius: 50%;

  font-size: 23px;
}

.queue-confirm-message {
  color: #f1f1f1;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.queue-confirm-description {
  margin-top: 7px;

  color: #7d838d;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

/* DELETE CONFIRM */
.queue-confirm-box.delete-theme .queue-confirm-icon {
  background: rgba(239,119,119,.06);
  border-color: rgba(239,119,119,.18);
}

.queue-confirm-box.delete-theme .queue-confirm-message {
  color: #ef9696;
}

/* MODAL FOOTER */
.queue-modal-footer {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;

  gap: 8px !important;

  padding: 14px 20px !important;

  border-top: 1px solid rgba(255,255,255,.055) !important;
}

.queue-btn-secondary,
.queue-btn-primary,
.queue-btn-danger {
  min-height: 36px !important;

  padding: 0 14px !important;

  border-radius: 6px !important;

  font-size: 11px !important;
  font-weight: 800 !important;

  cursor: pointer;

  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .18s ease !important;
}

.queue-btn-secondary {
  color: #b5bac2 !important;
  background: #14171c !important;
  border: 1px solid rgba(255,255,255,.09) !important;
}

.queue-btn-secondary:hover {
  color: #f0d66c !important;
  background: rgba(212,175,55,.045) !important;
  border-color: rgba(212,175,55,.20) !important;
}

.queue-btn-primary {
  color: #111 !important;
  background: linear-gradient(135deg, #f0d76f, #c49a28) !important;
  border: 1px solid rgba(245,215,111,.55) !important;
  box-shadow: 0 5px 16px rgba(212,175,55,.12);
}

.queue-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(212,175,55,.20);
}

.queue-btn-danger {
  color: #fff !important;
  background: #7d3838 !important;
  border: 1px solid rgba(239,119,119,.28) !important;
}

.queue-btn-danger:hover {
  background: #954444 !important;
}

/* MOBILE */
@media (max-width: 700px) {

  .main > .panel {
    padding: 10px !important;
    border-radius: 11px !important;
  }

  #queueTable table {
    min-width: 900px;
  }

  .queue-edit-row {
    grid-template-columns: 1fr;
  }

  .queue-modal {
    padding: 12px !important;
  }

  .queue-modal-box {
    max-height: calc(100vh - 24px);
  }

  .queue-modal-footer {
    flex-wrap: wrap;
  }

  .queue-btn-secondary,
  .queue-btn-primary,
  .queue-btn-danger {
    flex: 1;
  }
}


/* =========================================================
   ABC GROUP
   MASTER PANEL
   PERSONAL ACCOUNTS — ULTRA GOLD / GLASS / HUD
   VERSION 2
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

.main > .panel:nth-of-type(2) {

  --gold:
    #f5c84b;

  --gold-light:
    #ffe69a;

  --gold-dark:
    #8d681f;

  --gold-soft:
    rgba(245, 200, 75, .16);

  --gold-glow:
    rgba(245, 200, 75, .32);

  --panel:
    #101318;

  --panel-light:
    #15191f;

  --text:
    #e9eaec;

  --muted:
    #727984;

}


/* =========================================================
   MAIN PERSONAL ACCOUNTS PANEL
========================================================= */

.main > .panel:nth-of-type(2) {

  position:
    relative !important;

  isolation:
    isolate;

  overflow:
    hidden !important;

  padding:
    0 !important;

  background:

    radial-gradient(
      circle at 85% 0%,
      rgba(245,200,75,.085),
      transparent 28%
    ),

    radial-gradient(
      circle at 0% 100%,
      rgba(245,200,75,.025),
      transparent 30%
    ),

    linear-gradient(
      145deg,
      #15191f 0%,
      #111419 42%,
      #0c0f13 100%
    ) !important;

  border:
    1px solid rgba(245,200,75,.22) !important;

  border-radius:
    16px !important;

  box-shadow:

    0 18px 50px
      rgba(0,0,0,.38),

    0 0 25px
      rgba(245,200,75,.045),

    inset 0 1px 0
      rgba(255,255,255,.035),

    inset 0 0 50px
      rgba(245,200,75,.012) !important;

  animation:
    masterPanelBreath 6s ease-in-out infinite;
}


/* =========================================================
   OUTER GOLD BORDER
========================================================= */

.main > .panel:nth-of-type(2)::before {

  content:
    "";

  position:
    absolute;

  z-index:
    10;

  top:
    0;

  left:
    0;

  width:
    100%;

  height:
    2px;

  background:

    linear-gradient(
      90deg,
      transparent 0%,
      rgba(245,200,75,.25) 12%,
      #f5c84b 35%,
      #ffe69a 50%,
      #f5c84b 65%,
      rgba(245,200,75,.25) 88%,
      transparent 100%
    );

  box-shadow:

    0 0 6px
      rgba(245,200,75,.75),

    0 0 18px
      rgba(245,200,75,.35),

    0 0 35px
      rgba(245,200,75,.12);

  animation:
    goldScan 5s linear infinite;

  pointer-events:
    none;
}


/* =========================================================
   AMBIENT LIGHT
========================================================= */

.main > .panel:nth-of-type(2)::after {

  content:
    "";

  position:
    absolute;

  z-index:
    -1;

  width:
    420px;

  height:
    420px;

  top:
    -260px;

  right:
    -160px;

  border-radius:
    50%;

  background:

    radial-gradient(
      circle,
      rgba(245,200,75,.17) 0%,
      rgba(245,200,75,.07) 22%,
      rgba(245,200,75,.025) 45%,
      transparent 70%
    );

  filter:
    blur(5px);

  animation:
    ambientGold 7s ease-in-out infinite;

  pointer-events:
    none;
}


/* =========================================================
   HEADER
========================================================= */

.main > .panel:nth-of-type(2)
.panel-header {

  position:
    relative !important;

  z-index:
    2;

  min-height:
    82px;

  display:
    flex !important;

  align-items:
    center !important;

  justify-content:
    space-between !important;

  gap:
    25px;

  margin:
    0 !important;

  padding:
    18px 20px 17px 20px !important;

  background:

    linear-gradient(
      180deg,
      rgba(255,255,255,.025),
      rgba(255,255,255,.008)
    );

  border-bottom:
    1px solid rgba(245,200,75,.10) !important;

  box-sizing:
    border-box;
}


/* HEADER LIGHT */

.main > .panel:nth-of-type(2)
.panel-header::before {

  content:
    "";

  position:
    absolute;

  left:
    20px;

  bottom:
    -1px;

  width:
    145px;

  height:
    1px;

  background:

    linear-gradient(
      90deg,
      #f5c84b,
      rgba(245,200,75,.25),
      transparent
    );

  box-shadow:
    0 0 8px rgba(245,200,75,.5);
}


/* =========================================================
   TITLE AREA
========================================================= */

.main > .panel:nth-of-type(2)
.panel-header h2 {

  position:
    relative;

  margin:
    0 !important;

  color:
    #f4f4f5 !important;

  font-size:
    16px !important;

  font-weight:
    850 !important;

  letter-spacing:
    -.25px !important;

  text-shadow:
    0 0 14px
      rgba(245,200,75,.08);
}


/* GOLD DOT BEFORE TITLE */

.main > .panel:nth-of-type(2)
.panel-header h2::before {

  content:
    "";

  display:
    inline-block;

  width:
    7px;

  height:
    7px;

  margin-right:
    9px;

  vertical-align:
    2px;

  border-radius:
    50%;

  background:
    #f5c84b;

  box-shadow:

    0 0 5px
      #f5c84b,

    0 0 13px
      rgba(245,200,75,.75),

    0 0 25px
      rgba(245,200,75,.25);
}


/* DESCRIPTION */

.main > .panel:nth-of-type(2)
.panel-header p {

  margin:
    5px 0 0 16px !important;

  color:
    #737b85 !important;

  font-size:
    10px !important;

  letter-spacing:
    .1px;
}


/* =========================================================
   CREATE ACCOUNT — HERO BUTTON
========================================================= */

.main > .panel:nth-of-type(2)
.primary-button {

  position:
    relative !important;

  z-index:
    20;

  height:
    44px !important;

  min-height:
    44px !important;

  padding:
    0 20px !important;

  display:
    inline-flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  gap:
    6px;

  overflow:
    hidden;

  border-radius:
    10px !important;

  background:

    linear-gradient(
      135deg,
      #fff0b4 0%,
      #f8d15e 27%,
      #e5b63c 58%,
      #b98220 100%
    ) !important;

  border:
    1px solid
      rgba(255,237,164,.95) !important;

  color:
    #171106 !important;

  font-size:
    10px !important;

  font-weight:
    900 !important;

  letter-spacing:
    .35px;

  box-shadow:

    0 0 7px
      rgba(245,200,75,.30),

    0 0 22px
      rgba(245,200,75,.13),

    0 8px 24px
      rgba(0,0,0,.30),

    inset 0 1px 0
      rgba(255,255,255,.72),

    inset 0 -1px 0
      rgba(93,61,7,.30);

  transition:
    all .25s ease !important;
}


/* BUTTON LIGHT SWEEP */

.main > .panel:nth-of-type(2)
.primary-button::before {

  content:
    "";

  position:
    absolute;

  top:
    -60%;

  left:
    -80%;

  width:
    45%;

  height:
    220%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.60),
      transparent
    );

  transform:
    rotate(18deg);

  transition:
    left .65s ease;

  pointer-events:
    none;
}


.main > .panel:nth-of-type(2)
.primary-button:hover::before {

  left:
    145%;
}


.main > .panel:nth-of-type(2)
.primary-button:hover {

  transform:
    translateY(-2px)
    scale(1.015);

  filter:
    brightness(1.08);

  box-shadow:

    0 0 12px
      rgba(245,200,75,.55),

    0 0 32px
      rgba(245,200,75,.20),

    0 12px 28px
      rgba(0,0,0,.35),

    inset 0 1px 0
      rgba(255,255,255,.80) !important;
}


/* =========================================================
   TABLE AREA
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable {

  position:
    relative;

  z-index:
    2;

  width:
    100% !important;

  max-width:
    100% !important;

  padding:
    0 14px 14px 14px;

  box-sizing:
    border-box;

  overflow-x:
    auto !important;
}


/* =========================================================
   TABLE
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable table {

  width:
    100% !important;

  min-width:
    850px;

  border-collapse:
    separate !important;

  border-spacing:
    0 5px !important;
}


/* =========================================================
   TABLE HEADER
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable thead th {

  padding:
    8px 12px !important;

  background:
    transparent !important;

  border:
    none !important;

  color:
    #69717c !important;

  font-size:
    8px !important;

  font-weight:
    850 !important;

  letter-spacing:
    1px !important;

  text-transform:
    uppercase;

  text-align:
    left !important;

  white-space:
    nowrap;
}


/* =========================================================
   ROW — CARD STYLE
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable tbody tr {

  position:
    relative;

  transition:
    transform .2s ease,
    filter .2s ease;
}


/* =========================================================
   CELLS
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable tbody td {

  position:
    relative;

  padding:
    14px 12px !important;

  background:

    linear-gradient(
      100deg,
      rgba(20,24,29,.98),
      rgba(15,18,23,.98)
    ) !important;

  border-top:
    1px solid rgba(255,255,255,.025) !important;

  border-bottom:
    1px solid rgba(255,255,255,.035) !important;

  color:
    #b9bec5 !important;

  font-size:
    10px !important;

  vertical-align:
    middle !important;

  transition:
    all .2s ease;
}


/* FIRST CELL */

.main > .panel:nth-of-type(2)
#usersTable tbody td:first-child {

  border-left:
    1px solid rgba(245,200,75,.07) !important;

  border-radius:
    10px 0 0 10px;
}


/* LAST CELL */

.main > .panel:nth-of-type(2)
#usersTable tbody td:last-child {

  border-right:
    1px solid rgba(245,200,75,.07) !important;

  border-radius:
    0 10px 10px 0;
}


/* =========================================================
   LEFT GOLD INDICATOR
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable tbody td:first-child::before {

  content:
    "";

  position:
    absolute;

  left:
    -1px;

  top:
    24%;

  width:
    2px;

  height:
    52%;

  border-radius:
    10px;

  background:
    #f5c84b;

  box-shadow:

    0 0 5px
      rgba(245,200,75,.80),

    0 0 13px
      rgba(245,200,75,.35);

  opacity:
    .18;

  transition:
    opacity .2s ease,
    height .2s ease;
}


/* =========================================================
   ROW HOVER
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable tbody tr:hover {

  transform:
    translateX(2px);

  filter:
    brightness(1.08);
}


.main > .panel:nth-of-type(2)
#usersTable tbody tr:hover td {

  background:

    linear-gradient(
      100deg,
      rgba(245,200,75,.075),
      rgba(245,200,75,.025),
      rgba(15,18,23,.98)
    ) !important;

  border-top-color:
    rgba(245,200,75,.12) !important;

  border-bottom-color:
    rgba(245,200,75,.14) !important;

  box-shadow:
    inset 0 0 22px
      rgba(245,200,75,.018);
}


.main > .panel:nth-of-type(2)
#usersTable tbody tr:hover td:first-child {

  border-left-color:
    rgba(245,200,75,.28) !important;
}


.main > .panel:nth-of-type(2)
#usersTable tbody tr:hover td:last-child {

  border-right-color:
    rgba(245,200,75,.28) !important;
}


.main > .panel:nth-of-type(2)
#usersTable tbody tr:hover
td:first-child::before {

  opacity:
    1;

  height:
    70%;
}


/* =========================================================
   USERNAME
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable td:first-child strong {

  display:
    inline-block;

  color:
    #e8e9eb !important;

  font-size:
    10px !important;

  font-weight:
    800 !important;

  letter-spacing:
    .15px;

  transition:
    color .2s ease,
    text-shadow .2s ease,
    transform .2s ease;
}


.main > .panel:nth-of-type(2)
#usersTable tbody tr:hover
td:first-child strong {

  color:
    #ffe69a !important;

  text-shadow:

    0 0 6px
      rgba(245,200,75,.40),

    0 0 15px
      rgba(245,200,75,.12);

  transform:
    translateX(3px);
}


/* =========================================================
   STATUS
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable .badge {

  position:
    relative;

  display:
    inline-flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  min-width:
    58px !important;

  height:
    24px !important;

  padding:
    0 10px !important;

  border-radius:
    999px !important;

  font-size:
    8px !important;

  font-weight:
    850 !important;

  letter-spacing:
    .5px !important;

  text-transform:
    uppercase;
}


/* ACTIVE */

.main > .panel:nth-of-type(2)
#usersTable .badge.success {

  color:
    #63e0a5 !important;

  background:

    linear-gradient(
      90deg,
      rgba(53,205,145,.10),
      rgba(53,205,145,.035)
    ) !important;

  border:
    1px solid
      rgba(53,205,145,.22) !important;

  box-shadow:

    0 0 7px
      rgba(53,205,145,.08),

    inset 0 0 9px
      rgba(53,205,145,.025);
}


/* ACTIVE DOT */

.main > .panel:nth-of-type(2)
#usersTable .badge.success::before {

  content:
    "";

  width:
    5px;

  height:
    5px;

  margin-right:
    6px;

  border-radius:
    50%;

  background:
    #63e0a5;

  box-shadow:
    0 0 5px #63e0a5;

  animation:
    activePulse 2s ease-in-out infinite;
}


/* DISABLED */

.main > .panel:nth-of-type(2)
#usersTable .badge.danger {

  color:
    #f08e8e !important;

  background:
    rgba(239,119,119,.055) !important;

  border:
    1px solid
      rgba(239,119,119,.20) !important;
}


/* =========================================================
   ACTION AREA
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable .action-buttons {

  display:
    flex !important;

  align-items:
    center !important;

  justify-content:
    flex-start !important;

  gap:
    5px !important;

  flex-wrap:
    nowrap !important;

  white-space:
    nowrap !important;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable .action-buttons
.small-button {

  position:
    relative;

  height:
    29px !important;

  min-height:
    29px !important;

  padding:
    0 9px !important;

  margin:
    0 !important;

  display:
    inline-flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  border-radius:
    7px !important;

  background:

    linear-gradient(
      145deg,
      #181b20,
      #111419
    ) !important;

  border:
    1px solid
      rgba(245,200,75,.13) !important;

  color:
    #bca35c !important;

  font-size:
    8px !important;

  font-weight:
    750 !important;

  letter-spacing:
    .05px;

  white-space:
    nowrap !important;

  cursor:
    pointer;

  transition:
    all .2s ease !important;
}


/* BUTTON HOVER */

.main > .panel:nth-of-type(2)
#usersTable .action-buttons
.small-button:hover {

  background:

    linear-gradient(
      145deg,
      rgba(245,200,75,.15),
      rgba(245,200,75,.035)
    ) !important;

  border-color:
    rgba(245,200,75,.43) !important;

  color:
    #ffe69a !important;

  transform:
    translateY(-2px);

  box-shadow:

    0 0 7px
      rgba(245,200,75,.18),

    0 0 16px
      rgba(245,200,75,.06);

}


/* =========================================================
   DELETE
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable .action-buttons
.danger-button {

  color:
    #c77f7f !important;

  border-color:
    rgba(199,127,127,.16) !important;
}


.main > .panel:nth-of-type(2)
#usersTable .action-buttons
.danger-button:hover {

  color:
    #ffaaaa !important;

  background:
    rgba(216,139,139,.08) !important;

  border-color:
    rgba(216,139,139,.40) !important;

  box-shadow:
    0 0 10px
      rgba(216,139,139,.12) !important;
}


/* =========================================================
   TABLE BOTTOM
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable tbody tr:last-child td {

  border-bottom-color:
    rgba(245,200,75,.09) !important;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable .empty-state {

  min-height:
    190px;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  gap:
    7px;

  background:
    radial-gradient(
      circle,
      rgba(245,200,75,.035),
      transparent 60%
    );
}


.main > .panel:nth-of-type(2)
#usersTable .empty-state > div {

  color:
    #f5c84b;

  font-size:
    28px;

  text-shadow:

    0 0 8px
      rgba(245,200,75,.55),

    0 0 20px
      rgba(245,200,75,.20);
}


.main > .panel:nth-of-type(2)
#usersTable .empty-state strong {

  color:
    #e4e5e7;

  font-size:
    12px;
}


.main > .panel:nth-of-type(2)
#usersTable .empty-state span {

  color:
    #6e7680;

  font-size:
    10px;
}


/* =========================================================
   SCROLLBAR
========================================================= */

.main > .panel:nth-of-type(2)
#usersTable::-webkit-scrollbar {

  height:
    5px;
}


.main > .panel:nth-of-type(2)
#usersTable::-webkit-scrollbar-track {

  background:
    #090b0e;

  border-radius:
    10px;
}


.main > .panel:nth-of-type(2)
#usersTable::-webkit-scrollbar-thumb {

  background:

    linear-gradient(
      90deg,
      #5f4717,
      #f5c84b,
      #8c6822
    );

  border-radius:
    10px;

  box-shadow:
    0 0 9px
      rgba(245,200,75,.35);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes goldScan {

  0% {
    opacity: .55;
    transform: translateX(-15%);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: .55;
    transform: translateX(15%);
  }

}


@keyframes ambientGold {

  0%,
  100% {

    transform:
      translate3d(0,0,0)
      scale(1);

    opacity:
      .65;
  }

  50% {

    transform:
      translate3d(-25px,20px,0)
      scale(1.12);

    opacity:
      1;
  }

}


@keyframes activePulse {

  0%,
  100% {

    opacity:
      .65;

    transform:
      scale(.85);

  }

  50% {

    opacity:
      1;

    transform:
      scale(1.15);

  }

}


@keyframes masterPanelBreath {

  0%,
  100% {

    box-shadow:

      0 18px 50px
        rgba(0,0,0,.38),

      0 0 25px
        rgba(245,200,75,.035),

      inset 0 1px 0
        rgba(255,255,255,.035);

  }

  50% {

    box-shadow:

      0 18px 50px
        rgba(0,0,0,.38),

      0 0 30px
        rgba(245,200,75,.065),

      inset 0 1px 0
        rgba(255,255,255,.045);

  }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

  .main > .panel:nth-of-type(2)
  .panel-header {

    align-items:
      flex-start !important;

    flex-direction:
      column !important;
  }


  .main > .panel:nth-of-type(2)
  .primary-button {

    width:
      100% !important;
  }


  .main > .panel:nth-of-type(2)
  #usersTable {

    overflow-x:
      auto !important;
  }

}


@media (prefers-reduced-motion: reduce) {

  .main > .panel:nth-of-type(2),
  .main > .panel:nth-of-type(2)::before,
  .main > .panel:nth-of-type(2)::after,
  .main > .panel:nth-of-type(2)
  #usersTable .badge.success::before {

    animation:
      none !important;
  }

}