* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6fb;
  color: #111827;
}

.topbar {
  height: 72px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.brand span {
  display: block;
  font-size: 13px;
  color: #6b7280;
}

.support-text {
  color: #6b7280;
  font-size: 14px;
}

.page-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 20px;
}

.hero {
  background: #07132f;
  color: #ffffff;
  border-radius: 22px;
  padding: 42px;
  margin-bottom: 30px;
}

.badge {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 14px;
}

.hero h1 {
  max-width: 720px;
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero p {
  max-width: 760px;
  color: #cbd5e1;
  line-height: 1.7;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  align-items: start;
}

.order-left h2,
.order-summary h2 {
  font-size: 20px;
  margin: 22px 0 14px;
}

.service-grid,
.plan-grid {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-card,
.plan-card {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  cursor: pointer;
  background: #ffffff;
}

.service-card.active,
.plan-card.active {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.service-card input,
.plan-card input {
  display: none;
}

.service-title,
.plan-title {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.service-desc {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
}

.service-card strong {
  display: block;
  font-size: 16px;
  color: #111827;
}

.plan-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
}

.popular {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.form-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #f0f2f5;
}

.form-row:last-child {
  border-bottom: none;
}

.form-row label {
  font-weight: bold;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

.notice-box {
  margin-top: 18px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 14px;
  padding: 16px;
  line-height: 1.6;
}

.order-summary {
  position: sticky;
  top: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  font-size: 14px;
}

.summary-line span {
  color: #6b7280;
}

.summary-line strong {
  text-align: right;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 22px;
  font-weight: bold;
  padding: 18px 0;
}

.checkout-btn {
  width: 100%;
  border: none;
  background: #2563eb;
  color: #ffffff;
  padding: 15px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
}

.checkout-btn:hover {
  background: #1d4ed8;
}

.small-note {
  text-align: center;
  color: #6b7280;
  font-size: 13px;
}

.footer {
  text-align: center;
  color: #6b7280;
  padding: 30px 15px;
}

@media (max-width: 900px) {
  .topbar {
    padding: 0 18px;
  }

  .support-text {
    display: none;
  }

  .hero {
    padding: 28px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .order-summary {
    position: static;
  }
}
.checkbox-row {
  align-items: flex-start;
}

.agree-box {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  font-weight: normal !important;
  color: #374151;
  line-height: 1.6;
}

.agree-box input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 4px 0 0 0;
}

.agree-box span {
  display: block;
  flex: 1;
}
.policy-card {
  max-width: 860px;
  margin: 20px auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 34px;
  line-height: 1.75;
}

.policy-card h1 {
  margin: 14px 0 18px;
  font-size: 34px;
}

.policy-card h2 {
  margin-top: 28px;
  font-size: 20px;
}

.policy-card p,
.policy-card li {
  color: #374151;
}

.policy-card ul {
  padding-left: 22px;
}

.policy-updated {
  margin-top: 28px;
  color: #6b7280 !important;
  font-size: 14px;
}
.footer a {
  color: #2563eb;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
.admin-login-card {
  max-width: 480px;
  margin: 50px auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px;
}

.admin-login-card h1 {
  margin: 14px 0 22px;
}

.admin-login-card label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.admin-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 12px;
  border-radius: 10px;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.admin-header-row h1 {
  margin: 12px 0 6px;
}

.admin-refresh-btn {
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: bold;
}

.admin-orders-list {
  display: grid;
  gap: 18px;
}

.admin-order-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 24px;
}

.admin-order-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #f0f2f5;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.admin-order-top h2 {
  margin: 0 0 8px;
}

.admin-price {
  font-size: 28px;
  font-weight: bold;
  text-align: right;
}

.admin-price span {
  display: block;
  font-size: 13px;
  color: #6b7280;
}

.admin-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
}

.admin-badge.paid {
  background: #dcfce7;
  color: #166534;
}

.admin-badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.admin-badge.cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.admin-badge.neutral {
  background: #e5e7eb;
  color: #374151;
}

.admin-order-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.admin-order-grid div {
  background: #f9fafb;
  border-radius: 12px;
  padding: 14px;
}

.admin-order-grid span,
.admin-purpose span {
  display: block;
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 6px;
}

.admin-order-grid strong {
  word-break: break-word;
}

.admin-purpose {
  margin-top: 16px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 14px;
}

.admin-purpose p {
  margin: 0;
  color: #374151;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .admin-header-row,
  .admin-order-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-order-grid {
    grid-template-columns: 1fr;
  }

  .admin-price {
    text-align: left;
  }
}
.admin-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: bold;
}

.admin-badge.completed {
  background: #dbeafe;
  color: #1d4ed8;
}

.admin-action-form {
  margin-top: 16px;
}

.admin-complete-btn {
  border: none;
  background: #16a34a;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
}

.admin-complete-btn:hover {
  background: #15803d;
}

.admin-completed-note {
  margin-top: 16px;
  background: #eff6ff;
  color: #1e40af;
  padding: 14px;
  border-radius: 12px;
}
.admin-credential-form {
  margin-top: 18px;
  background: #f9fafb;
  border-radius: 14px;
  padding: 16px;
}

.admin-credential-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
}

.admin-credential-form textarea {
  width: 100%;
  min-height: 140px;
  margin-bottom: 12px;
  font-family: monospace;
}

.admin-secondary-btn {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
  padding: 11px 15px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
}

.admin-secondary-btn:hover {
  background: #f3f4f6;
}