@import "variables.css";
@import "../fonts/AllianzNeo/AllianzNeo.css";

.info-panel {
    padding: 32px 24px;
    background-color: var(--blue-8);
    border-radius: 8px;
    font-size: 20px;
    line-height: 26px;
    display: flex;
}


@media screen and (max-width: 767px) {
    .info-panel .emailAddress {
        word-break: break-all;
    }
}

@media screen and (min-width: 768px) {
    .info-panel {
        padding: 32px;
        background-color: var(--blue-8);
        border-radius: 8px;
        font-size: 20px;
        line-height: 26px;
        display: flex;
    }
}

.info-panel:before {
    font-family: Allianz-Icons, serif;
    color: var(--primary);
    content: "\E921";
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.warning-panel {
    padding: 32px 24px;
    background-color: var(--yellow-1);
    border-radius: 8px;
    font-size: 20px;
    line-height: 26px;
    display: flex;
    align-items: center;
}

@media screen and (min-width: 768px) {
    .warning-panel {
        padding: 32px;
        background-color: var(--yellow-1);
        border-radius: 8px;
        font-size: 20px;
        line-height: 26px;
        display: flex;
        align-items: center;
    }
}

.warning-panel:before {
    content: "";
    display: inline-block;
    background-image: url('../images/warning-filled.svg');
    background-size: contain;
    background-repeat: no-repeat;
    height: 24px;
    width: 24px;
    margin-right: 16px;
    align-self: flex-start;
}

.info-modal {
    align-items: center;
}

.info-modal .modal-header {
    align-items: center;
    padding: 32px;
}

.info-modal .modal-header .modal-title{
    font-weight: 700;
    font-size: 32px;
    margin: 12px;
}

.info-modal .modal-header .btn-close {
    background-image: url("../images/Allianz-close-icon.svg");
    background-color: transparent;
    background-repeat: no-repeat;
    border: none;
    height: 16px;
    width: 16px;
    cursor: pointer;
    align-self: flex-start;
}

.info-modal .modal-content {
    background-color: #fff;
    border-radius: 8px;
    overflow: auto;
    max-height: 100%;
}

.info-modal .modal-body {
    margin: 32px;
    padding: 0;
}

.info-modal .modal-footer {
    border-top: none;
    padding: 48px 32px 48px 32px;
    box-shadow: none;
}

.info-modal .info-icon-selected {
    width: 56px;
    height: 56px;
}

@media (max-width: 704px) {

    .info-modal {
        bottom: 0;
        top: auto;
        height: auto;
    }

    .info-modal .modal-dialog{
        width: 100%;
        margin: 0;
        max-width: fit-content;
    }

    .info-modal .modal-header {
        align-items: center;
        padding: 24px;
    }

    .info-modal .modal-body {
        margin: 16px;
        padding: 0;
    }

    .info-modal .modal-content {
        border: none;
    }

    .info-modal .modal-footer {
        padding: 24px 16px 24px 16px;
        box-shadow: 0 -2px 12px 0 rgba(4, 19, 33, .2);
        position: sticky;
        z-index: 2;
        display: flex;
        flex-direction: column;
    }

    .info-modal .btn {
        min-width: auto;
        width: 100%;
        margin: 8px;
    }

    .fade {
        width: 100%;
        height: 100%;
    }
}
