/* ------------------ */
/* Blazor Error UI    */
/* ------------------ */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 3.5rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,...) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

/* ------------------ */
/* Branding Colors    */
/* ------------------ */
:root {
    --chengeta-gold: #b48c06;
}

/* ------------------ */
/* Layout & Card Style*/
/* ------------------ */
.container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Main form container */
.card.form-card {
    width: 100%;
    max-width: 900px;
    margin: auto;
    border-radius: 0.75rem;
    padding: 2rem;
}

/* Header */
.bg-chengeta {
    background-color: var(--chengeta-gold) !important;
    color: white;
}

/* Logo */
.logo-img {
    height: 70px;
    margin-right: 10px;
}

/* ------------------ */
/* Buttons            */
/* ------------------ */
.btn-chengeta {
    background-color: var(--chengeta-gold);
    color: white;
    border: none;
}

    .btn-chengeta:hover,
    .btn-selected:hover {
        background-color: #a17805;
    }

/* Button state for selected option */
.btn-selected {
    background-color: var(--chengeta-gold);
    color: white;
    border: none;
}

/* Success button (submit) is left default (green) */

/* ------------------ */
/* Typography         */
/* ------------------ */
.text-chengeta {
    color: var(--chengeta-gold) !important;
}

/* ------------------ */
/* Progress Bar       */
/* ------------------ */
.progress-bar {
    background-color: var(--chengeta-gold);
    transition: width 0.4s ease-in-out;
}

/* ------------------ */
/* Package Cards      */
/* ------------------ */
.card.package-card {
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

    .card.package-card.active {
        border-color: var(--chengeta-gold);
        background-color: #fffdf3;
        box-shadow: 0 0 0 0.2rem rgba(180, 140, 6, 0.25);
    }

/* ------------------ */
/* Responsive Styling */
/* ------------------ */
@media (max-width: 576px) {
    .card.form-card {
        margin: 0;
        padding: 1rem;
        border-radius: 0;
        box-shadow: none;
    }

    .form-label {
        font-size: 0.95rem;
    }

    .btn {
        width: 100%;
        margin-top: 0.5rem;
    }

    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 10px;
    }

    .progress {
        width: 100% !important;
    }
}
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}
