/**
 * Estilos para cdcAttestationModal (CI-24177)
 * Modal "Declaracion de Salud" CDC con la linea visual de los modales de CUSS (errorService):
 * tarjeta blanca para la declaracion, amarilla para "Dirigete a mostrador",
 * NeueHaasUnicaPro, texto #0B2343 y botones pildora blancos con texto #007DC3.
 */

.cdc-attestation-modal-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    padding: 16px !important;
    box-sizing: border-box;
}

.cdc-attestation-modal-wrapper .modal-dialog {
    width: 1140px;
    max-width: 96vw;
    margin: 0 !important;
}

.cdc-attestation-modal-wrapper .modal-content {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.cdc-modal {
    background-color: #FFF;
    padding: 40px 32px 28px;
    color: #0B2343;
    font-family: NeueHaasUnicaPro-Regular;
    min-height: 420px;
}

/* "Dirigete a mostrador": mismo amarillo que los errores de errorService */
.cdc-modal--counter {
    background-color: rgb(254, 203, 46);
    min-height: 0;
}

.cdc-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 12px;
}

.cdc-modal__title {
    font-family: NeueHaasUnicaPro-Medium;
    font-size: 36px;
    line-height: 1.15;
    margin: 0 0 12px;
    color: #0B2343;
}

.cdc-modal__title--highlight {
    color: #007DC3;
}

.cdc-modal__close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    position: relative;
    flex-shrink: 0;
}

.cdc-modal__close:before,
.cdc-modal__close:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 6px;
    width: 28px;
    height: 2px;
    background-color: #0B2343;
}

.cdc-modal__close:before {
    transform: rotate(45deg);
}

.cdc-modal__close:after {
    transform: rotate(-45deg);
}

.cdc-modal__close[disabled] {
    opacity: 0.25;
}

.cdc-modal__question {
    font-size: 22px;
    line-height: 1.4;
    margin: 0 12px 24px;
}

.cdc-modal__rows > .cdc-row + .cdc-row {
    margin-top: 12px;
}

.cdc-modal__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 4px 0;
    font-size: 18px;
}

.cdc-modal__footer p {
    margin: 0;
}

.cdc-modal__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 40px 12px;
}

.cdc-modal__center .cdc-modal__question {
    max-width: 780px;
    margin-bottom: 32px;
}

.cdc-modal__qr {
    background-color: #FFF;
    padding: 12px;
    border: 1px solid lightgray;
    margin-bottom: 28px;
}

/* Boton de los modales de CUSS (startover-warning-modal, errores) */
.cdc-modal__button {
    min-width: 307px;
    padding: 20px 100px;
    background-color: #FFF;
    color: #007DC3;
    border: 1px solid lightgray;
    border-radius: 50px;
    font-family: NeueHaasUnicaPro-Regular;
    font-size: 20px;
    font-weight: bold;
}

.cdc-row {
    display: flex;
    align-items: center;
    background-color: #EBF5FA;
    padding: 18px 22px;
}

.cdc-row__name {
    width: 200px;
    flex-shrink: 0;
    font-family: NeueHaasUnicaPro-Medium;
    font-size: 20px;
    margin: 0 16px 0 0;
    text-transform: capitalize;
}

.cdc-row__answers {
    width: 260px;
    flex-shrink: 0;
    margin-right: 16px;
}

.cdc-row__options {
    display: flex;
}

.cdc-row__options .cdc-check + .cdc-check {
    margin-left: 40px;
}

.cdc-row__link {
    background: none;
    border: none;
    padding: 0;
    margin-top: 8px;
    color: #007DC3;
    text-decoration: underline;
    font-size: 17px;
}

.cdc-row__send {
    width: 232px;
    flex-shrink: 0;
    min-height: 56px;
    margin-left: 16px;
    background-color: #FFF;
    color: #007DC3;
    border: 1px solid lightgray;
    border-radius: 50px;
    font-family: NeueHaasUnicaPro-Regular;
    font-size: 17px;
    font-weight: bold;
}

.cdc-row__send[disabled] {
    color: #A9B4C2;
}

.cdc-row__send--sent,
.cdc-row__send--sent[disabled] {
    background-color: #48A83E;
    border-color: #48A83E;
    color: #FFF;
}

.cdc-check {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    color: #0B2343;
    font-size: 18px;
    text-align: left;
}

.cdc-check--confirm {
    flex: 1;
    font-size: 16px;
    line-height: 21px;
}

.cdc-check__box {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    margin-right: 12px;
    border: 2px solid #0B2343;
    border-radius: 4px;
    background-color: #FFF;
}

.cdc-check--on .cdc-check__box {
    background-color: #007DC3;
    border-color: #007DC3;
    box-shadow: inset 0 0 0 4px #FFF;
}

.cdc-pager {
    display: flex;
    align-items: center;
}

.cdc-pager button + button {
    margin-left: 10px;
}

.cdc-pager__arrow {
    background: none;
    border: none;
    color: #0B2343;
    font-size: 40px;
    line-height: 1;
    padding: 0 8px;
}

.cdc-pager__arrow[disabled] {
    opacity: 0.25;
}

.cdc-pager__page {
    width: 46px;
    height: 46px;
    border: 1px solid lightgray;
    border-radius: 50%;
    background: #FFF;
    color: #007DC3;
    font-size: 18px;
    font-weight: bold;
}

.cdc-pager__page--active {
    background-color: #007DC3;
    border-color: #007DC3;
    color: #FFF;
}
