﻿.modal-close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
}

.modal-alert-primary {
    position: relative;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    color: var(--primary);
    padding-left: 35px;
}

    .modal-alert-primary i {
        position: absolute;
        left: 0;
    }

.pl-35 {
    padding-left: 35px;
}

.modal-title {
    font-size: 24px;
    line-height: 36px;
    font-weight: 600;
}

.alert-warning {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #656565;
    background: #FFF6A5;
    border-radius: 8px;
    padding: 10px 10px 10px 40px;
    position: relative;
}

    .alert-warning i.bi, .alert-warning img.alert-img-icon {
        font-size: 24px;
        color: var(--primary);
        position: absolute;
        left: 10px;
    }

.modal-desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.global-modal-popup .form-check-input[type=checkbox] {
    width: 16px;
    height: 16px;
}
/* 12/10/2024 start */
.color-grey {
    color: #656565 !important;
}

.btn-get-started {
    font-family: Open Sans;
    font-size: 24px;
    font-weight: 400;
    line-height: 33px;
    letter-spacing: 0.01em;
    padding: 15px 75px;
}

.small-text, .checkbox .form-check-label.small-text {
    font-family: Open Sans;
    font-size: .8125rem;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 0.01em;
    color: #000000;
}
/* 12/10/2024 end */

@media (max-width: 575.98px) {
    .global-modal-popup .modal-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .global-modal-popup .modal-title {
        font-size: 20px;
        line-height: 28px;
        padding-right: 32px;
    }

    .btn-get-started {
        width: 100%;
        padding: 12px 16px;
        font-size: 18px;
        line-height: 26px;
    }

    .global-modal-popup .modal-desc {
        font-size: 15px;
    }
}
/* QA D-10 (8 Nov 2026): inside the member Works shell (body.layout-v2) the shell's own type and form rules left this window with
   13px text squeezed against the edge and the opt-out label running past the box. Readable sizes and a wrapping checkbox row,
   only in that shell; the wording, the order and what the buttons do are unchanged. */
body.layout-v2 .global-modal-popup .modal-body {
    padding: 2.5rem 2rem 1.5rem;
}

body.layout-v2 .global-modal-popup .modal-desc p,
body.layout-v2 .global-modal-popup .modal-desc li {
    font-size: 1rem;
    line-height: 1.5;
}

body.layout-v2 .global-modal-popup .modal-desc ul {
    padding-left: 1.25rem;
}

body.layout-v2 .global-modal-popup .small-text,
body.layout-v2 .global-modal-popup .checkbox .form-check-label.small-text {
    font-size: .875rem;
    line-height: 1.45;
}

body.layout-v2 .global-modal-popup .form-check {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    padding-left: 0;
}

body.layout-v2 .global-modal-popup .form-check .form-check-input {
    float: none;
    flex: 0 0 auto;
    margin: .2rem 0 0;
}

body.layout-v2 .global-modal-popup .form-check-label {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

body.layout-v2 .global-modal-popup .btn-get-started {
    max-width: 100%;
}
