/* KickRocksMF modal. Dark theme, brand red accent. */

.kr-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.kr-modal.is-open { display: flex; }

.kr-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.kr-modal__panel {
    position: relative;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 2px;
    max-width: 520px;
    width: 100%;
    padding: 32px 28px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    overflow: visible;
}
.kr-modal__panel--wide {
    max-width: 960px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.kr-modal__panel--wide::-webkit-scrollbar { display: none; width: 0; }

.kr-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    color: #888;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: color 0.15s ease, background-color 0.15s ease;
    font-family: inherit;
}
.kr-modal__close:hover { color: #fff; background: #1a1a1a; }

.kr-modal__title {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-size: 22px;
    line-height: 1.1;
    margin: 0 0 24px;
    padding-right: 32px;
}

.kr-modal__body { display: flex; flex-direction: column; gap: 16px; }
.kr-modal .kr-select__menu { z-index: 1100; }

.kr-modal__actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
