/* Shared purchase requirements dialog used by Index and LuckySuite. */
.req-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .24s ease;
}

.req-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.req-modal-content {
    width: min(100%, 610px);
    overflow: hidden;
    color: #111;
    background: #fff;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
    font-family: 'Outfit', sans-serif;
    transform: translateY(16px) scale(.985);
    transition: transform .24s ease;
}

.req-modal-overlay.show .req-modal-content {
    transform: translateY(0) scale(1);
}

.req-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 30px 23px;
    color: #111;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.req-modal-alert {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #111;
    background: #ffab19;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 900;
}

.req-modal-heading h3 {
    margin: 0;
    color: #111;
    font-size: 1.22rem;
    line-height: 1.15;
}

.req-modal-heading p {
    margin: 5px 0 0;
    color: #696969;
    font: 500 .84rem/1.45 'Inter', sans-serif;
}

.req-modal-body {
    padding: 24px 30px 18px;
    color: #202020;
    background: #fff;
}

.req-modal-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.req-modal-list li {
    position: relative;
    margin: 0 0 15px;
    padding-left: 23px;
    color: #292929;
    font: 500 .94rem/1.48 'Inter', sans-serif;
}

.req-modal-list li:last-child { margin-bottom: 0; }

.req-modal-list li::before {
    content: '';
    position: absolute;
    top: .55em;
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff9d00;
}

.req-modal-list strong { color: #111; font-weight: 800; }

.req-inline-link,
.req-modal-list a {
    padding: 0;
    color: #111;
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: #ff9d00;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    cursor: pointer;
}

.req-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 24px;
    background: #f7f7f7;
    border-top: 1px solid #e4e4e4;
}

.req-btn-cancel,
.req-btn-confirm {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 10px;
    font: 800 .92rem/1 'Outfit', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.req-btn-cancel {
    color: #333;
    background: #fff;
    border: 1px solid #cfcfcf;
}

.req-btn-cancel:hover { color: #111; background: #eee; border-color: #bdbdbd; }

.req-btn-confirm {
    color: #111;
    background: #ff9d00;
    border: 1px solid #ff9d00;
}

.req-btn-confirm:hover {
    color: #111;
    background: #ffaf29;
    border-color: #ffaf29;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 157, 0, .22);
}

.req-modal-overlay [hidden] { display: none !important; }

@media (max-width: 600px) {
    .req-modal-overlay { padding: 14px; }
    .req-modal-header { padding: 22px 20px 19px; }
    .req-modal-body { padding: 21px 20px 16px; }
    .req-modal-list li { font-size: .86rem; }
    .req-modal-footer { padding: 16px 18px; }
    .req-btn-cancel, .req-btn-confirm { padding: 0 16px; }
}

