﻿/* ======================================================
   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;
}

/* ======================================================
   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;
    }

/* ======================================================
   FORM INPUT STYLES
   ====================================================== */
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;
}

/* ======================================================
   REDIRECT PAGES
   ====================================================== */
.introdText {
    color: black;
    font-family: Verdana;
    font-size: 13pt;
    font-weight: normal;
}

/* ======================================================
   WEB ERROR PAGE BUTTON
   ====================================================== */
.btn-login {
    background-color: #006fa1;
    color: #fff;
    font-weight: bold;
    border-radius: 1px;
    border: 1.5px solid black;
    width: 200px;
    height: 40px;
}

    .btn-login:hover {
        background-color: #009CDE;
        color: #fff;
    }

/* ======================================================
   WEB POPUP BOX
   ====================================================== */
.custom-popup-box {
    background-color: #bed5ea;
    border: 3px solid white;
    border-radius: 8px;
    margin: auto;
    padding: 13px;
    width: 85%;
    max-width: 361px;
    max-height: 190px;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -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: 13px;
    font-weight: bold;
    color: #000;
    padding-bottom: 12px;
    margin: -16px 0 -17px 0;
}

.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 QUERIES
   ====================================================== */

/* Small mobile (300px - 480px) */
@media (min-width: 300px) and (max-width: 480px) {
    input[type="radio" i] {
        margin: 5px 3px 0px 5px;
    }

    .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);
        }

    body .btnFormat {
        width: 60px;
        height: 25px;
    }

    /* Mobile Error page */
    .btn-login {
        width: 167px;
        height: 46px;
        border: 2px solid black;
    }

    .custom-popup-box {
        max-width: 293px;
    }
}

/* 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;
    }
}

/* Large desktops (≥992px) */
@media (min-width: 992px) {
    .gap-lg-5 {
        gap: 6rem !important;
    }
}

/* 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;
    }

    .progress-bar-table hr:not([size]) {
        height: 1px;
        opacity: 100;
        width: 99%;
        margin-left: 5px;
    }

    .progress-bar-table td,
    .progress-bar-table tr {
        padding: 0px 30px 0px 0px !important;
    }

    .custom-form-control {
        width: 133%;
        margin-left: -9px;
    }

    .modal-backdrop {
        width: 120vw;
        height: 120vh;
    }

    .custom-pounds {
        width: 134% !important;
        margin-left: -12px;
    }

    .custom-feet {
        width: 80% !important;
        margin-left: -10px;
    }

    .custom-inches {
        width: 134% !important;
        margin-left: -14px;
    }

    .introdText {
        font-size: 12.2pt;
    }
}