* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  background: radial-gradient(circle at top, #182546, #070a11 56%);
  color: #f7f7f7;
}

.page {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
}

.narrow {
  width: min(720px, calc(100% - 32px));
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}

.badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(66, 211, 255, 0.16);
  color: #7de8ff;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.05;
}

h2 {
  margin-top: 0;
}

.subtitle {
  color: #c6cce0;
  font-size: 18px;
}

.secure-card,
.box,
.package-card {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.065);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.27);
}

.secure-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.secure-card strong {
  font-size: 24px;
}

.secure-card span {
  color: #c6cce0;
}

.box {
  margin-bottom: 24px;
}

label {
  display: block;
  margin: 12px 0;
  color: #dfe5ff;
}

input {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  background: rgba(0,0,0,0.25);
  color: #fff;
  padding: 13px 14px;
  font-family: inherit;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.package-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.package-card h3 {
  margin: 0;
}

.old-price {
  color: #ff9f9f;
  text-decoration: line-through;
  margin: 0;
}

.price {
  color: #7de8ff;
  font-weight: bold;
  font-size: 23px;
  margin: 0 0 8px;
}

button,
.btn {
  display: inline-block;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  background: linear-gradient(135deg, #00c8ff, #7a5cff);
  color: white;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  margin-top: 8px;
}

.secondary {
  background: rgba(255,255,255,0.12);
}

.hidden {
  display: none;
}

.warning {
  color: #ffda7a;
}

code {
  display: block;
  direction: ltr;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: rgba(0,0,0,0.35);
  color: #d7eeff;
  padding: 14px;
  border-radius: 14px;
}

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }
}


.price-note {
  color: #7de8ff;
  font-weight: bold;
  font-size: 18px;
  margin: 8px 0 12px;
}


.custom-highlight {
  border-color: rgba(125, 232, 255, 0.45);
  background: rgba(0, 200, 255, 0.09);
}

.manual-card {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  border-radius: 16px;
  padding: 16px;
  margin: 12px 0;
  line-height: 1.9;
}

.orders {
  display: grid;
  gap: 16px;
}

.order-card code,
.manual-card code {
  direction: ltr;
  display: inline-block;
}

.admin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.danger {
  background: linear-gradient(135deg, #ff4e64, #8a1f2d) !important;
}

/* Large admin order status icons */
.order-status-head {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.status-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  border: 2px solid rgba(255,255,255,0.22);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.status-icon-ok {
  background: rgba(16, 185, 129, 0.16);
  color: #2cff9a;
  border-color: rgba(44, 255, 154, 0.55);
  text-shadow: 0 0 18px rgba(44, 255, 154, 0.65);
}

.status-icon-bad {
  background: rgba(239, 68, 68, 0.16);
  color: #ff3b4f;
  border-color: rgba(255, 59, 79, 0.60);
  text-shadow: 0 0 18px rgba(255, 59, 79, 0.65);
}

.status-icon-wait {
  background: rgba(251, 191, 36, 0.16);
  color: #ffd34d;
  border-color: rgba(255, 211, 77, 0.60);
  text-shadow: 0 0 18px rgba(255, 211, 77, 0.65);
}

.order-main-info {
  min-width: 0;
}

.order-id-line code {
  direction: ltr;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .order-status-head {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

/* Fixed admin order status icons - ASCII-safe using CSS unicode escapes */
.order-status-head {
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}

.order-main-info {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.status-icon {
  width: 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: Arial, "Segoe UI Symbol", "Noto Sans Symbols", sans-serif !important;
  font-size: 54px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  border: 2px solid rgba(255,255,255,0.22) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28) !important;
  letter-spacing: 0 !important;
}

.status-icon-ok::before {
  content: "\2713" !important;
}

.status-icon-bad::before {
  content: "\00D7" !important;
}

.status-icon-wait::before {
  content: "?" !important;
}

.status-icon-ok {
  background: rgba(16, 185, 129, 0.16) !important;
  color: #2cff9a !important;
  border-color: rgba(44, 255, 154, 0.55) !important;
  text-shadow: 0 0 18px rgba(44, 255, 154, 0.65) !important;
}

.status-icon-bad {
  background: rgba(239, 68, 68, 0.16) !important;
  color: #ff3b4f !important;
  border-color: rgba(255, 59, 79, 0.60) !important;
  text-shadow: 0 0 18px rgba(255, 59, 79, 0.65) !important;
}

.status-icon-wait {
  background: rgba(251, 191, 36, 0.16) !important;
  color: #ffd34d !important;
  border-color: rgba(255, 211, 77, 0.60) !important;
  text-shadow: 0 0 18px rgba(255, 211, 77, 0.65) !important;
}

.order-id-line code,
.order-card code {
  direction: ltr !important;
  display: inline-block !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 640px) {
  .order-status-head {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}
