/**
 * 비회원 주문조회 페이지 스타일
 */

/* 비회원 주문조회 폼 */
.guest-order-box { max-width: 480px; margin: 40px auto; padding: 32px; background: var(--color-bg); border-radius: 12px; border: 1px solid var(--color-border-light); }
.guest-order-title { text-align: center; font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.guest-order-desc { text-align: center; font-size: 14px; color: var(--color-text-muted); margin-bottom: 24px; }

/* 주문 결과 카드 */
.order-result-card { max-width: 640px; margin: 0 auto; border: 1px solid var(--color-border-light); border-radius: 12px; overflow: hidden; }
.order-result-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--color-bg-light); border-bottom: 1px solid var(--color-border-light); flex-wrap: wrap; gap: 8px; }
.order-result-meta { display: flex; flex-direction: column; gap: 4px; }
.order-no { font-size: 13px; font-weight: 600; color: var(--color-text); }
.order-date { font-size: 12px; color: var(--color-text-muted); }

/* 주문 상태 뱃지 */
.order-status-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d1e7dd; color: #0a3622; }
.status-preparing { background: #cfe2ff; color: #084298; }
.status-shipping { background: #d0d3f5; color: #2b2d80; }
.status-delivered { background: #d1e7dd; color: #0a3622; }
.status-cancelled { background: #f8d7da; color: #842029; }
.status-refunding { background: #fff3cd; color: #856404; }
.status-refunded { background: #e2e3e5; color: #41464b; }

/* 섹션 */
.order-section { padding: 20px; border-bottom: 1px solid var(--color-border-light); }
.order-section:last-child { border-bottom: none; }
.order-section-title { font-size: 14px; font-weight: 700; color: var(--color-text); margin-bottom: 14px; }

/* 상품 아이템 */
.order-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--color-border-light); }
.order-item:last-child { border-bottom: none; padding-bottom: 0; }
.order-item-image { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--color-bg-light); flex-shrink: 0; }
.order-item-image img { width: 100%; height: 100%; object-fit: cover; }
.order-item-image-placeholder { width: 100%; height: 100%; background: var(--color-bg-light); }
.order-item-info { flex: 1; min-width: 0; }
.order-item-name { font-size: 14px; font-weight: 500; color: var(--color-text); margin-bottom: 4px; }
.order-item-option { font-size: 12px; color: var(--color-text-muted); margin-bottom: 4px; }
.order-item-meta { font-size: 13px; color: var(--color-text); }
.order-item-total { font-size: 14px; font-weight: 600; color: var(--color-text); white-space: nowrap; flex-shrink: 0; }

/* 정보 그리드 */
.order-info-grid { display: flex; flex-direction: column; gap: 8px; }
.order-info-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: 14px; }
.order-info-label { color: var(--color-text-muted); flex-shrink: 0; }
.order-info-value { color: var(--color-text); text-align: right; word-break: break-all; }
.order-total-row { padding-top: 10px; border-top: 1px solid var(--color-border-light); margin-top: 4px; }
.order-total-row .order-info-label { font-weight: 700; color: var(--color-text); }
.order-total-amount { font-size: 18px; font-weight: 700; color: var(--color-primary); }
.text-danger { color: var(--color-danger, #dc3545); }

/* 결과 없음 */
.order-result-empty { text-align: center; padding: 60px 20px; }
.order-result-empty svg { width: 48px; height: 48px; color: var(--color-text-muted); margin: 0 auto 16px; display: block; }
.order-result-empty p { font-size: 15px; color: var(--color-text-muted); }

/* 하단 액션 */
.order-result-actions { padding: 20px; text-align: center; }
