﻿.custom-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .custom-modal.show {
        display: flex;
    }

.custom-modal-content {
    width: min(500px,90vw);
    background: white;
    border-radius: 18px;
    overflow: hidden;
    animation: modalShow .25s ease;
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #EEE;
}

    .custom-modal-header h2 {
        margin: 0;
        color: #19346E;
        font-size: 1.35rem;
    }

.custom-modal-close {
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.custom-modal-body {
    padding: 24px;
    color: #555;
    line-height: 1.6;
    max-height: 60vh;
    overflow-y: auto;
}

@keyframes modalShow {

    from {
        opacity: 0;
        transform: translateY(20px) scale(.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
