/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

//Styling Of Data Tables By Supsystic//

/* === BASE TABLE STYLING === */
#supsystic-table-2 {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #ddd;
    background: white;
}

/* === DESKTOP HEADERS === */
#supsystic-table-2 thead tr:first-child th {
    background-color: #f0f0f0 !important;
    color: #666 !important;
    font-weight: 600;
    text-align: left;
    padding: 16px;
    border-bottom: 3px solid #e93f33 !important;
    font-size: 16px;
    text-transform: none;
    letter-spacing: normal;
}

#supsystic-table-2 thead tr:not(:first-child) th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    padding: 14px 16px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
}

#supsystic-table-2 tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
    white-space: normal;
}

/* === BULLET LIST STYLING === */
#supsystic-table-2 .bullet-list {
    margin: 8px 0;
    padding: 0;
    list-style: none;
}

#supsystic-table-2 .bullet-list li {
    position: relative;
    margin-bottom: 8px;
    line-height: 1.5;
    display: block;
    padding-left: 20px;
}

#supsystic-table-2 .bullet-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #000;
    font-weight: bold;
    font-size: 16px;
}

#supsystic-table-2 tbody tr:nth-child(even) {
    background-color: #fafafa;
}

#supsystic-table-2 tbody tr:hover {
    background-color: #f0f0f0;
    transition: background-color 0.2s ease;
}

/* === MOBILE LAYOUT === */
@media (max-width: 768px) {
    #supsystic-table-2 thead {
        display: none !important;
    }
    
    #supsystic-table-2 {
        display: block;
        overflow-x: hidden;
        border: none;
        box-shadow: none;
        background: none;
    }

    #supsystic-table-2 tbody,
    #supsystic-table-2 tr {
        display: block;
        width: 100%;
    }

    #supsystic-table-2 tr {
        border: 1px solid #ddd;
        margin-bottom: 16px;
        padding: 0;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        overflow: hidden;
    }

    #supsystic-table-2 td {
        display: block;
        width: 100%;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 12px 16px;
        box-sizing: border-box;
    }

    #supsystic-table-2 td:last-child {
        border-bottom: none;
    }

    #supsystic-table-2 td:first-child {
        background-color: #e93f33 !important;
        color: white !important;
        font-weight: 600;
        border-bottom: none;
        font-size: 15px;
        padding: 12px 16px;
    }

    #supsystic-table-2 td:nth-child(2) {
        background-color: white !important;
        color: #333;
        padding: 14px 16px;
        font-size: 14px;
    }

    #supsystic-table-2 td:first-child:before,
    #supsystic-table-2 td:nth-child(2):before {
        content: none !important;
        display: none !important;
    }

    #supsystic-table-2 .bullet-list li {
        margin-bottom: 6px;
        line-height: 1.4;
        font-size: 14px;
        padding-left: 20px;
    }

    #supsystic-table-2 .bullet-list li:before {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #supsystic-table-2 td {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    #supsystic-table-2 td:first-child {
        padding: 10px 12px;
        font-size: 14px;
        background-color: #e93f33 !important;
        color: white !important;
    }
    
    #supsystic-table-2 td:nth-child(2) {
        background-color: white !important;
        padding: 12px;
    }
}

#supsystic-table-2 tbody tr td:first-child {
    font-weight: 600;
}
