body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.header {
    background-color: #003366;
    /* // Dark blue from the logo color: white;*/
    text-align: center;
    padding: 20px 0;
}

nav {
    margin-top: 1.5rem;
    margin-left: 1.2rem;
    margin-bottom: 0.1rem;
}

.breadcrumb {
    margin-bottom: 0.2rem;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 0.1px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 20px;
    position: relative;
}

.fixed-header {
    width: 100%;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
    padding: 1px 0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

    .fixed-header .p {
        margin-bottom: 0;
    }

.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    position: sticky;
    bottom: 0;
    background-color: white;
    padding: 0;
    z-index: 1;
    box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.1);
}

    /*//.button .btn-link-ext .btn-back .btn-next*/

    .pagination .button {
        display: inline-block;
        padding: 10px 20px;
        background-color: #ffcc00; /* Yellow from the logo */
        color: #003366; /* Dark blue from the logo */
        text-decoration: none;
        border: none;
        border-radius: 5px;
        font-weight: bold;
        margin-top: 5px;
        vertical-align: middle;
    }

        .pagination .button span {
            cursor: pointer;
            display: inline-block;
            position: relative;
            transition: 0.5s;
        }

            .pagination .button span:after {
                content: '\00bb';
                position: absolute;
                opacity: 0;
                top: 0;
                right: -20px;
                transition: 0.5s;
            }

        .pagination .button:has(.btn-back) span:after {
            content: '\00ab';
            position: absolute;
            opacity: 0;
            top: 0;
            left: -20px;
            transition: 0.5s;
        }

        .pagination .button:hover span {
            padding-right: 25px;
        }

        .pagination .button:has(.btn-back):hover span {
            padding-left: 25px;
        }

        .pagination .button:hover span:after {
            opacity: 1;
            right: 0;
        }

        .pagination .button:has(.btn-back):hover span:after {
            opacity: 1;
            left: 0;
        }

        .pagination .button:hover {
            background-color: #e6b800; /* Darker yellow on hover */
        }

        .pagination .button:active {
            background-color: var(--secondary);
        }

.faq-section {
    margin-top: 20px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between cards */
    padding: 20px; /* Padding around the container */
    justify-content: center;
}

/*    .card {
              border: 1px solid #ccc;
              border-radius: 8px;
              padding: 15px;
              max-width: 300px; //Card width
              box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
              background-color: #fff;
            }
        */

.bb-card {
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-template-columns: 44px auto;
    /*//align-items: stretch;*/
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    max-width: 300px;
    /*    //Card width box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);*/
    background-color: #fff;
    flex-shrink: 0;
    flex-grow: 1;
    /*//container-type: inline-size;
                    //container-name: bbCard*/
}



    .bb-card .checkbox-container {
        grid-column: 1 / 2;
        align-self: center;
        justify-self: center;
    }

    /*    .card .checkbox-container {
              display: flex;
              align-items: center;
            }

            .card .styled-checkbox {
              display: none;
            }

            .card .checkbox-label {
              width: 20px;
              height: 20px;
              border: 2px solid #ccc;
              border-radius: 4px; //Rounded corners
              background-color: #fff; //White background
              position: relative;
              cursor: pointer; //Change cursor to pointer
              margin-right: 10px; //Space between checkbox and text
            }

            .styled-checkbox:checked + .checkbox-label {
              background-color: #6200ea; //Change background color when checked
              border-color: #6200ea; //Change border color when checked
            }

            .styled-checkbox:checked + .checkbox-label::after {
              content: '\2713'; //\002B +  \2713 ? f00c
              position: absolute;
              width: 10px;
              height: 10px;
              background-color: white; //Color of the checkmark
              top: 3px; //Center the checkmark
              left: 3px; //Center the checkmark
            }
        */

    .bb-card .styled-checkbox {
        appearance: none;
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        border: 2px solid #ccc;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .bb-card .styled-checkbox:after {
            font-family: "Font Awesome 6 Free";
            font-weight: 1000;
            content: "\f00c";
            font-size: 16px;
            color: white;
            display: none;
        }

        .bb-card .styled-checkbox:hover {
            background-color: #a5a5a5;
            /*//border: 2px solid #89dbf0;
                            //#2196F3 border: none;*/
            box-shadow: 1px 1px 10px 3px #89dbf0;
        }

    .bb-card:has(.styled-checkbox:hover ) {
        box-shadow: 1px 1px 5px 1px #89dbf0;
        /*//rgba(137, 219, 240, 0.1)*/
    }

    .bb-card .styled-checkbox:checked {
        background-color: var(--secondary);
        border: none;
    }

        .bb-card .styled-checkbox:checked:after {
            display: block;
        }

    .bb-card:has(.styled-checkbox:checked) {
        border: 1px solid var(--secondary);
        box-shadow: 1px 1px 5px 1px var(--secondary);
    }

.bb-type {
    grid-column: 2 / 3;
    margin: 0 0 2.5px 0;
}

.bb-location {
    grid-column: 2 / 3;
    margin: 2.5px 0;
}

.bb-renew-date {
    grid-column: 2 / 3;
    margin: 2.5px 0;
    font-style: italic;
}

.bb-amount-due {
    grid-column: 2 / 3;
    font-size: 1.5em;
    /*//Larger font for the amount //color: #000;
                    //Black color for the amount margin: 2.5px 0;*/
}




.total {
    margin-top: 3px;
    margin-bottom: 3px;
    font-weight: bold;
    /*//position: sticky;*/
    background-color: white;
    /*                    //bottom: 0;
                    //z-index: 1;*/
}

.loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; /* Above other elements */
    display: none; /* Hidden by default */
}

.spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.footer {
    text-align: center;
    /*//margin-top: 20px;*/
    color: #666;
}

.loading-table {
    /*position: absolute;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    /*display: flex;
          justify-content: center;
          align-items: center;
          z-index: 10; /* Ensure it appears above the table */ /** position: relative;*/ /* Relative positioning for the spinner */
    width: 100%; /* Full width of the table */
    height: 100%; /* Full height of the row */
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    display: none;
    z-index: 10;
}

.spinner {
    font-size: 20px; /* Adjust size as needed */
    color: #003366; /* Match your theme */
    margin: auto;
}

loading-payment {
    background-color: black;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    z-index: 2; /* Above other elements */
    display: none; /* Hidden by default */
}

.overlay {
    position: fixed; /* Ensure it covers the whole viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000b7;
    display: flex; /* Centering content */
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    z-index: 1000; /* Ensure it appears above other elements */
}

.overlay-content {
    color: white; /* Text color */
    font-size: 1.5rem; /* Text size */
    font-weight: bold; /* Text weight */
    animation: blink 1s linear infinite
}

@keyframes blink {
    0% {
        color: White
    }

    50% {
        color: #BEFFFFFF
    }

    100% {
        color: #55FFFFFF
    }
}

.button.loading {
    background-color: #ddd; /* Specify a loading button color */
    pointer-events: none; /* Disable further clicks */
}

    .button.loading .spinner {
        display: inline-block;
        margin-left: 5px;
        border: 2px solid white;
        border-top: 2px solid rgba(255, 255, 255, 0.7);
        border-radius: 50%;
        width: 12px;
        height: 12px;
        animation: spin 1s linear infinite;
        vertical-align: middle; /* Align the spinner vertically with text */
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

    .active-collapsible, .collapsible:hover {
        background-color: #555;
    }

    .collapsible:after {
        content: '\002B';
        color: white;
        font-weight: bold;
        float: right;
        margin-left: 5px;
    }

.active-collapsible:after {
    content: "\2212";
}

.paymentguide p {
    margin-bottom: 4;
}

.form-group {
    display: grid;
    grid-template-columns: max-content auto;
    align-items: center;
    border-bottom: 1px dashed hsl(0, 0%, 50%);
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.item-description label,
.pay-platform label,
.item-description textarea,
.pay-platform select {
    grid-column: 1 / 3;
}

.form-group input, .form-group input:focus,
.form-group input:active {
    grid-column: 2 / 3;
    justify-self: self-end;
    text-align: end;
    border: none;
    background-color: transparent;
    background: none;
    -webkit-appearance: none;
}

.item-description {
    border-bottom: 0;
}

.pay-platform, .pay-platform label {
    justify-self: center;
    border-bottom: 0;
}



@media only screen and (max-width: 767px) {
    card-container {
        justify-content: center;
    }

    .bb-card {
        grid-template-rows: repeat(4, auto);
        grid-template-columns: 22px auto auto;
        /*//margin: auto;*/
        max-width: 100%;
        flex-shrink: 0;
        flex-grow: 1;
    }

        .bb-card .checkbox-container {
            grid-row: 2 / 3;
            align-self: center;
            justify-self: center;
            z-index: 1;
        }

    .bb-location {
        grid-column: 2 / 4;
    }

    .bb-amount-due {
        grid-row: 1 / 2;
        grid-column: 3 / 4;
        margin-top: 0;
        justify-self: end;
    }
}
