﻿/* ============================================================
   INCENTIVE TABLE – RESPONSIVE DESIGN
   Works for Desktop + Mobile
   Clean, high-contrast, and modern
   ============================================================ */

/* Table outer wrapper (scrollable on mobile) */
.responsive-table {
    overflow-x: auto;
    width: 100%;
    margin-top: 20px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
}

    /* Main table */
    .responsive-table table {
        width: 100%;
        border-collapse: collapse;
        font-size: 15px;
        min-width: 600px; /* Prevent collapsing too much on small screens */
    }

    /* Header */
    .responsive-table th {
        background: #1f4e79;
        color: #fff !important;
        text-align: center;
        padding: 12px;
        font-size: 15px;
        font-weight: 600;
        border-bottom: 2px solid #0f3a5a;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    /* Table rows */
    .responsive-table td {
        padding: 10px;
        text-align: center;
        color: #333;
        font-weight: 500;
        border-bottom: 1px solid #ececec;
    }

    /* Alternating rows */
    .responsive-table tr:nth-child(even) {
        background: #f7f9fc;
    }

    .responsive-table tr:nth-child(odd) {
        background: #ffffff;
    }

    /* Highlight rows (Golden Star, 10–13) */
    .responsive-table .highlight {
        background: #ffcc80 !important;
        font-weight: 600;
        color: #000 !important;
    }

    /* Dark rows (Diamond Star 14–17) */
    .responsive-table .dark {
        background: #3e3e3e !important;
        color: #fff !important;
        font-weight: 600;
    }

/* Image row for level 18 */
.special-img-row td {
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.special-img-row img {
    width: 100%;
    display: block;
    border-radius: 6px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .responsive-table table {
        font-size: 14px;
        min-width: 500px;
    }

    .responsive-table th,
    .responsive-table td {
        padding: 8px;
    }
}

/* Very small devices */
@media (max-width: 480px) {
    .responsive-table table {
        font-size: 13px;
        min-width: 450px;
    }
}
/* Fix image row width & alignment */
.special-img-row td {
    padding: 0 !important;
    background: #ffffff !important;
    border: none !important;
}

.special-img-row img {
    width: 100%;
    display: block;
    border-radius: 0 0 6px 6px;
}

/* Modern attractive dark row style */
.responsive-table .dark {
    background: #ede2eef5 !important; /* Blue Gray */
    color: #ffffff !important;
    font-weight: 600;
}

    .responsive-table .dark td {
        border-bottom: 1px solid #37474F !important;
    }

/* Add spacing above image for better separation */
.image-section-header {
    background: #3e3e3e !important;
    color: #fff !important;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 600;
    border-top: 2px solid #222;
}
/* Force image row to match exact table width */
.responsive-table .special-img-row td {
    padding: 0 !important;
    background: #fff !important;
    border: none !important;
}

.responsive-table .special-img-row img {
    width: 100% !important;
    height: auto !important;
    display: block;
}
/* Reduce space below banner section */
.page-banner {
    margin-bottom: 10px !important; /* was around 60–80px */
}

/* Reduce padding from the content container */
section.content {
    padding-top: 5px !important; /* default was 40–60px */
}
.carousel-container {
    margin-bottom: 5px !important;
    padding-bottom: 0 !important;
}

.banner-wrapper,
.banner {
    margin-bottom: 5px !important;
}

.static-carousel-caption {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
