/**
 * DataFirefly Pre-order Manager — frontend styles
 *
 * Colors come from inline styles set by the badge HTML
 * (so per-product / per-site colour overrides work).
 * This stylesheet only handles layout, spacing, typography.
 */

.dfpo-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    vertical-align: middle;
    margin: 0 4px 4px 0;
    background: #0f172a;
    color: #fff;
}

.dfpo-badge--large {
    font-size: 0.9em;
    padding: 6px 14px;
}

.dfpo-product-notice {
    margin: 16px 0;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0f172a;
    border-radius: 4px;
    line-height: 1.55;
}

.dfpo-product-notice .dfpo-eta {
    display: block;
    font-size: 1.02em;
}

.dfpo-product-notice .dfpo-eta strong {
    color: #0f172a;
}

.dfpo-product-notice .dfpo-deposit-info {
    display: block;
    margin-top: 6px;
    color: #475569;
    font-size: 0.95em;
}

.dfpo-product-notice .dfpo-deposit-info .dfpo-amount {
    font-weight: 600;
    color: #0f172a;
}

.dfpo-product-notice .dfpo-remaining {
    display: block;
    margin-top: 6px;
    color: #b45309;
    font-size: 0.9em;
    font-weight: 500;
}

.dfpo-product-notice .dfpo-remaining--soldout {
    color: #b91c1c;
    font-weight: 600;
}

.dfpo-cart-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 7px;
    background: #0f172a;
    color: #fff;
    border-radius: 3px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    vertical-align: middle;
}

.dfpo-deposit-suffix {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.8em;
    color: #6b7280;
    font-weight: normal;
}

/* Cart item meta lines added by the plugin */
.woocommerce-cart .dfpo-cart-meta,
.woocommerce-checkout .dfpo-cart-meta {
    display: block;
    font-size: 0.9em;
    color: #475569;
}

/* My account / order details — balance row */
.dfpo-balance-row td,
.dfpo-balance-row th {
    background: #fffbeb;
    color: #92400e;
    font-weight: 600;
}

/* My account cross-links between parent order and balance order */
.dfpo-myaccount-notice {
    margin: 28px 0;
    padding: 18px 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0f172a;
    border-radius: 4px;
}
.dfpo-myaccount-notice h2 {
    margin: 0 0 12px;
    font-size: 1.1em;
    color: #0f172a;
}
.dfpo-myaccount-notice p {
    margin: 0;
}
.dfpo-balance-list {
    width: 100%;
    margin-top: 8px;
}
.dfpo-balance-list th {
    text-align: left;
    font-size: 0.9em;
    color: #475569;
}
.dfpo-balance-list .button.dfpo-pay-balance {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}
.dfpo-balance-list .button.dfpo-pay-balance:hover {
    background: #1e293b;
    border-color: #1e293b;
}
