/* ═══════════════════════════════════════════════════════════
   MCE Frontend Styles — WooCommerce cart/checkout/account
   ═══════════════════════════════════════════════════════════ */

/* ── Order Limit Bar (top of cart) ─────────────────────────── */
.mce-limit-bar {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 16px !important;
    font-size: 14px;
    border-left: 4px solid #2271b1 !important;
    flex-wrap: wrap;
}

/* ── Badges ─────────────────────────────────────────────────── */
.mce-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.mce-badge-low      { background: #fee2e2; color: #991b1b; }
.mce-badge-mid      { background: #fef3c7; color: #92400e; }
.mce-badge-high     { background: #d1fae5; color: #065f46; }
.mce-badge-approved { background: #d1fae5; color: #065f46; }
.mce-badge-pending  { background: #fef3c7; color: #92400e; }

/* ── Approval Box (below cart totals) ───────────────────────── */
.mce-approval-box {
    margin-top: 16px;
}

.mce-status {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.mce-status > span { font-size: 26px; line-height: 1; flex-shrink: 0; margin-top: 2px; }

.mce-status-approved { background: #d1fae5; border: 1px solid #6ee7b7; color: #064e3b; }
.mce-status-pending  { background: #fef3c7; border: 1px solid #fcd34d; color: #78350f; }
.mce-status-blocked  { background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; }

.mce-request-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #d97706;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .2s;
}
.mce-request-btn:hover { background: #b45309; }

/* ── Checkout button states ─────────────────────────────────── */
.mce-request-approval-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #f59e0b !important;
    color: #fff !important;
    border-color: #d97706 !important;
    text-align: center;
    font-weight: 700 !important;
    font-size: 15px;
    border-radius: 4px;
    text-decoration: none !important;
    box-sizing: border-box;
}
.mce-request-approval-btn:hover { background: #d97706 !important; }

.mce-approved-note {
    font-size: 12px;
    color: #065f46;
    text-align: center;
    margin: 6px 0 0;
    background: #d1fae5;
    padding: 4px 8px;
    border-radius: 4px;
}

/* ── My Account info card ───────────────────────────────────── */
.mce-account-card {
    background: #f9f9f9;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 24px;
}
.mce-account-card h3 { margin-top: 0; font-size: 15px; }
.mce-account-card table { width: 100%; border-collapse: collapse; }
.mce-account-card th,
.mce-account-card td { padding: 8px 10px; border-bottom: 1px solid #eee; text-align: left; font-size: 14px; }
.mce-account-card th { width: 40%; font-weight: 600; color: #3c434a; }
