/* ==========================================================================
   VIVAIA Guest Order Tracking
   All classes prefixed vgot- to avoid conflicts.
   ========================================================================== */

/* ---------- Wrapper & Form ---------- */
.vgot-wrapper {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 15px;
}

.vgot-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vgot-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vgot-field label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.vgot-input {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s;
}

.vgot-input:focus {
    border-color: #804c17;
    outline: none;
    box-shadow: 0 0 0 2px rgba(128, 76, 23, 0.15);
}

.vgot-submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #804c17;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.vgot-submit-btn:hover {
    background: #5a3510;
}

.vgot-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---------- Result ---------- */
.vgot-result {
    margin-top: 24px;
}

.vgot-order-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.vgot-order-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.vgot-order-date {
    font-size: 13px;
    color: #888;
}

/* ---------- Status Bar ---------- */
.vgot-status-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.vgot-status-step {
    flex: 1;
    min-width: 0;
}

.vgot-step-bar {
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    transition: background 0.3s ease;
}

.vgot-step-active .vgot-step-bar {
    background: #804c17;
}

.vgot-step-info {
    display: flex;
    flex-direction: column;
    margin-top: 6px;
}

.vgot-step-label {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

.vgot-step-active .vgot-step-label {
    color: #333;
    font-weight: 600;
}

.vgot-step-time {
    font-size: 11px;
    color: #aaa;
    line-height: 1.4;
}

.vgot-step-active .vgot-step-time {
    color: #777;
}

/* ---------- Tracking Info ---------- */
.vgot-tracking-item {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.6;
}

.vgot-tracking-carrier {
    color: #666;
    font-weight: 600;
}

a.vgot-tracking-number {
    color: #804c17;
    text-decoration: underline;
}

a.vgot-tracking-number:hover {
    color: #5a3510;
}

span.vgot-tracking-number {
    color: #333;
}

/* ---------- Notice & Error ---------- */
.vgot-notice {
    margin-top: 12px;
    padding: 10px 14px;
    font-size: 13px;
    color: #7d6608;
    background: #fff9e6;
    border: 1px solid #f0e4a6;
    border-radius: 4px;
    line-height: 1.5;
}

.vgot-error {
    padding: 12px 14px;
    font-size: 14px;
    color: #a00;
    background: #fde8e8;
    border: 1px solid #f5c6c6;
    border-radius: 4px;
    text-align: center;
    line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .vgot-wrapper {
        padding: 0 10px;
    }

    .vgot-order-header {
        flex-direction: column;
        gap: 4px;
    }

    .vgot-status-bar {
        gap: 4px;
    }

    .vgot-step-label {
        font-size: 11px;
    }

    .vgot-step-time {
        font-size: 10px;
    }

    .vgot-tracking-item {
        font-size: 10px;
    }
}
