html,
body {
  height: auto;
  min-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.guidelines-top-actions {
  margin-top: 18px;
  margin-bottom: 18px;

  display: flex;
  justify-content: flex-start;
}

.back-login-btn,
.back-login-btn:hover,
.back-login-btn:focus,
.back-login-btn:active,
.guidelines-btn,
.guidelines-btn:hover,
.guidelines-btn:focus,
.guidelines-btn:active {
  text-decoration: none !important;
}

.back-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;

  border-radius: 12px;

  background: #ffffff;
  border: 1px solid #e2e8f0;

  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;

  transition: all 0.25s ease;
}

.back-login-btn:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;

  transform: translateY(-1px);

  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
}

/* =========================
   CARD CONTAINER
========================= */
.premium-card {
  max-width: 900px;
  width: 100%;
  padding: 20px;
}

/* =========================
   ACCORDION WRAPPER
========================= */
.accordion-container {
  margin-top: 15px;
}

/* =========================
   ACCORDION ITEM
========================= */
.acc-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

/* =========================
   HEADER
========================= */
.acc-header {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  transition: all 0.3s ease;
  user-select: none;
}

/* collapsed header */
.acc-item:not(.open) .acc-header {
  background: #f3f4f6;
  color: #111827;
}

/* icon */
.acc-header .icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.acc-body {
  overflow: hidden;
  max-height: 0;
  padding: 0 16px;
  transition:
    max-height 0.5s ease,
    padding 0.3s ease;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

.acc-item.open .acc-body {
  max-height: 99999px;
  padding: 14px 16px;
}

.acc-item.open .icon {
  transform: rotate(45deg);
}

/* list */
.acc-body ul {
  margin: 0;
  padding-left: 18px;
}

.acc-body li {
  margin-bottom: 6px;
}

/* =========================
   IMAGE RESPONSIVE FIX
========================= */
.acc-body img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* =========================
   LINK STYLE
========================= */
.acc-body a {
  word-break: break-word;
}

/* =========================
   HOVER EFFECT (DESKTOP ONLY)
========================= */
@media (min-width: 768px) {
  .acc-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }
}

.force-center {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* important: NOT center */
  padding: 20px 10px;
  overflow-y: auto;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {
  .premium-card {
    padding: 12px;
  }

  .acc-header {
    font-size: 13px;
    padding: 12px;
  }

  .acc-body {
    font-size: 13px;
    padding: 0 12px;
  }

  .acc-item.open .acc-body {
    padding: 12px;
  }
}

/* =========================
   SMALL PHONE OPTIMIZATION
========================= */
@media (max-width: 480px) {
  .acc-header {
    font-size: 12.5px;
  }

  .acc-body {
    font-size: 12.5px;
  }
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-purple {
  background: #ede9fe;
  color: #5b21b6;
}

.status-primary {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-success {
  background: #dcfce7;
  color: #166534;
}

.status-danger {
  background: #fee2e2;
  color: #991b1b;
}

.status-warning {
  background: #fee7c3;
  color: #854d0e;
}

.status-printing {
  background: #fef9c3;
  color: #c86d05;
}
