﻿/* ======================================================
   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 {
        opacity: 0.6;
        cursor: not-allowed;
        pointer-events: none;
        display: none;
    }

.btn-group-mobile {
    display: none !important;
}

/* ======================================================
   FORM INPUT STYLES (controls sub-question options)
   ====================================================== */
input[type="radio" i] {
    background-color: initial;
    cursor: default;
    appearance: auto;
    box-sizing: border-box;
    margin: 6px 3px 0px 5px;
    padding: initial;
    border: initial;
    font-size: 13px;
}

input[type="checkbox" i] {
    width: 12px;
    background-color: initial;
    appearance: auto;
    margin: 4px 3px 3px 4px;
    padding: initial;
}

input[type="radio"]:focus,
input[type="checkbox"]:focus,
input[type="checkbox"]:active {
    box-shadow: 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;
}

.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;
}

.disabled-block {
    display: none;
}


/* Specific width fix (342px - 345px) */
@media (min-width: 342px) and (max-width: 345px) {
    .mblbtnFormat {
        font-size: 8.5pt !important;
    }

    .custom-popup-box {
        max-width: 275px;
    }

    .custom-footer {
        margin-left: -25px;
    }
}

/* Tablets (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .btnFormat {
        width: 109px;
        height: 37px;
        font-size: 9.5px;
    }
}

/* Small desktops (768px - 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    .btnFormat {
        width: 150px;
    }
}

/* Medium desktops (993px - 1200px) */
@media (min-width: 993px) and (max-width: 1200px) {
    .btnFormat {
        width: 150px;
    }
}

/* Very small screens (319px - 320px) */
@media (min-width: 319px) and (max-width: 320px) {
    .mblbtnFormat {
        font-size: 7.5pt;
    }

    .custom-footer {
        margin-left: -25px;
    }

    .custom-popup-box {
        max-width: 262px;
    }

    .custom-form-control {
        width: 133%;
        margin-left: -9px;
    }

    .modal-backdrop {
        width: 120vw;
        height: 120vh;
    }
}

/* ======================================================
   MOBILE BUTTON STYLES
   ====================================================== */
.mblbtnFormat {
    background-color: #006fa1 !important;
    color: #ffffff !important;
    font-family: Verdana;
    font-size: 8pt;
    font-weight: bold;
    border: 2px solid black;
    width: 100%;
    height: 37px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .mblbtnFormat:hover,
    .mblbtnFormat:focus {
        background-color: #3086e3 !important;
        outline: none;
    }

    .mblbtnFormat:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        pointer-events: none;
        display: none !important;
    }
