/* Overlay */
.custom-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.custom-modal--active {
    display: flex;
}

.custom-modal-overlay {
    position: absolute;
    inset: 0;
}

.custom-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    z-index: 10;
    padding: 32px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-out;
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.custom-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #304256;
    margin: 0;
}

.custom-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #999;
    cursor: pointer;
}

.custom-modal-body {
    font-size: 1rem;
    line-height: 1.5;
}

.custom-modal-footer {
    margin-top: 1.5rem;
    text-align: right;
}
