/* style.css – public */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Roboto, sans-serif; background: #f1f5f9; color: #0f172a; line-height: 1.6; }
.public-wrap { max-width: 900px; margin: 0 auto; padding: 24px; }
.public-header { background: #1e40af; color: #fff; padding: 24px; border-radius: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.brand { display: flex; gap: 16px; align-items: center; }
.brand .logo { font-size: 48px; }
.brand h1 { font-size: 24px; }
.brand p { font-size: 12px; opacity: .85; letter-spacing: .5px; }
.contact p { font-size: 13px; }
.card { background: #fff; padding: 24px; border-radius: 16px; margin-bottom: 20px; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.track-form h2 { margin-bottom: 4px; }
.track-form p { color: #64748b; margin-bottom: 16px; font-size: 14px; }
.track-form input { width: 100%; padding: 14px 16px; border: 2px solid #cbd5e1; border-radius: 10px; font-size: 16px; margin-bottom: 12px; }
.track-form input:focus { outline: none; border-color: #2563eb; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; background: #e2e8f0; color: #1e293b; text-decoration: none; border: none; cursor: pointer; font-weight: 600; font-size: 14px; }
.btn-primary { background: #2563eb; color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 15px; width: 100%; }

.track-result .result-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 2px solid #f1f5f9; margin-bottom: 20px; }
.track-result .label { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .5px; }
.track-result h2 { font-size: 22px; color: #1e40af; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.result-grid .val { font-weight: 600; margin-top: 2px; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: #f8fafc; padding: 16px; border-radius: 12px; margin-bottom: 20px; }
.amounts > div { text-align: center; }
.amounts span { display: block; font-size: 12px; color: #64748b; margin-bottom: 4px; }
.amounts strong { font-size: 20px; }

.badge { display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.badge-lg { padding: 8px 18px; font-size: 13px; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-process { background: #dbeafe; color: #1e40af; }
.status-waiting { background: #fce7f3; color: #9d174d; }
.status-ready { background: #e0e7ff; color: #3730a3; }
.status-completed { background: #dcfce7; color: #166534; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fee2e2; color: #991b1b; }
.text-success { color: #16a34a; }
.text-danger { color: #dc2626; }
.public-footer { text-align: center; color: #64748b; font-size: 13px; margin-top: 32px; padding: 24px; border-top: 1px solid #e2e8f0; }

@media (max-width: 600px) {
  .result-grid, .amounts { grid-template-columns: 1fr; }
}