.order-tracking-container {
    max-width: 500px;
    margin: 30px auto;
    padding: 24px;
    background: #f4f8fb;
    border: 1px solid #d0dce8;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    font-family: sans-serif;
}

.order-tracking-container form p {
    margin-bottom: 16px;
}

.order-tracking-container label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.order-tracking-container input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.order-tracking-container input:focus {
    outline: none;
    border-color: #0073aa;
}

.order-tracking-container button[type="submit"] {
    width: 100%;
    padding: 11px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.order-tracking-container button[type="submit"]:hover {
    background-color: #005f8d;
}

.order-tracking-container button[type="submit"]:disabled {
    background-color: #99c5d8;
    cursor: not-allowed;
}

/* ── Order Details ── */

.order-details {
    margin-top: 20px;
    background-color: #fff;
    padding: 18px 20px;
    border-left: 4px solid #0073aa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.order-details h3 {
    margin: 0 0 14px;
    font-size: 17px;
    color: #0073aa;
}

.wot-info-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.wot-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 6px;
}

.wot-info-row:last-child {
    border-bottom: none;
}

.wot-label {
    color: #666;
    font-weight: 600;
    min-width: 80px;
}

.wot-value {
    color: #222;
    text-align: right;
}

/* Status colors */
.wot-status { font-weight: 700; }
.status-completed   .wot-status { color: #2e7d32; }
.status-processing  .wot-status { color: #1565c0; }
.status-pending     .wot-status { color: #e65100; }
.status-on-hold     .wot-status { color: #795548; }
.status-cancelled   .wot-status { color: #c62828; }
.status-refunded    .wot-status { color: #6a1b9a; }
.status-failed      .wot-status { color: #b71c1c; }

.wot-items {
    font-size: 14px;
    margin-top: 10px;
}

.wot-items strong {
    display: block;
    margin-bottom: 6px;
    color: #444;
}

.wot-items ul {
    margin: 0;
    padding-left: 20px;
}

.wot-items li {
    margin-bottom: 4px;
    color: #333;
}

/* ── Error ── */

.error-message {
    color: #c62828;
    background: #fdecea;
    border: 1px solid #f5c6cb;
    padding: 10px 14px;
    border-radius: 6px;
    margin-top: 14px;
    font-size: 14px;
}

/* ── Spinner ── */

.wot-spinner {
    border: 3px solid #e0e0e0;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    animation: wot-spin 0.8s linear infinite;
    margin: 16px auto;
}

@keyframes wot-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
