﻿.loading-message {
    font-size: 1rem;
    color: #5a5450;
}
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: #f4f2ee;
    color: #1d1d1f;
    min-height: 100vh;
}

.logo-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem 0.5rem;
}

.logo-wordmark {
    height: 28px;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.panel {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-panel h1 {
    margin-top: 0;
}

label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 1rem;
}

button {
    width: 100%;
    padding: 0.9rem 1rem;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    background: #444;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(244, 242, 238, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

body.is-loading .loading-overlay {
    opacity: 1;
    pointer-events: auto;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e0dcd4;
    border-top-color: #1d1d1f;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.status-panel h2,
.order-panel h2 {
    margin-top: 0;
}

.status-header {
    margin-bottom: 0.5rem;
}

.status-chip {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #e3e3e3;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-chip.delivered {
    background: #d4f3da;
    color: #0f6b32;
}

.status-message {
    font-size: 1.1rem;
    font-weight: 600;
}

.status-subtext {
    margin-top: 0.5rem;
    color: #5a5450;
}

.support-note {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: #5a5450;
}

.support-note a {
    color: inherit;
    text-decoration: underline;
}

.delivery-window {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f7f7f5;
    border-radius: 10px;
}

.alert {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
}

.alert-error {
    background: #ffe5e5;
    color: #7a1010;
}

.alert-hold {
    background: #fff6d9;
    color: #6c4a00;
}

.placeholder {
    color: #8a8a8a;
}

.tracking-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.tracking-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8a8a8a;
}

.tracking-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.tracking-number {
    font-weight: 600;
}

.order-block {
    margin-top: 1rem;
}

.order-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.order-block li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}
