﻿#spinner:not([hidden]) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0.5;
    background-color: lightgray;
}

#spinner::after {
    content: "";
    width: 100px;
    height: 100px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #f25a41;
    border-radius: 100%;
    will-change: transform;
    animation: spin 1s infinite linear
}

.modal-open-overflow {
    overflow-x: hidden;
    overflow-y: auto;
}

.menu-customization-Img {
    width: 100% !important;
}

.choosed-category-option {
    background: #D3E7F9 !important;
}

.choosed-category-option-span {
    font-family: 'Oswald' !important;
    font-weight: 300 !important;
}

.tip-selected {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.container-table {
    display: table;
}

.vertical-center-row {
    /*display: table-cell;*/
    vertical-align: middle;
}

.credit-card-box .panel-title {
    display: inline;
    font-weight: bold;
}

.credit-card-box .form-control.error {
    border-color: red;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(255,0,0,0.6);
}

.credit-card-box label.error {
    font-weight: bold;
    color: red;
    padding: 2px 8px;
    margin-top: 2px;
}

.credit-card-box .payment-errors {
    font-weight: bold;
    color: red;
    padding: 2px 8px;
    margin-top: 2px;
}

.credit-card-box label {
    display: block;
}

.credit-card-box .display-table {
    display: table;
}

.credit-card-box .display-tr {
    display: table-row;
}

.credit-card-box .display-td {
    display: table-cell;
    vertical-align: middle;
    width: 50%;
}

.pricing-detail-table {
    border: none;
}

    .pricing-detail-table > tr > td {
        border: none;
    }

.header-restaurant-details {
    line-height: 15px;
}

.header-restaurant-details > span {
        font-family: 'Oswald';
        color: #2f2f2b;
        font-size: 15px;
}

.blink-text {
    width: 100%;
    padding: 5px;
    text-align: center;
    color: #ffffff;
    background-color: #e82323;
    font-style: italic;
    margin-bottom: 15px;
    animation: blinkingText 2s infinite;
}

@keyframes blinkingText {
    0% {
        background-color: #10c018;
    }

    25% {
        background-color: #1056c0;
    }

    50% {
        background-color: #ef0a1a;
    }

    75% {
        background-color: #254878;
    }

    100% {
        background-color: #04a1d5;
    }
}

.reward-listing-box.active {
    border: 1px solid #e5e5e5 !important;
}

.blazored-toast {
    width: 20rem;
}

.blazored-toast-container {
    z-index: 9999999 !important;
}

/*.blink-text-css {
    background: linear-gradient(130deg,#ff7a18,#af002d 41.07%,#319197 76.05%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}*/

.validation-message {    
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

.invalid ~ .validation-message {
    display: block;
}

.form-control.invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

    .form-control.invalid:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

textarea.form-control.invalid {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.form-check-input.invalid ~ .form-check-label {
    color: #dc3545;
}

.form-check-input.invalid ~ .validation-message {
    display: block;
}

.disable-btn {
    background: gainsboro;
    pointer-events : none
}

.error-note {
    text-transform: uppercase;
    font-weight: 600;
    color: #e82323;
    font-family: "Oswald", sans-serif;
}

/* Header fixed to the top of the modal */
.modal-header--sticky {
    position: sticky;
    top: 0;
    background-color: inherit; /* [1] */
    z-index: 1055; /* [2] */
    padding: 0.5px !important;
}

.process-info-block {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
}

.process-info-block img {
    width: 36px;
}

.process-info-block label {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    display: inline-block;
    padding-left: 10px;
    color: red;
}