/* WooCommerce Order Vault — My Account Frontend */

.wov-archived-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.wov-archived-empty p { margin: 0; font-size: 14px; }

/* Order detail modal — frontend */
#wov-customer-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
#wov-customer-modal.open { display: flex; }

.wov-customer-modal-box {
    background: #fff;
    border-radius: 8px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.wov-customer-modal-close {
    position: absolute;
    top: 12px; right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
}
.wov-customer-modal-close:hover { color: #111; }

.wov-customer-modal-box h3 { margin: 0 0 16px; font-size: 18px; }

.wov-modal-section { margin-bottom: 20px; }
.wov-modal-section h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9ca3af;
    margin: 0 0 8px;
}

.wov-modal-meta { list-style: none; margin: 0; padding: 0; }
.wov-modal-meta li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 13px;
    border-bottom: 1px solid #f3f4f6;
}
.wov-modal-meta li:last-child { border-bottom: none; }
.wov-modal-meta li dt { color: #6b7280; }
.wov-modal-meta li dd { margin: 0; font-weight: 600; }

.wov-items-list { width: 100%; border-collapse: collapse; font-size: 13px; }
.wov-items-list th {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; color: #9ca3af;
    padding: 0 0 6px; text-align: left;
    border-bottom: 1px solid #e5e7eb;
}
.wov-items-list td { padding: 7px 0; border-bottom: 1px solid #f3f4f6; font-size: 13px; }
.wov-items-list .total { text-align: right; font-weight: 600; }

.wov-spinner-sm {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid #e5e7eb;
    border-top-color: #4f46e5;
    border-radius: 50%;
    animation: wov-spin .7s linear infinite;
    vertical-align: middle;
    margin-right: 4px;
}
@keyframes wov-spin { to { transform: rotate(360deg); } }
