.modal {
    display: flex;
    width: 100%;
    background: var(--base_bg);
    box-shadow: 0px 187px 75px rgba(0, 0, 0, 0.01), 0px 105px 63px rgba(0, 0, 0, 0.05), 0px 47px 47px rgba(0, 0, 0, 0.09), 0px 12px 26px rgba(0, 0, 0, 0.1), 0px 0px 0px rgba(0, 0, 0, 0.1);
    border-radius: 26px;
    outline: none;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    outline: none;
}

.separator {
    width: calc(100% - 20px);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 10px;
    color: #8B8E98;
    margin: 0 10px;
}

.separator > p {
    word-break: keep-all;
    display: block;
    text-align: center;
    font-weight: 600;
    font-size: 11px;
    margin: auto;
}

.separator .line {
    display: inline-block;
    width: 100%;
    height: 1px;
    border: 0;
    background-color: #e8e8e8;
    margin: auto;
}

.credit-card-info--form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    place-items: center;
    place-content: center;
    justify-content: center;
    outline: none;
}

.input_container {
    width: auto;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 5px;
    place-items: center;
    place-content: center;
    justify-content: center;
}

.split {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.split input {
    width: 100%;
}

.input_label {
    font-size: 10px;
    color: #8B8E98;
    font-weight: 600;
    outline: none;
}

.input_field {
    width: auto;
    height: 40px;
    padding: 0 0 0 16px;
    border-radius: 9px;
    outline: none;
    background-color: transparent;
    border: 1px solid #e5e5e500;
    transition: all 0.3s cubic-bezier(0.15, 0.83, 0.66, 1);
    box-shadow: 0px 0px 0px 2px #242424;
    outline: none;
}

.input_field:focus {
    border: 1px solid transparent;
    box-shadow: 0px 0px 0px 2px #242424;
    background-color: transparent;
}

.purchase--btn {
    height: 55px;
    background: #F2F2F2;
    border-radius: 11px;
    border: 0;
    outline: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(180deg, #363636 0%, #1B1B1B 50%, #000000 100%);
    box-shadow: 0px 0px 0px 0px #FFFFFF, 0px 0px 0px 0px #000000;
    transition: all 0.3s cubic-bezier(0.15, 0.83, 0.66, 1);
}

.purchase--btn:hover {
    box-shadow: 0px 0px 0px 2px #242424;
}

.input_field::-webkit-outer-spin-button,
.input_field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input_field[type=number] {
    -moz-appearance: textfield;
}


.actions {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

form .multiple_options {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

form .multiple_options span {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: #1a1a2e;
    color: white;
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

form .multiple_options img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

form .multiple_options span:hover img {
    transform: scale(1.05);
}

form .multiple_options .selected_store {
    display: flex;
    background: transparent;
    width: 100%;
    height: 100%;
    position: absolute;
    right: -1.5rem;
    top: -1.3rem;
    animation: rollIn 0.5s ease-out forwards;
}

form .multiple_options .selected_store.removing {
    animation: rollOut 0.4s ease-in forwards;
}

form .multiple_options .selected_store svg {
    width: 1.3rem;
    height: 1.3rem;
    color: #00ff00;
}

@keyframes rollIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) rotate(-180deg) scale(0.3);
    }
    60% {
        opacity: 1;
        transform: translateY(5px) rotate(15deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

@keyframes rollOut {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
    40% {
        opacity: 0.7;
        transform: translateY(-10px) rotate(-90deg) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) rotate(-180deg) scale(0.3);
    }
}

form .multiple_options span.selected {
    animation: gentleBounce 0.6s ease;
}

@keyframes gentleBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}