.market-access-dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1800;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.68);
}

.market-access-dialog-backdrop.is-open {
    display: flex;
}

.market-access-dialog {
    width: min(440px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.market-access-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.market-access-dialog-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0;
}

.market-access-dialog-close {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #4b5563;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.market-access-dialog-close:hover {
    background: #f3f4f6;
}

.market-access-dialog-close:focus-visible,
.market-access-dialog-action:focus-visible,
.market-access-dialog-cancel:focus-visible {
    outline: 3px solid rgba(14, 116, 144, 0.35);
    outline-offset: 2px;
}

.market-access-dialog-body {
    padding: 20px;
}

.market-access-dialog-message,
.market-access-dialog-note {
    margin: 0;
    line-height: 1.7;
}

.market-access-dialog-note {
    margin-top: 10px;
    color: #6b7280;
    font-size: 14px;
}

.market-access-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 20px 20px;
}

.market-access-dialog-action,
.market-access-dialog-cancel {
    min-height: 42px;
    padding: 9px 16px;
    box-sizing: border-box;
    border-radius: 6px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.market-access-dialog-action {
    border: 1px solid #d9a400;
    background: #f5b800;
    color: #111827;
}

.market-access-dialog-action:hover {
    background: #dda600;
}

.market-access-dialog-cancel {
    border: 1px solid #9ca3af;
    background: #ffffff;
    color: #374151;
}

@media (max-width: 480px) {
    .market-access-dialog-actions {
        flex-direction: column-reverse;
    }

    .market-access-dialog-action,
    .market-access-dialog-cancel {
        width: 100%;
        text-align: center;
    }
}
