.atlas-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    background-color: var(--atlas-overlay);
}

.atlas-modal.active {
    display: flex;
}

.atlas-modal-box {
    width: 500px;
    margin: auto;
    font-size: 16px;
}

.atlas-modal .atlas-modal-content {
    background-color: var(--atlas-bg-main);
    border: 1px solid var(--atlas-border-color);
    border-radius: 8px;
    padding: 32px;
    width: 90%;
    max-width: 480px;
    position: relative;
    font-size: 16px;
}

.atlas-modal .atlas-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    width: 24px;
    height: 24px;
    background-image: url("../images/icons/close.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.6;
    cursor: pointer;
    padding: 4px;
}

.atlas-modal .atlas-modal-close:hover {
    opacity: 1;
}

.atlas-modal .atlas-modal-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--atlas-text-primary);
    text-align: center;
}

.atlas-modal .form-group input,
.atlas-modal .form-group select,
.atlas-modal .form-group textarea,
.atlas-modal .form-select,
.atlas-modal .form-input,
.atlas-modal .form-textarea {
    background-color: var(--atlas-bg-card);
}

.atlas-modal .submit-button {
    margin-top: 16px;
}

/* -------------------------------------------------- */
/* -------------------- themes ---------------------- */
/* -------------------------------------------------- */

[data-theme="dark"] .atlas-modal .atlas-modal-close {
    background-image: url("../images/icons/close_light.svg");
}

/* -------------------------------------------------- */
/* ---------------- .modal-callback ----------------- */
/* -------------------------------------------------- */

.atlas-modal.modal-callback .atlas-modal-content {
    text-align: center;
}

.atlas-modal.modal-callback p {
    margin-bottom: 40px;
}

.atlas-modal.modal-callback .icon {
    font-size: 6rem;
    margin-bottom: 25px;
}

.atlas-modal.modal-callback .icon.icon-success {
    color: #51CE71;
}

.atlas-modal.modal-callback-error .atlas-modal-title {
    color: #AD4A4A;
}

.atlas-modal.modal-callback-error .icon-error {
    color: #AD4A4A;
}

/* -------------------------------------------------- */
/* ---------- .atlas-section-premium-modal ---------- */
/* -------------------------------------------------- */

.atlas-section-premium-modal .atlas-modal-content {
    max-width: 420px;
    font-size: 14px;
}

.atlas-section-premium-modal .atlas-modal-title {
    line-height: 1.2;
}

.atlas-section-premium-modal .subtitle {
    display: block;
    font-size: 20px;
    line-height: 16px;
    font-weight: 600;
    color: #212121;
    text-align: center;
    margin-bottom: 20px;
}

.atlas-section-premium-modal .logo {
    width: 48px;
    height: 50px;
    display: block;
    margin: 0 auto 18px;
}

.atlas-section-premium-modal ul {
    margin: 0;
    padding-left: 25px;
    list-style: none;
}

.atlas-section-premium-modal ul li {
    position: relative;
}

.atlas-section-premium-modal ul li::before {
    display: block;
    content: url("../images/icons/check.svg");
    width: 16px;
    height: 16px;
    position: absolute;
    left: -25px;
    top: 3px;
}

.atlas-section-premium-modal ul li + li {
    margin-top: 12px;
}

/* -------------------------------------------------- */
/* ----------------- .modal-reg-quiz ---------------- */
/* -------------------------------------------------- */

.modal-reg-quiz .form-bottom {
    margin-top: 20px;
    text-align: center;
}

.modal-reg-quiz .form-bottom .button-back {
    display: inline-block;
}
