html {
    font-size: 14px;
}

/* Miami dade */
.mdc-card-caption-c-gray {
    color: #005cb9;
}

.mdc-card-caption-bg-blue {
    /*style ="background-color:#005cb9; color:white"*/
    /* background-color: #005cb9;*/
    background-color: #285C91;
    color: white;
}

.mdc-bg-lgray {
    background-color:lightgray;
}

.mdc-btn-align {
    margin-top: 2.5rem !important;
}

.mdc-card-caption-bg-gray {
    background-color: gray;
    color: white;
}

.mdc-card-caption-bg-red {
    background-color: red;
    color: white;
}


@media screen and (max-width: 600px) {
    .hide-on-mobile {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .reduce-font-on-mobile {
        font-size: 15px;
    }
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/*Round corner*/
.bdr {
    border-radius: 6px;
    overflow: hidden;
}

/* the loader */
.affix {
    top: 0;
    width: 100%;
}

    .affix + .container-fluid {
        padding-top: 70px;
    }

.modal-lg-custom {
    max-width: 60%; /* Adjust the width as needed */
}

@media (max-width: 600px) {
    .modal-lg-custom {
        max-width: 100%;
    }
}


.modal-body-custom {
    max-height: 70vh; /* Adjust the height as needed */
    overflow-y: auto; /* Enable vertical scrolling */
}



/* Center the loader */
.loader1 {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1000;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    visibility: hidden;
}

/* Center the loader */
.loader2 {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1000;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    visibility: hidden;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0;
    }

    to {
        bottom: 0px;
        opacity: 1;
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0;
    }

    to {
        bottom: 0;
    }
}





.show {
    visibility: visible;
}


.highlight-link {
    text-decoration: none;
    color: #0078D7; /* Default link color */
    transition: background-color 0.3s, color 0.3s;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.highlight-link:hover {
    background-color: #e0f0ff;
    color: #005a9e;
    
}




/* Desktop/tablet: unchanged */

@media (max-width: 576px) {
    /* Work only on this table */
    .fees-table {
        width: 100%;
        border-collapse: collapse;
    }

        .fees-table tbody,
        .fees-table tr {
            display: block; /* stack rows vertically */
        }

        .fees-table tr {
            margin: .75rem 0;
            border: 1px solid #dee2e6;
            border-radius: .5rem;
            background: #fff;
            overflow: hidden;
        }

        /* Each <td> becomes one line: service (left) + amount (right) */
        .fees-table td {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: .75rem;
            padding: .5rem .75rem;
            border: none; /* remove table borders */
        }

            /* Visual separation between the three pairs in the row */
            .fees-table td:nth-child(2),
            .fees-table td:nth-child(4) {
                border-bottom: 1px solid #f1f3f5;
            }

            /* Service (odd columns) — emphasize the label */
            .fees-table td:nth-child(odd) {
                font-weight: 600;
                color: #212529;
            }

            /* Amount (even columns) — make it stand out */
            .fees-table td:nth-child(even) small {
                font-weight: 700;
                color: #0d6efd; /* Bootstrap primary; adjust to taste */
            }

            /* Tidy up the embedded <small> and <label> */
            .fees-table td small {
                display: block;
            }

            .fees-table td label.control-label {
                margin: 0;
            }

            /* Hide truly empty cells (last row has empties) */
            .fees-table td:empty,
            .fees-table td small:empty {
                display: none;
            }


