/* ============================================================
   MODERN FULL TABLE SYSTEM v2.0
   Prefix: mftable- (Menu Full Table)
   Purpose: Full-width scrollable tables with all columns visible
   January 2026
   ============================================================ */

/* ===== FULL TABLE WRAPPER ===== */
.mftable-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 24px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

/* ===== MAIN FULL TABLE ===== */
.mftable-full {
    width: 100%;
    border-collapse: collapse;
    display: table;
    min-width: 800px;
}

.mftable-full th,
.mftable-full td {
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    color: #374151;
    text-align: left;
    white-space: nowrap;
}

.mftable-full th {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mftable-full tbody tr {
    transition: all 0.2s ease;
}

.mftable-full tbody tr:hover {
    background: #f9fafb;
}

/* ===== TABLE VARIANTS ===== */

/* Green Header */
.mftable-green th {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Purple Header */
.mftable-purple th {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* Red Header */
.mftable-red th {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Orange Header */
.mftable-orange th {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Dark Header */
.mftable-dark th {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
}

/* ===== SPECIAL CELLS ===== */
.mftable-no-schedule {
    color: #9ca3af;
    font-style: italic;
    text-align: center;
}

.mftable-highlight {
    background: #fef3c7 !important;
    font-weight: 600;
}

/* ===== IMAGE CONTROLS ===== */
.mftable-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.mftable-image:hover {
    transform: scale(1.5);
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mftable-owner-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #e5e7eb;
}

/* ===== SCROLL INDICATOR ===== */
.mftable-wrapper::after {
    content: '← Scroll to see more →';
    display: block;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
    margin-top: 12px;
    font-style: italic;
}

@media (min-width: 769px) {
    .mftable-wrapper::after {
        display: none;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .mftable-wrapper {
        padding: 16px;
    }
    
    .mftable-full th,
    .mftable-full td {
        padding: 10px 12px;
        font-size: 12px;
    }

    /* Force all columns to stay visible */
    .mftable-full th,
    .mftable-full td {
        display: table-cell !important;
    }
    
    .mftable-image {
        width: 60px;
        height: 60px;
    }
    
    .mftable-owner-image {
        width: 80px;
        height: 80px;
    }
}

/* ===== BACKWARD COMPATIBILITY ===== */
.menu-full-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 24px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.menu-full-table {
    width: 100%;
    border-collapse: collapse;
    display: table;
    min-width: 800px;
}

.menu-full-table th,
.menu-full-table td {
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    color: #374151;
    text-align: left;
}

.menu-full-table th {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 700;
}

.menu-full-table tbody tr:hover {
    background: #f9fafb;
}

.menu-full-table .no-schedule {
    color: #9ca3af;
    font-style: italic;
}

@media (max-width: 768px) {
    .menu-full-table th,
    .menu-full-table td {
        padding: 10px 12px;
        font-size: 12px;
        display: table-cell !important;
    }
}

.menu-full-table .image-responsive {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.menu-full-table .owner-image-responsive {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

/* ============================================================
   END MODERN FULL TABLE
   All old class names still work for backward compatibility
   ============================================================ */
