.swal2-container.release-notes-container {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.swal2-popup.release-notes-modal {
    margin: auto;
    max-height: calc(100dvh - 32px);
    padding: 0 0 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 14px;
    box-shadow: 0 20px 65px rgba(15, 23, 42, 0.22);
    font-family: inherit;
}

.release-notes-modal .swal2-title.release-notes-title {
    margin: 0;
    padding: 20px 54px 16px;
    background: #fff;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
}

.release-notes-modal .release-notes-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: #94a3b8;
}

.release-notes-modal .swal2-close.release-notes-close {
    position: absolute;
    top: 16px;
    right: 10px;
    width: 32px;
    height: 32px;
    margin: 0;
    border-radius: 8px;
    color: #475569;
    font-size: 24px;
    line-height: 1;
}

.release-notes-modal .release-notes-close:hover {
    background: #f1f5f9;
    color: #000;
}

.release-notes-modal .release-notes-close:focus-visible {
    outline: 2px solid #475569;
    outline-offset: -3px;
    box-shadow: none;
}

.release-notes-modal .swal2-html-container.release-notes-content {
    margin: 0;
    padding: 20px 20px 0;
    font-size: 13px;
    line-height: 1.65;
    text-align: left;
}

.release-notes-body {
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 4px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.release-notes-history {
    display: inline-block;
    margin-top: 14px;
    color: #3b82f6;
    font-size: 12px;
    text-underline-offset: 3px;
}

.release-notes-history:hover {
    text-decoration: underline;
}

.release-notes-modal .swal2-actions.release-notes-actions {
    justify-content: flex-end;
    width: 100%;
    margin: 16px 0 0;
    padding: 12px 20px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.release-notes-modal .swal2-confirm.release-notes-confirm {
    margin: 0;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}
