/* Registration modal styles (extracted from payment-interface.css) */
.registration-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    padding: 24px;
    z-index: 11000;
}

.registration-modal__content {
    /* match payment-card visuals */
    width: min(420px, 94%);
    background: rgba(26, 26, 46, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.registration-modal__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.registration-modal__description {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.registration-modal__input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
    font-size: 15px;
}

.registration-modal__input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
}

.registration-modal__button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: var(--accent);
    color: #0c1020;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.14s ease, transform 0.1s ease, box-shadow 0.14s ease;
    box-shadow: 0 6px 18px rgba(0, 255, 163, 0.08);
}

.registration-modal__button:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 217, 138, 0.09);
}

/* TOS Agreement Section */
.registration-modal__tos-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid rgba(0, 255, 163, 0.3);
}

.registration-modal__checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    flex: 1;
}

.registration-modal__checkbox {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
    margin-top: 2px;
}

.registration-modal__tos-link {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-weight: 600;
}

.registration-modal__tos-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* optional close button in modal header */
.registration-modal__close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 20px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.registration-modal__close:hover {
    background: rgba(255, 255, 255, 0.02);
}

.sr-only {
    display: none !important;
}

/* Responsive adjustments copied from payment-interface */
@media (max-width: 900px) {
    .registration-modal__content {
        padding: 24px;
    }
}
