body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.header {
    background-color: #003366;
    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 {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}

    .container img {
        display: inline-block;
    }

.bp-card {
    display: grid;
    grid-template-rows: repeat(7, auto);
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    max-width: 100%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    flex-shrink: 0;
    flex-grow: 1;
}

    .bp-card p {
        margin: 5px 0;
    }

.bp-amount-billed {
    grid-column: 1 / 3;
    justify-self: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.bp-location {
    grid-column: 1 / 3;
    justify-self: center;
}

.bp-development-components {
    grid-column: 1 / 3;
    justify-self: center;
}

hr {
    grid-column: 1 / 3;
    margin: 0;
    padding: 0;
}

.loading-table {
    display: none;
    justify-content: center;
    padding: 20px;
}

    .loading-table.show {
        display: flex;
    }

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.error-message {
    color: red;
}

.footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    position: relative;
    bottom: 0;
}

    .footer p {
        margin: 0;
    }

    .footer a {
        color: #666;
        text-decoration: none;
        margin: 0 10px;
    }

.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 */
    }

.paymentguide p {
    margin-bottom: 4;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.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;
}
