﻿
.assistance-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 1200px;
    margin-left: 1rem; 
}

    .assistance-table caption {
        font-weight: bold;
        font-size: 1.2em;
        margin-bottom: 10px;
        text-align: left;
    }

    .assistance-table thead tr {
        background-color: #ffffff;
        text-align: center;
    }

    .assistance-table thead th.activity-column {
        width: 750px;
        text-align: left;
    }

    .assistance-table thead th:not(.activity-column) {
        width: 22px;
    }

    .assistance-table tbody td {
        padding: 5px 39px 1px 1px;
    }

        .assistance-table tbody td:nth-child(2) {
            text-align: left;
        }

        .assistance-table tbody td:not(:nth-child(2)) {
            text-align: left;
        }
.shadeit-withcolor {
    background-color: #eeefe1;
    font-weight: bold;
}

.shadeit-withoutcolor {
    background-color: #ffffff;
    font-weight: bold;
}
table {
    caption-side: bottom;
    border-collapse: collapse;
    margin-bottom: 1.5rem !important;
    padding-left: 2.5rem;
}
@media (min-width: 300px) and (max-width: 480px) {
    .main-question {
        padding-left: 1rem !important;
        text-indent: 0 !important;
        max-width: 100%;
        white-space: normal;
        margin-left: -0.7rem !important;
    }
    .sub-question {
        margin-left: 0.1rem !important;
        text-indent: 0 !important;
      
    }
    .custom-popup-box {
       
        max-width: 302px !important;
        width: 100% !important;
    }
    body {
        padding: 1rem;
    }

    .btn-group,
    .btn-group-desktop {
        display: none !important;
    }
    .btn-group-mobile {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: left;
        gap: 30px;
        padding: 2px;
        row-gap: 10px;
    }
    .btn-group-mobile > button {
        flex: 1 1 calc(50% - 22px);
        max-width: calc(50% - 22px);
    }

    .mblbtnFormat {
        background-color: #006fa1 !important;
        color: #ffffff !important;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 8pt;
        font-weight: bold;
        border: 2px solid black;
        width: 100%;
        cursor: pointer;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 35px;
    }
    /* matrix question */
    .assistance-table {
        display: block;
        border: none;
        background: transparent;
        width: 100%;
        border-collapse: collapse;
        max-width: 1200px;
        margin-left: -2rem;
    }
        .assistance-table thead {
            display: none;
        }

        .assistance-table tbody,
        .assistance-table tr {
            display: block;
            width: 100%;
        }

        .assistance-table tr {
            margin-bottom: 1.5rem;
            padding: 1.25rem;
            background: #ffffff; 
            border-radius: 1rem;
            border: 1px solid #d0d0d0;
            position: relative;
            width: 108%; 
        }
        .assistance-table td:first-child {
            background-color: #ffffff;
            color: #000;
            font-weight: bold;
            font-size: 1rem;
            padding: 1.2rem 2rem;
            border-radius: 2rem;
            border: 2px solid #426ca8;
            box-shadow: 2px 2px 5px rgb(71, 75, 98);
            display: inline-flex;
            align-items: center;
            justify-content: flex-start;
            width: 279px !important; 
            margin-bottom: 0;
            margin-top: -1.8rem;
            position: relative;
            left: -24px;
            right: 0;
        }

            .assistance-table td:first-child::after {
                content: "\FE3E";
                font-size: 1.1rem;
                color: #333;
                position: absolute;
                right: 1rem;
                top: 35%;
                transform: scaleX(0.6);
                pointer-events: none;
                width: 12px;
            }
        /* Radio Options */
        .assistance-table td:not(:first-child) {
            display: flex;
            align-items: center;
            padding-left: 2rem;
            margin: 0.5rem 0;
            min-height: 1.2rem;
            font-size: 0.95rem;
            position: relative;
            word-break: break-word;
            color: #000;
        }

        .assistance-table tbody tr:nth-child(odd),
        .assistance-table tbody tr:nth-child(even) {
            background-color: #ffffff;
            font-weight: bold;
        }
        /* Radio Circle */
        .assistance-table input[type="radio"] {
            position: absolute;
            left: -7px;
            top: 50%;
            transform: translateY(-50%);
            width: 0.8rem;
            height: 1.2rem;
            margin: 0;
            cursor: pointer;
        }
        /* Label Text from Data Attribute */
        .assistance-table td:not(:first-child)::after {
            content: attr(data-label);
            display: inline-block;
            font-weight: 350 !important;
            text-align: left;
            margin-left: -13px;
        }
}
@media (min-width: 384px) and (max-width: 390px) {
    .assistance-table td:first-child {
        width: 319px !important;
    }
}
@media (min-width: 390px) and (max-width: 412px) {
    .assistance-table td:first-child {
        width: 314px !important;
    }
}
/* 412px devices */
@media (min-width: 410px) and (max-width: 414px) {

    .assistance-table td:first-child {
        width: 334px !important;
    }
}
/* 414px devices */
@media (min-width: 414px) and (max-width: 416px) {
    .assistance-table td:first-child {
        width: 337px !important;
    }
}
/* 320px devices */
@media (min-width: 318px) and (max-width: 322px) {
    .assistance-table td:first-child {
        width: 236px !important;
    }
}
/* 375px devices */
@media (min-width: 373px) and (max-width: 377px) {
    .assistance-table td:first-child {
        width: 295px !important;
    }
}
/* 428px devices */
@media (min-width: 426px) and (max-width: 430px) {
    .assistance-table td:first-child {
        width: 350px !important;
    }
}
/* ======================================================
   WEB BUTTON STYLES
   ====================================================== */
.btnFormat {
    background-color: #006fa1 !important;
    color: #ffffff !important;
    font-family: Verdana;
    font-size: 9pt;
    font-weight: bold;
    border: 2px solid black;
    width: 212px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 22px auto;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .btnFormat:hover,
    .btnFormat:focus {
        background-color: #3086e3 !important;
        outline: none;
        border: 2px solid black;
    }
.btnFormat:disabled { 
    display: none;
}
.mblbtnFormat:disabled { 
    display: none;
}
/* ======================================================
   WEB POPUP BOX
   ====================================================== */
.custom-popup-box {
    background-color: #bed5ea;
    border: 3px solid white;
    border-radius: 8px;
    margin: auto;
    padding: 13px;
    width: 100%;
    max-width: 361px;
    height: 220px;
    text-align: center;
    top: 50%;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease 0s;
}
.popup-text { 
    text-align: center;
    font-family: Verdana, sans-serif;
    font-size: 13.5px;
    font-weight: bold;
    color: #000;
    padding-bottom: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
}
.custom-footer {  
    display: flex;
    justify-content: center;
    gap: 10px;
    border-top: none;
    padding-top: 10px;
    margin-left: -38px;
    margin-bottom: -18px;
}
.continue-btn { 
    background-color: #007bff;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 13px;
    padding: 6px 15px;
    border: none;
    border-radius: 5px;
    margin-left: 188px;
    margin-top: -59px;
    height: 35px;
}
.stay-btn { 
    background-color: #6c757d;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 13px;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    margin-right: 82px;
}
.btn:hover {  
    color: white !important;
}

@media (min-width: 768px) and (max-width: 992px) {
    .btnFormat {
        width: 140px; 
    }
}
