.custom-modal {
    display: none;
    position: fixed;
    z-index: 5;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(10, 10, 10, 1);
}

.custom-modal-content {
    height: 100%;
    transition: all 0.5s ease-in-out;
    background: #fff;
    display: flex;
    flex-flow: column;
}

.custom-modal-header {
    display: flex;
    flex-flow: row;
    gap: 10px;
    padding: 10px;
    justify-content: space-between;
    background: #3d366d;
    color: #fff;
}

.custom-modal-header-title-right {
    display: flex;
    gap: 10px;
}

.custom-modal-header-title {
    display: flex;
    flex-flow: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
    line-height: 1;
    font-weight: bold;
    font-size: 12px;
}

.custom-modal-header-title-timer {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    font-family: monospace;
}

#custom_modal_header_title_timer {
    padding: 3px 5px;
    border-radius: 10px;
    background: #fff;
    color: #3d366d;
    font-weight: bold;
    font-size: 12px;
    font-family: monospace;
}

.custom-modal-header-title-info {
    line-height: 1;
    font-weight: bold;
    font-size: 12px;
    font-family: monospace;
}

.custom-timer,
.custom-close,
.custom-full {
    transition: all 200ms;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 10px;
}

.custom-timer:hover,
.custom-timer:focus,
.custom-close:hover,
.custom-close:focus,
.custom-full:hover,
.custom-full:focus {
    opacity: 0.7;
}

.custom-modal-body {
    display: flex;
    flex: 1;
    flex-flow: column;
    justify-content: start;
    text-align: center;
    height: 100%;
    background: #fff;
    overflow-y: auto;
}

.custom-modal-body::-webkit-scrollbar {
    width: 8px;
    margin-right: 10px;
    cursor: pointer;
}

.custom-modal-body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0px #ddd;
    margin-right: 10px;
    cursor: pointer;
}

.custom-modal-body::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 8px #3d366d;
    margin-right: 10px;
    cursor: pointer;
}

.custom-modal-footer {
    /*display: flex;*/
    /*flex-flow: column;*/
    text-align: center;
    background: #f1f1f1;
    border-top: 1px solid #ddd;
    height: min-content;
    z-index: 999;
}

@media (max-width: 767px) {
    .custom-modal-content {
        height: 100%;
    }

    .custom-modal-body {
        height: 100%;
    }

    .custom-modal-header {
        border-radius: 0 !important;
    }

    .custom-modal-footer {

    }
}