/* ============================================
   RESPONSIVE TABLE FIX - ENSURE ALL DATA SHOWS
   ============================================ */

/* CRITICAL: Default state - Desktop view */
.table-container {
    display: block !important;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: visible;
}

.info-table {
    display: table !important;
    width: 100%;
    margin: 0;
}

.mobile-card-view {
    display: none !important;
}

/* Desktop & Tablet - Keep table visible */
@media (min-width: 769px) {
    .table-container {
        display: block !important;
    }
    
    .info-table {
        display: table !important;
        width: 100%;
    }
    
    .mobile-card-view {
        display: none !important;
    }
}

/* Mobile ONLY - Switch to cards */
@media (max-width: 768px) {
    .table-container {
        display: none !important;
    }
    
    .info-table {
        display: none !important;
    }
    
    .mobile-card-view {
        display: block !important;
    }
    
    .info-card {
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border-left: 4px solid #ff6b00;
        transition: all 0.3s ease;
    }
    
    .info-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        transform: translateY(-2px);
    }
    
    .info-card-header {
        display: flex;
        align-items: flex-start;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .info-card-number {
        background: linear-gradient(135deg, #ff6b00, #ff9000);
        color: #fff;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 14px;
        flex-shrink: 0;
        margin-right: 12px;
    }
    
    .info-card-title {
        flex: 1;
    }
    
    .info-card-title h5 {
        font-size: 16px;
        font-weight: 600;
        color: #2c3e50;
        margin: 0;
        line-height: 1.4;
    }
    
    .info-card-body {
        margin-bottom: 15px;
    }
    
    .info-card-label {
        font-size: 12px;
        color: #7f8c8d;
        text-transform: uppercase;
        font-weight: 600;
        margin-bottom: 5px;
        display: block;
    }
    
    .info-card-text {
        font-size: 14px;
        color: #555;
        line-height: 1.6;
        margin-bottom: 0;
    }
    
    .info-card-footer {
        padding-top: 15px;
        border-top: 1px solid #f0f0f0;
    }
    
    .info-card-btn {
        width: 100%;
        padding: 12px 20px;
        background: linear-gradient(135deg, #ff6b00, #ff9000);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .info-card-btn:hover {
        background: linear-gradient(135deg, #e55d00, #ff6b00);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    }
    
    .info-card-btn i {
        font-size: 18px;
    }
    
    .info-card-btn .chevron {
        transition: transform 0.3s ease;
    }
    
    .info-card-btn.active .chevron {
        transform: rotate(180deg);
    }
    
    .info-card-files {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #f0f0f0;
        display: none;
    }
    
    .info-card-files.show {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .info-card-files .file-item {
        display: flex;
        align-items: center;
        padding: 12px;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 8px;
        text-decoration: none;
        color: #2c3e50;
        transition: all 0.2s ease;
    }
    
    .info-card-files .file-item:hover {
        background: #e9ecef;
        transform: translateX(4px);
    }
    
    .info-card-files .file-item i {
        font-size: 24px;
        margin-right: 12px;
    }
    
    .info-card-files .file-item span {
        flex: 1;
        font-size: 14px;
        font-weight: 500;
    }
}

/* Tablet specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .info-table thead th {
        font-size: 13px;
        padding: 14px 12px;
    }
    
    .info-table tbody td {
        font-size: 14px;
        padding: 14px 12px;
    }
}

/* Large Desktop optimizations */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .info-table thead th {
        font-size: 16px;
        padding: 18px 20px;
    }
    
    .info-table tbody td {
        font-size: 15px;
        padding: 18px 20px;
    }
}
