/* =========================================================================
   Approval System — Shared UI Language
   Used across devteam (founder) and portal (client) screens.
   ========================================================================= */

/* Status Badges — Consistent everywhere */
.mc-badge {
    display: inline-block; padding: 3px 10px; border-radius: 10px;
    font-size: 11px; font-weight: 600; letter-spacing: .02em;
}
.mc-badge-pending { background: rgba(245,158,11,.12); color: #f59e0b; }
.mc-badge-partial { background: rgba(129,140,248,.12); color: #818cf8; }
.mc-badge-approved { background: rgba(56,189,248,.12); color: #38bdf8; }
.mc-badge-executing { background: rgba(56,189,248,.18); color: #38bdf8; }
.mc-badge-verified, .mc-badge-completed { background: rgba(52,211,153,.12); color: #34d399; }
.mc-badge-failed { background: rgba(248,113,113,.12); color: #f87171; }
.mc-badge-rejected, .mc-badge-changes { background: rgba(251,146,60,.1); color: #fb923c; }
.mc-badge-planning { background: rgba(168,130,255,.1); color: #a882ff; }
.mc-badge-delivery { background: rgba(52,211,153,.1); color: #34d399; }

/* Cards */
.mc-card {
    background: var(--bg-card, #13131b); border: 1px solid var(--border, rgba(255,255,255,.06));
    border-radius: 12px; padding: 16px;
}
.mc-card + .mc-card { margin-top: 12px; }

/* Section Headers */
.mc-section-title {
    font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
    color: var(--text-tertiary, #888); margin-bottom: 10px;
}

/* Action Alerts */
.mc-alert {
    border-radius: 12px; padding: 16px; margin-bottom: 16px;
}
.mc-alert-action {
    background: rgba(232,190,107,.06); border: 1px solid rgba(232,190,107,.2);
}
.mc-alert-success {
    background: rgba(52,211,153,.06); border: 1px solid rgba(52,211,153,.2);
}
.mc-alert-info {
    background: rgba(56,189,248,.04); border: 1px solid rgba(56,189,248,.15);
}
.mc-alert-warning {
    background: rgba(251,146,60,.06); border: 1px solid rgba(251,146,60,.15);
}

/* CTA Buttons */
.mc-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 8px; font-weight: 600;
    font-size: .82rem; text-decoration: none; cursor: pointer; border: none;
    transition: all .2s;
}
.mc-btn-primary {
    background: rgba(52,211,153,.15); color: #34d399;
    border: 1px solid rgba(52,211,153,.25);
}
.mc-btn-primary:hover { background: rgba(52,211,153,.25); }
.mc-btn-warning {
    background: rgba(245,158,11,.12); color: #f59e0b;
    border: 1px solid rgba(245,158,11,.2);
}
.mc-btn-danger {
    background: rgba(248,113,113,.1); color: #f87171;
    border: 1px solid rgba(248,113,113,.2);
}
.mc-btn-ghost {
    background: rgba(255,255,255,.04); color: var(--text-secondary, #aaa);
    border: 1px solid var(--border, rgba(255,255,255,.06));
}
.mc-btn-ghost:hover { background: rgba(168,130,255,.08); color: var(--purple, #a882ff); }
.mc-btn-gold {
    background: linear-gradient(135deg, #e8be6b, #d4a853); color: #000;
}

/* Empty States */
.mc-empty {
    text-align: center; padding: 50px 20px; opacity: .4;
}
.mc-empty i { font-size: 36px; display: block; margin-bottom: 10px; }
.mc-empty p { font-size: .85rem; margin-top: 6px; }

/* Stat Cards */
.mc-stat {
    background: var(--bg-card, #13131b); border: 1px solid var(--border);
    border-radius: 10px; padding: 14px; text-align: center;
}
.mc-stat-value {
    font-size: 24px; font-weight: 700;
    font-family: var(--font-display, 'DM Sans');
}
.mc-stat-label {
    font-size: .7rem; text-transform: uppercase; letter-spacing: .5px;
    color: var(--text-tertiary, #888); margin-top: 4px;
}

/* Timeline */
.mc-timeline-dot {
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mc-timeline-line {
    width: 1px; height: 16px; background: rgba(255,255,255,.06); margin: 2px auto 0;
}
.mc-timeline-title { font-size: .82rem; }
.mc-timeline-time { font-size: .68rem; color: var(--text-tertiary); margin-top: 1px; }
.mc-timeline-group {
    font-size: .7rem; text-transform: uppercase; letter-spacing: .05em;
    color: var(--text-tertiary); padding: 8px 0 4px;
}

/* Filters */
.mc-filter {
    padding: 5px 12px; border-radius: 6px;
    border: 1px solid var(--border, rgba(255,255,255,.06));
    background: transparent; color: var(--text-tertiary, #aaa);
    cursor: pointer; font-size: .75rem; transition: all .2s;
}
.mc-filter:hover, .mc-filter.active {
    background: rgba(168,130,255,.1); color: var(--purple, #a882ff);
    border-color: var(--purple, #a882ff);
}

/* Responsive helpers */
@media (max-width: 768px) {
    .mc-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
    .mc-flex-wrap { flex-wrap: wrap; }
    .mc-hide-mobile { display: none !important; }
}
@media (max-width: 480px) {
    .mc-grid-4 { grid-template-columns: 1fr !important; }
}
