.fss-modal {
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: 250ms opacity ease-in;
    transition: 250ms opacity ease-in;
    position: fixed;
}

.fss-modal__container {
    background-color: white;
    max-width: 80vw;
    padding: 1.5rem;
    border-radius: 0.2rem;
    z-index: 9999 !important;
}

.fss-modal__body {
    width: 100%;
}

.fss-modal__title {
    text-align: center;
    font-size: 25px !important;
}

.fss-modal__subtitle {
    text-align: center;
    font-size: 15px !important;
    color: black;
}

.fss-modal__paragraph {
    line-height: 1.5rem;
    border-top: 1px solid #eef1f6;
    padding: 1rem 0;
}

.fss-modal__buttons {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

@media (min-width: 55em) {
    .fss-modal__buttons {
        justify-content: flex-end;
    }
}

.fss-modal-visible {
    opacity: 1;
    pointer-events: auto;
    z-index: 9999 !important;
    display: flex !important;
}

#fss-modal .location-select-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

#fss-modal .location-select-container > label {
    /* Reset woo's theming here */
    margin-bottom: 0;
}

button {
    font-family: inherit;
    padding: 0.4rem 0.8rem;
    outline: none;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid #0e48fe;
    border-radius: 0.2rem;
}

.btn-primary {
    background-color: #0e48fe;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #0e48fe;
}

.fss-modal__fields_group {
    width: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.fss-modal__fields_group > * {
    flex: 1 1 20%;
    min-width: 100px;
}

.fss-hide {
    display: none !important;
}

.fss-modal__fields_group > .flex-long {
    flex-basis: 70%;
}

.mLoading {
    display: none;
}

.cancelLoading {
    display: none;
}

.aLoading {
    display: none;
}

.address-container {
    position: relative;
}

.icon-container {
    position: absolute;
    right: 10px;
    top: calc(50% - 10px);
}

.input-loader {
    position: relative;
    height: 20px;
    width: 20px;
    display: inline-block;
    animation: around 5.4s infinite;
}

@keyframes around {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.input-loader::after,
.loader::before {
    content: '';
    background: white;
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    border-width: 2px;
    border-color: #333 #333 transparent transparent;
    border-style: solid;
    border-radius: 20px;
    box-sizing: border-box;
    top: 0;
    left: 0;
    animation: around 0.7s ease-in-out infinite;
}

.input-loader::after {
    animation: around 0.7s ease-in-out 0.1s infinite;
    background: transparent;
}

.autocomplete-suggestions {
    border: 1px solid #999 !important;
    background: #fff !important;
    overflow: auto;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}

.autocomplete-selected {
    background: #f0f0f0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399ff;
}

.autocomplete-group {
    padding: 2px 5px;
}

.autocomplete-group strong {
    display: block;
    border-bottom: 1px solid #000;
}

#localizationModalErrorMessages {
    width: 100%;
    text-align: center;
    height: 40px;
    background-color: red;
    color: white;
    display: none;
}

#localizationModalSuccessMessages {
    width: 100%;
    text-align: center;
    height: 40px;
    background-color: green;
    color: white;
    display: none;
}

.fs-display-user-address {
    text-align: center;
}

.fs-change-user-address {
    color: #efa802;
    cursor: pointer;
}

.streetNameLoading {
    display: none;
}

.streetNoLoading {
    display: none;
}

.fss-form-item-container {
    display: flex;
    flex-direction: column;
}

.fss-form-item-container > label {
    text-align: left;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.fss-delivery-choice {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    border: none;
}

.fss-delivery-choice > div {
    border: 1px solid #555;
    padding: 0.75rem;
    border-radius: 5px;
    display: flex;
    gap: 0.5rem;

    flex: 1 1 auto;
}

.fss-delivery-choice > div > * {
    cursor: pointer;
}

.fss-delivery-choice > div > label {
    width: 100%;
    margin-bottom: 0;
    display: inline-block;
}

.fss-delivery-choice-container {
    margin-block: 1rem;
}

.address-modal-open {
    text-decoration: underline;
}
