﻿:root {
    --clt-primary-color: #1A5E36;
    --grey: #888;
    --grey-lighten: #e0e0e0;
    --gmpx-color-primary: #21834c;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#map {
    height: 100%;
}

/*desktop*/
@media (min-width: 768px) {
    a {
        color: var(--clt-primary-color);
        text-decoration: none;
        transition-property: background-color, color;
        transition-duration: 0.3s;
        transition-timing-function: ease-in-out;
    }

        a:hover, a:focus {
            color: black;
            /*font-weight: bold;*/
            background-color: #ffe386;
            border-radius: 4px;
        }

        a:visited {
            color: #660099;
        }
}
/*mobile*/
@media (max-width: 767px) {
    a {
        text-decoration: none;
        color: black;
    }
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/*custom css below*/
hr.solid {
    border-top: 5px solid var(--clt-primary-color);
    opacity: 1;
}

/* Utility */
.grey {
    color: var(--grey);
}

.grey-lighten {
    color: var(--grey-lighten);
}

.caption {
    font-size: 16px;
}

.weight-600 {
    font-weight: 600;
}

/*Info box*/
.info-box-outer {
    display: flex;
    align-items: flex-start;
    background-color: #f8f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 16px;
    max-width: 600px;
}

.info-box-text {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    color: #333;
    height: 100%;
}

    .info-box-text a {
        color: #28a745;
        text-decoration: none;
    }

        .info-box-text a:hover {
            text-decoration: underline;
        }

/* Search banner*/
.top-half-bg {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/a/a5/Charlotte_Skyline.jpg');
    background-repeat: no-repeat, no-repeat;
    /*background-size: auto, cover;*/
    background-position: center;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.7);
}

.search-btn {
    color: white;
    background-color: var(--clt-primary-color);
    border-radius: 9999px;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: none;
}

/* Icon */
.icon {
    flex-shrink: 0;
    display: inline-block;
    align-content: center;
    font-size: 3rem;
}

.icon-small {
    width: 24px;
    height: 24px;
}

.icon-medium {
    width: 32px;
    height: 32px;
}

.icon-large {
    width: 40px;
    height: 40px;
}

/* Button */
.btn {
    border-radius: 9999px;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.btn-primary {
    --bs-btn-bg: var(--clt-primary-color);
    --bs-btn-hover-bg: #157347;
    --bs-btn-hover-border-color: #146c43;
    --bs-btn-active-bg: #146c43;
}

.btn-default {
    --bs-btn-bg: var(--grey-lighten);
    --bs-btn-hover-bg: #F0F0F0;
}

.btn-icon-start {
    margin-left: -4px;
    margin-right: 8px;
    margin-inline-start: -4px;
    margin-inline-end: 8px;
}

.btn-icon-end {
    margin-left: 8px;
    margin-right: -4px;
    margin-inline-start: 8px;
    margin-inline-end: -4px;
}

/* Search box */

.search-box {
    width: 100%;
    max-width: 600px;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 9999px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}

    .search-box:focus {
        outline: none;
        border-color: #fff;
        border-top-right-radius: 30px;
        border-top-left-radius: 30px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .search-box::placeholder {
        color: rgba(255,255,255,0.7);
        text-align: center;
        opacity: 1; /* some browsers dim placeholders by default */
    }

.content-outer-container {
    padding: 0 0 0 0 !important;
}

.search-box-dropdown {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/*Request Type Group Card*/
.card:hover .card-title-icon {
    background-color: #21834c;
}

.card-title-icon {
    background-color: #D6D6D6;
    transition: background-color .2s ease;
    border-radius: 100%;
    border-width: 0px;
    width: 1em;
    height: 1em;
    font-size: 3rem;
    display: inline-block;
    flex-shrink: 0;
    user-select: none;
    fill: currentColor;
    padding: 8px;
    overflow: visible;
}

/* Input base */
.input-base-container {
    position: relative;
}

.input-base {
    background: rgba(0,0,0,0);
    min-width: 100%;
    max-width: 480px;
    font-size: 16px;
    color: #444;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding-left: 1rem;
    outline: none;
    transition: border-color 0.2s;
    min-height: 50px;
}

    .input-base::placeholder {
        color: #888;
        font-weight: 550;
    }

    .input-base:focus {
        border-color: #bbb;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }

        .input-base[type="date"] + label,
        .input-base:placeholder-shown + label,
        .input-base.error:placeholder-shown + label,
        .input-base.hasvalue + label,
        .input-base:focus + label {
            font-size: 0.9em;
            top: -6px;
            pointer-events: none;
            background: #FFF;
            padding-left: 1px;
            padding-right: 1px;
            height: 0.9em;
            z-index: 999 !important;
        }

.input-base-label {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    margin-left: 1rem;
    transition: 0.1s ease-in-out;
    font-weight: 550;
    color: #888;
    z-index: -1;
    height: 50px;
}

.input-base.error {
    border-color: #E50000 !important;
    color: black;
}

.field-base-error-text {
    color: #E50000;
    padding-left: 8px;
    padding-top: 8px;
}

.field-base-helper-text {
    padding-left: 8px;
}

/* Radio select */
input[type="radio"] {
    /* remove native look */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* size & border */
    width: 30px;
    height: 30px;
    border: 2px solid #EFEFEF;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    outline: none;
}

    input[type="radio"]::after {
        content: '';
        /* inner dot size */
        width: 14px;
        height: 14px;
        background-color: #2E8555;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        /* start hidden */
        transform: translate(-50%, -50%) scale(0);
        transition: transform 0.15s ease-in-out;
    }

    input[type="radio"]:checked::after {
        /* show dot when checked */
        transform: translate(-50%, -50%) scale(1);
    }

    input[type="radio"]:focus {
        background: #e0e0e0;
    }

.radio-select {
}

    .radio-select.error {
        border: 2px solid #E50000 !important;
        border-radius: 10px;
    }

    .radio-select:focus {
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        outline: none;
    }

.radio-select-addl-info {
    font-size: 16px;
    color: #636363;
    margin-left: 0.5rem;
}

.radio-select-label {
    margin-bottom: .5rem;
    color: var(--clt-primary-color);
    font-weight: 550;
    font-size: 24px;
}

.radio-select-option {
    display: flex;
    align-items: center;
    color: #888;
    font-size: 20px;
    font-weight: 550;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.radio-select-option-label {
}

/* Informational prompt */
.info-prompt {
    font-weight: 550;
    font-style: italic;
}

    .info-prompt:focus {
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        outline: none;
    }

/* Form */
.form > * + * {
    width: 100%;
}

.form {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Stepper */
.stepper {
    max-width: 1000px;
}

.steps {
    width: 66%;
}

@media (max-width: 767px) {
    .steps {
        width: 100%;
    }
}

.step-button-container:hover .step-number {
    border: 1px solid #888;
}

.step-button {
    background-color: #FFF;
    border: none;
    color: #888;
    transition: color 0.2s ease-in-out;
    font-size: 20px;
}

    .step-button.active {
        /*border: 2px solid;*/
        color: black;
    }

    .step-button.complete,
    .step-button.optional {
        /*border-color: green;*/
    }

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    width: 40px;
    height: 40px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    font-size: 20px;
    color: #888;
}

    .step-number.active {
        background-color: var(--clt-primary-color) !important;
        border: none;
        color: white;
    }

    .step-number.complete,
    .step-number.optional {
        background-color: #e0e0e0;
    }

.stepper-button {
    background-color: #131F29;
    color: white;
    font-weight: 550;
    font-size: 24px;
    width: 200px;
    transition: background-color 0.2s ease-in-out;
}

    .stepper-button:active {
        background-color: #22384A !important;
        color: white;
        /*background-color: red !important;*/
    }

    .stepper-button:focus,
    .stepper-button:hover {
        background-color: var(--clt-primary-color);
        color: white;
    }
        .stepper-button:focus .stepper-button-icon,
        .stepper-button:hover .stepper-button-icon {
            background-color: #131F29;
            color: white;
        }

.stepper-button-icon {
    background-color: var(--clt-primary-color);
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    transition: background-color 0.2s ease-in-out;
}

/* Stepper summary */
.stepper-summary-header {
    font-weight: 600;
    font-size: 24px;
    color: var(--grey);
    padding-bottom: 1rem;
    border-bottom: 4px solid var(--grey-lighten);
}

.stepper-summary-info {
    font-size: 16px;
    color: var(--grey);
    white-space: pre-line;
}

/* Stepper static content */
.request-stepper-static {
    height: fit-content;
    border-radius: 10px;
    opacity: 0.9;
    background-color: var(--clt-primary-color);
    padding: 2rem;
    width: 33%;
    color: white;
    transition: background-color 0.2s ease-in-out;
}

    /*.request-stepper-static:hover {
        background-color: #131F29;
    }

        .request-stepper-static:hover .request-stepper-static-button {
            background-color: rgba(33, 131, 76, 0.9);
        }*/

.request-stepper-static-button {
    color: white;
    /*background-color: rgba(0, 0, 0, 0.4);*/
    background-color: #131F29;
    /*opacity: 0.9;*/
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
}

    .request-stepper-static-button:focus,
    .request-stepper-static-button:hover {
        border: 1px solid;
        border-radius: 9999px;
        background-color: #131F29;
        /*background-color: var(--clt-primary-color);*/
    }

    .request-stepper-static-button:visited {
        color: white !important;
    }

@media (max-width: 767px) {
    .request-stepper-static {
        width: 100%;
    }
}

/* Select prompt */
.select-clear-btn-container {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    margin-right: 2rem;
    height: 100%;
}

.select-clear-btn {
    border: none;
    background-color: #FFF;
    color: var(--grey);
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    padding: 0;
    transition: background-color 0.2s ease-in-out;
    border-radius: 100%;
    background-position: center;
    transition: background 0.8s;
    background-position: center;
}

    .select-clear-btn:hover {
        background: var(--grey-lighten) radial-gradient(circle, transparent 1%, var(--grey-lighten) 1%) center/15000%;
    }

    .select-clear-btn:active {
        background-color: var(--grey);
        background-size: 100%;
        transition: background 0s;
    }



.select-option {
    color: var(--grey);
    font-weight: 600;
    border-radius: 50%;
}

/* Location prompt */
gmpx-place-picker.error {
    border: 1px solid red;
    border-radius: 4px;
}

.map-switch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    /*background-color: #D6D6D6;*/
    transition: background-color .2s ease;
    border-radius: 100%;
    border-width: 0px;
    width: 36px;
    height: 36px;
    font-size: 3rem;
    padding: 8px;
}

    .map-switch-btn:hover {
        background-color: var(--grey-lighten);
    }

/* Switch */
.switch-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.switch-container {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

    .switch-container input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    border: 2px solid var(--grey-lighten);
    border-radius: 24px;
    transition: 0.4s;
}

    .switch-slider::before {
        position: absolute;
        content: "";
        height: 21px;
        width: 21px;
        left: 2px;
        bottom: 2px;
        background-color: var(--clt-primary-color);
        border-radius: 50%;
        transition: 0.4s;
    }

.switch-container input:checked + .switch-slider {
    background-color: var(--clt-primary-color);
}

    .switch-container input:checked + .switch-slider::before {
        transform: translateX(24px);
        background-color: white;
        left: 0;
    }

.switch-text {
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    color: var(--grey);
}

/* Autcomplete/Multi-Select */
.multi-select,
.autocomplete {
    position: relative;
    display: inline-block;
    width: 100%;
}

.multi-select-chips-input {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

    .multi-select-chips-input.expanded {
        border-bottom-left-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
        border-bottom: none;
        border-color: #bbb;
    }

.multi-select-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 2px solid #bbb;
    border-top: none;
    max-height: 240px;
    overflow-y: auto;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.15);*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    margin: 0;
    padding: 0;
    list-style: none;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin: 0;
    padding: 0;
    list-style: none;
}

    .multi-select-list li,
    .autocomplete-list li {
        padding: 8px 12px;
        cursor: pointer;
    }

        .multi-select-list li.active,
        .multi-select-list li.hover,
        .autocomplete-list li.active,
        .autocomplete-list li:hover {
            background: #e6f7ff;
        }

        .multi-select-list li[disabled],
        .multi-select-list li[aria-disabled="true"],
        .autocomplete-list li[disabled],
        .autocomplete-list li[aria-disabled="true"] {
            color: #9aa0a6; /* typical disabled text */
            background: #f5f5f5; /* subtle gray bg */
            cursor: not-allowed;
            pointer-events: none; /* not clickable */
        }

.multi-select-list {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.multi-select-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    height: 32px;
    border-radius: 16px;
    background-color: #E8E0F0;
    color: #1D1B20;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    margin: 3px;
}

    .multi-select-chip:hover {
        background-color: #DCD2E8;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
    }

.multi-select-chip-close {
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--m3-on-surface-variant, #49454F);
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

    .multi-select-chip-close:hover {
        background-color: rgba(0, 0, 0, 0.08);
        color: #1C1B1F;
    }

.multi-select-clear-all-btn-container {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    margin-right: 1rem;
    height: 100%;
}

.multi-select-clear-all-btn {
    border: none;
    background-color: #FFF;
    color: var(--grey);
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.2s ease-in-out;
    border-radius: 100%;
    background-position: center;
    transition: background 0.8s;
    background-position: center;
}

    .multi-select-clear-all-btn:hover {
        background-color: var(--grey-lighten);
    }

/* Offline request */
.offline-header {
    color: #dc3545;
    font-weight: 700;
    font-size: 2.5rem;
}

.offline-container {
    max-width: 500px;
    margin: auto;
    border-radius: 12px;
    border: 1px solid var(--grey-lighten);
}

/* Bulky items */
.bulky-item-add-card {
    --card-bg: #fff;
    --card-border: #e5e7eb;
    --card-radius: 14px;
    --shadow: 0 2px 12px rgba(0,0,0,.06);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    padding: 12px 14px;
    max-width: 520px;
}

.bulky-item-add-form {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
}

.bulky-item-add-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: #111827;
}

.bulky-item-option-container {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.bulky-item-disabled-icon {
    display: flex;
    text-align: center;
    height: 100%;
}

.qty-wrap {
    display: grid;
    grid-template-rows: auto auto auto;
    align-items: start;
}

.qty-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.qty-input {
    width: 88px;
    appearance: textfield;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.95rem;
}

    .qty-input:focus {
        outline: 3px solid transparent;
        box-shadow: 0 0 0 3px #93c5fd;
        border-color: #60a5fa;
    }

.hint {
    font-size: .75rem;
    color: #6b7280;
    margin-top: 4px;
}

.error {
    font-size: .85rem;
    color: #b91c1c;
    margin-top: 6px;
}

.add-btn {
    border: 1px solid #131F29;
    background-color: #131F29;
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .2s ease, opacity .2s ease, background-color .2s ease-in-out;
}

    .add-btn:hover {
        box-shadow: 0 4px 14px rgba(0,0,0,.12);
        background-color: var(--clt-primary-color);
        border-color: var(--clt-primary-color);
    }

    .add-btn:active {
        transform: translateY(1px);
    }

    .add-btn:disabled {
        opacity: .5;
        cursor: not-allowed;
    }

/* Responsive: stack on narrow screens */
@media (max-width: 520px) {
    .bulky-item-add-form {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "title title"
            "qty   add";
    }

    .bulky-item-add-title {
        grid-area: title;
    }

    .qty-wrap {
        grid-area: qty;
    }

    .add-btn {
        grid-area: add;
        width: 100%;
    }
}


/* ProductList.razor.css */
.bulky-item-list-section {
    margin-top: 20px;
}

.list-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
}

.bulky-item-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    max-height: 50vh;
    overflow-y: auto;
}

.bulky-item-row {
    margin: 0;
}

.row-card {
    --card-bg: #fff;
    --card-border: #e5e7eb;
    --card-radius: 14px;
    --shadow: 0 2px 12px rgba(0,0,0,.06);
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "title delete"
        "qty   qty";
    align-items: center;
    gap: 10px;
}

.row-title {
    grid-area: title;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.row-qty {
    grid-area: qty;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-value {
    min-width: 2ch;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-size: 1rem;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    color: #111827;
}

.qty-controls {
    display: inline-flex;
    gap: 6px;
}

.icon-btn {
    border: 1px solid #d1d5db;
    background: #f9fafb;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

    .icon-btn:hover {
        box-shadow: 0 4px 14px rgba(0,0,0,.08);
    }

    .icon-btn:active {
        transform: translateY(1px);
    }

    .icon-btn:focus-visible {
        outline: 3px solid #93c5fd;
        border-color: #60a5fa;
    }

.delete-btn {
    grid-area: delete;
    justify-self: end;
    border: 1px solid #ef4444;
    background: #ef4444;
    color: #fff;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .2s ease, opacity .2s ease;
}

    .delete-btn:hover {
        box-shadow: 0 4px 14px rgba(239,68,68,.3);
    }

    .delete-btn:active {
        transform: translateY(1px);
    }

    .delete-btn:focus-visible {
        outline: 3px solid #fecaca;
    }

.sr-live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}


.inline-error {
    text-align: end;
    font-size: .85rem;
    color: #b91c1c;
}

/* Wider screens: keep compact */
@media (min-width: 560px) {
    .row-card {
        grid-template-columns: 1fr auto auto;
        grid-template-areas: "title qty delete";
    }
}

.bulky-item-autocomplete-dropdown {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 2px solid var(--grey-lighten);
}

/* Loading Component */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 100px;
    padding: 2rem;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid var(--clt-primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--clt-primary-color);
    text-align: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Alternative pulsing dots loader */
.loading-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.loading-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--clt-primary-color);
    animation: pulse 1.4s ease-in-out infinite both;
}

    .loading-dot:nth-child(1) {
        animation-delay: -0.32s;
    }

    .loading-dot:nth-child(2) {
        animation-delay: -0.16s;
    }

    .loading-dot:nth-child(3) {
        animation-delay: 0s;
    }

@keyframes pulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}