/* ==========================================================================
   Custom Table Information Elementor Widget Stylesheet
   Card layout with 2 columns (Label & Content) for PC, Tablet, and Mobile
   ========================================================================== */

.table-info-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.table-info-card {
    --label-width: 170px;
    --columns-gap: 36px;
    --divider-style: solid;
    --divider-color: #e2e8f0;
    --divider-thickness: 1px;

    width: 100%;
    max-width: 760px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
    padding: 42px 46px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

/* --------------------------------------------------------------------------
   Table Row (Label Column + Content Column)
   -------------------------------------------------------------------------- */
.table-info-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: var(--divider-thickness) var(--divider-style) var(--divider-color);
    box-sizing: border-box;
}

.table-info-row:first-child {
    padding-top: 0;
}

.table-info-row:last-child,
.table-info-row.is-last-row {
    border-bottom: none !important;
    padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   Left Column: Label
   -------------------------------------------------------------------------- */
.table-info-label-col {
    width: var(--label-width);
    min-width: var(--label-width);
    max-width: var(--label-width);
    flex-shrink: 0;
    box-sizing: border-box;
}

.table-info-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    line-height: 1.5;
    text-align: left;
    word-break: break-word;
    letter-spacing: -0.1px;
}

/* --------------------------------------------------------------------------
   Right Column: Content & Optional Badge
   -------------------------------------------------------------------------- */
.table-info-content-col {
    flex: 1 1 0%;
    min-width: 0;
    margin-left: var(--columns-gap);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    box-sizing: border-box;
}

.table-info-content {
    flex: 1 1 0%;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    color: #111827;
    text-align: left;
    word-break: break-word;
}

/* Rich Text Paragraphs & Formats */
.table-info-content p {
    margin: 0 0 6px 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    text-align: left;
}

.table-info-content p:last-child {
    margin-bottom: 0;
}

.table-info-content strong,
.table-info-content b {
    font-weight: 800;
    color: #000000;
}

.table-info-content a {
    color: #0066ff;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.table-info-content a:hover {
    color: #004cd4;
    text-decoration: underline;
}

/* Lists inside content */
.table-info-content ul,
.table-info-content ol {
    margin: 0 0 6px 0;
    padding-left: 20px;
}

/* Optional Badge / Emblem Logo */
.table-info-badge-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.table-info-badge-img {
    width: 65px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.table-info-badge-svg {
    width: 65px;
    height: 65px;
    display: block;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints: Tablet (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .table-info-card {
        --label-width: 135px;
        --columns-gap: 24px;
        padding: 34px 36px;
    }

    .table-info-label {
        font-size: 14px;
    }

    .table-info-content {
        font-size: 14px;
    }

    .table-info-badge-svg,
    .table-info-badge-img {
        width: 58px;
        height: 58px;
    }
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints: Mobile (max-width: 767px)
   Maintains 2-column layout side-by-side matching reference screenshot
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .table-info-card {
        --label-width: 96px;
        --columns-gap: 16px;
        padding: 26px 20px;
        border-radius: 16px;
    }

    .table-info-row {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .table-info-label {
        font-size: 13.5px;
        line-height: 1.45;
    }

    .table-info-content {
        font-size: 13px;
        line-height: 1.55;
    }

    .table-info-badge-svg,
    .table-info-badge-img {
        width: 48px;
        height: 48px;
    }
}

/* Extra Small Mobile (max-width: 420px) */
@media (max-width: 420px) {
    .table-info-card {
        --label-width: 86px;
        --columns-gap: 12px;
        padding: 22px 16px;
    }

    .table-info-label {
        font-size: 13px;
    }

    .table-info-content {
        font-size: 12.5px;
    }

    .table-info-content-col {
        gap: 8px;
    }

    .table-info-badge-svg,
    .table-info-badge-img {
        width: 42px;
        height: 42px;
    }
}
