/* modal */
:root {
    --modal_bg: var(--primary-colors-white);
    --modal_color: var(--primary-colors-black);
    --modal_heading-color: var(--primary-colors-black);
    --modal-primary-btn_bg: var(--primary-colors-amgen-blue);
    --modal-primary-btn_color: var(--primary-colors-white);
    --modal-secondary-btn_bg: var(--primary-colors-white);
    --modal-secondary-btn_color: var(--primary-colors-amgen-blue);
    --modal-base-font-family: var(--base-font-family);

    --modal-base-font-size: var(--base-font-size);
    --modal-base-font-lh: var(--base-line-height);
    --modal-heading-font-size: var(--h3-font-size);
    --modal-btn-font-size: clamp(0.88rem, calc(0.73rem + 0.73vw), 1.25rem);

    --modal-base-line-height: calc(var(--modal-base-font-size) + .5rem);
    --modal-para-line-height: calc(var(--modal-base-font-size) + .6875rem);
    --modal-heading-line-height: calc(var(--modal-heading-font-size) + .5rem);

    --modal-btn-gap: 20px;
    --modal-container-width: 90%;
}


.quantum-modal {
    color: var(--modal_color);
    font-family: var(--modal-base-font-family);
    font-size: var(--modal-base-font-size);
    line-height: var(--modal-base-font-lh);
    letter-spacing: 0;
    text-align: left;
    text-indent: 0;
    text-shadow: none;
    text-transform: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100vh;
    width: 100vw;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    -webkit-transition: opacity .2s, visibility 0s .2s;
    transition: opacity .2s, visibility 0s .2s;
    visibility: hidden;
    z-index: 500;
}

.quantum-modal,
.quantum-modal:before,
.quantum-modal:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


.quantum-modal {
    color: inherit;
    background: rgba(0, 0, 0, 0.75);
    /* backdrop-filter: blur(2px); */
}

.quantum-modal.quantum-modal--visible {
    opacity: 1;
    transition: opacity .4s, visibility 0s;
    visibility: visible;
    overflow-y: scroll;
}

.quantum-modal__dialog {
    color: var(--modal_color);
    font-family: var(--modal-base-font-family);
    font-size: var(--modal-base-font-size);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-position: left bottom;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    background: var(--modal_bg);
    filter: drop-shadow(var(--modal-btn-shadow));
    width: var(--modal-container-width);
    padding: 15px;
    max-width: 530px;
    background-color: #fff;
}

@media (max-width: 600px) {
    .quantum-modal__dialog {
        padding: 44px 27px;
    }
}

.quantum-modal__dialog.quantum-modal__dialog--fit-content {
    display: inline-block;
    max-width: 80rem;
    overflow-x: hidden;
}

.quantum-modal__dialog-text {
    margin: 0 0 1rem;
    max-height: 50vh;
    overflow-y: auto;
}

.quantum-modal__dialog--fit-content .quantum-modal__dialog-text {
    display: inline-block;
}

button.quantum-modal__close {
    color: var(--modal-btn_color);
    border: none;
    cursor: pointer !important;
    margin: 0;
    position: absolute;
    top: .9375rem;
    right: .9375rem;
    padding: 0rem;
    background-color: transparent;
    opacity: 1;
    z-index: 10;
    background: url(../images/modal-close.svg) no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 20px;
    outline: none !important;
}

@media (max-width: 600px) {
    button.quantum-modal__close {
        width: 15px;
        height: 15px;
    }
}

button.quantum-modal__close>img,
button.quantum-modal__close>svg {
    display: none;
}

button.quantum-modal__close .quantum-icon {
    height: 1.5rem;
    width: 1.5rem;
    fill: currentColor;
}

.modal-title-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: var(--modal-head-bg);
    width: inherit;
}

.modal-title-container .modal-title {
    min-height: 9.375rem;
}

.quantum-modal__dialog p {
    font-size: var(--modal-base-font-size);
    line-height: var(--modal-base-line-height);
    font-weight: 400;
    text-align: center;
    margin: 0;
}

.quantum-modal__dialog p:first-child {
    margin-bottom: 1.25rem;
}



.quantum-modal__dialog p>a {
    color: var(--text-color);
}

.quantum-modal__dialog p>a:hover {
    color: var(--btn-color);
    text-shadow: 0 0 var(--btn-color);
}

.modal-actions {
    --btn-font-family: var(--font-poppins-bold);
    --btn-font-size: var(--modal-btn-font-size);
    --btn-font-line-height: var(--modal-para-line-height);
    display: flex;
    margin-top: 28px;
    justify-content: space-between;
    gap: var(--modal-btn-gap);
    width: 250px;
    flex-direction: column;
}

@media (min-width: 768px) {
    .modal-actions {
        flex-direction: row;
        width: 100%;
        max-width: 928px;
        gap: 80px;
    }
}

.modal-actions .quantum-button {
    width: 100%;
    display: flex;
}

.quantum-modal__dialog h1 {
    --h1-font-size: 35px;
    --h1-line-height: 45px;
    margin-bottom: 10px;
}

.quantum-modal__dialog h3 {
    margin-top: 40px;
    margin-bottom: 1.5rem;
    padding-left: 18px;
    font-weight: 600;
    font-size: 17px;
    color: #0063C3;
}

@media (max-width: 1024px) {
    .quantum-modal__dialog h1 {
        --h1-font-size: 30px;
        --h1-line-height: 40px;
    }
}

#auth_modal .quantum-modal__dialog {
    padding-top: 0;
}

.modal-input>input {
    font-weight: normal;
    max-width: 190px;
    border: 2px solid #7F9BB1;
    outline: none;
    padding-bottom: 0 !important;
    height: 45px;
    width: auto;
    text-align: center;
}

.modal-actions .quantum-button {
    background-image: linear-gradient(#2DBCB6, #1D7F7A);
    border: 0;
    border-radius: 25px;
    width: auto;
    color: #ffffff;
    text-transform: uppercase;
    padding: 9px 65px;
    font-size: 20px;
    display: inline-block;
    font-weight: 400;   
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    line-height: 1.5;
    -webkit-appearance: button;
    text-decoration: none;
}
#auth_modal .modal-actions{
    padding-top: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
    justify-content: center;
}
.error{
    border-color: red !important;
}