/* ===== TABLE CONTAINER ===== */
.mm-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

/* ===== HEADER ===== */
.mm-table thead th {
    text-align: left;
    padding: 12px 14px;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
}

/* ===== BODY ROWS ===== */
.mm-table tbody tr {
    transition: background 0.2s ease;
}

.mm-table tbody tr:hover {
    background: #f9fafb;
}

.mm-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #eef0f3;
    vertical-align: middle;
}

/* ===== PRICE ===== */
.mm-table td.price {
    font-weight: 600;
    color: #111827;
}

/* ===== INPUT / SELECT ===== */
.mm-table input,
.mm-table select {
    padding: 6px 8px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #fff;
}

.mm-table input:disabled,
.mm-table select:disabled {
    background: #f3f4f6;
    color: #9ca3af;
}

/* ===== STATUS BADGES ===== */
.mm-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    letter-spacing: .3px;
}

.mm-badge--active {
    background: #e7f8ee;
    color: #16a34a;
}

.mm-badge--inactive {
    background: #fdecec;
    color: #dc2626;
}

/* ===== SUBTEXT ===== */
.mm-sub {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mm-table {
        font-size: 13px;
    }

    .mm-table thead {
        display: none;
    }

    .mm-table tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        padding: 10px;
    }

    .mm-table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 6px;
        border-bottom: none;
    }

    .mm-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6b7280;
    }
}
