.ct-table-wrapper {
    width: 100%;
    overflow-x: auto;
}
.ct-table {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.ct-header, .ct-row {
    display: flex;
    width: 100%;
    align-items: stretch;
    border-bottom: 1px solid #eee;
}
.ct-cell {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    align-items: center;
}
.ct-cell.center {
    justify-content: center;
    text-align: center;
}
.ct-header {
    background: #00b87b;
    color: #fff;
    font-weight: bold;
}
.ct-row {
    background: #fff;
    transition: all 0.3s ease;
}
.ct-icon i {
    font-size: 1.2em;
}
.ct-icon svg {
    width: 1.2em;
    height: 1.2em;
}
.ct-icon + .ct-text {
    margin-left: 8px;
}
.ct-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}
.ct-mobile-label {
    display: none;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Desktop Layouts */
@media (min-width: 768px) {
    .ct-table.cols-2 .ct-cell { width: 50%; }
    .ct-table.cols-3 .ct-cell { width: 33.33%; }
    .ct-table.cols-4 .ct-cell { width: 25%; }
    .ct-table.cols-5 .ct-cell { width: 20%; }
}

/* Mobile Layouts */
@media (max-width: 767px) {
    .ct-table {
        min-width: 100%;
    }
    .ct-header {
        display: none; /* Hide main header on mobile */
    }
    .ct-row {
        flex-direction: column;
        border: 1px solid #eee;
        margin-bottom: 15px;
        border-radius: 8px;
        overflow: hidden;
    }
    .ct-cell {
        width: 100% !important;
        padding: 10px 15px;
        border-bottom: 1px solid #f5f5f5;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .ct-cell:last-child {
        border-bottom: none;
    }
    .ct-feature-title {
        background: #f9f9f9;
        font-weight: bold;
        font-size: 1.1em;
        padding: 15px;
        text-align: center;
        align-items: center;
    }
    .ct-cell.center {
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
    }
    .ct-mobile-label {
        display: block;
        font-size: 0.85em;
        text-transform: uppercase;
        color: #777;
    }
    .ct-cell-content {
        display: flex;
        align-items: center;
        margin-top: 5px;
    }
}
