#nobo-payment-popup {
    position: fixed !important;
    inset: 0 !important;
    display: none;
    background: rgba(0,0,0,.45) !important;
    z-index: 999999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

#nobo-payment-popup * {
    box-sizing: border-box !important;
    font-family: Arial, sans-serif !important;
}

.nobo-popup-box {
    width: 23% !important;
    max-width: 100vw !important;
    max-height: 92vh !important;
    background: #fff !important;
    padding: 14px !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 55px rgba(0,0,0,.28) !important;
    position: relative !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
}

.nobo-popup-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 34px !important;
    margin-bottom: 12px !important;
}

.nobo-popup-top h3 {
    margin: 0 !important;
    font-size: 14px !important;
    color: #6f2c91 !important;
    font-weight: 700 !important;
}

.nobo-popup-back,
.nobo-popup-close {
    background: transparent !important;
    border: 0 !important;
    color: #6f2c91 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 28px !important;
    height: 28px !important;
}

.nobo-merchant-card {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #f1f1f1 !important;
    border-radius: 6px !important;
    padding: 10px !important;
    margin-bottom: 12px !important;
}

.nobo-merchant-logo {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #e8f7ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6f2c91 !important;
    font-weight: 900 !important;
}

.nobo-merchant-card h4 {
    margin: 0 0 3px !important;
    font-size: 14px !important;
    color: #111 !important;
    font-weight: 800 !important;
}

.nobo-merchant-card p {
    margin: 0 !important;
    font-size: 9px !important;
    color: #555 !important;
}

.nobo-popup-tabs {
    display: flex !important;
    width: 100% !important;
    border-top: 1px dashed #ccc !important;
    border-bottom: 1px solid #ddd !important;
    margin-bottom: 18px !important;
}

.nobo-tab-btn {
    flex: 1 !important;
    border: 0 !important;
    background: #fff !important;
    color: #6f2c91 !important;
    padding: 12px 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-bottom: 2px solid transparent !important;
    cursor: pointer !important;
}

.nobo-tab-btn.active {
    border-bottom-color: #6f2c91 !important;
}

.nobo-tab-content {
    display: none !important;
}

.nobo-tab-content.active {
    display: block !important;
}

.nobo-method-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px 12px !important;
    padding: 8px 4px 20px !important;
}

.nobo-method-logo-card {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    cursor: pointer !important;
}

.nobo-method-logo-card input {
    display: none !important;
}

.nobo-method-logo-card span {
    height: 48px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    border: 1px solid transparent !important;
    background: #ededed !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: #333 !important;
}

.nobo-method-logo-card img {
    max-width: 62px !important;
    max-height: 38px !important;
    object-fit: contain !important;
}

.nobo-method-logo-card input:checked + span {
    border-color: #6f2c91 !important;
    box-shadow: 0 0 0 2px rgba(111,44,145,.15) !important;
}

.nobo-selected-info {
    display: none;
    background: #f7f7f7 !important;
    padding: 10px !important;
    border-radius: 6px !important;
    margin-bottom: 10px !important;
    font-size: 12px !important;
}

.nobo-selected-info h4 {
    margin: 0 0 5px !important;
    font-size: 13px !important;
}

.nobo-selected-info p {
    margin: 0 0 8px !important;
}

.nobo-copy-account {
    background: #6f2c91 !important;
    color: #fff !important;
    border: 0 !important;
    padding: 6px 10px !important;
    border-radius: 3px !important;
    font-size: 11px !important;
    cursor: pointer !important;
}

.nobo-selected-instructions {
    margin-top: 10px !important;
    font-size: 12px !important;
    line-height: 1.7 !important;
    color: #333 !important;
    white-space: pre-line !important;
    word-break: break-word !important;
}

.nobo-popup-fields input[type="text"],
.nobo-popup-fields input[type="file"] {
    width: 100% !important;
    height: 36px !important;
    display: block !important;
    margin-bottom: 8px !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
    background: #fff !important;
    color: #111 !important;
}

.nobo-popup-pay-btn,
.nobo-popup-cancel {
    width: 100% !important;
    height: 38px !important;
    border-radius: 3px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    letter-spacing: .5px !important;
}

.nobo-popup-pay-btn {
    background: #6f2c91 !important;
    color: #fff !important;
    border: 0 !important;
    margin-top: 8px !important;
}

.nobo-popup-cancel {
    background: #fff !important;
    color: #6f2c91 !important;
    border: 1px solid #6f2c91 !important;
    margin-top: 10px !important;
}

.nobo-open-popup-btn {
    width: 100% !important;
    background: #6f2c91 !important;
    color: #fff !important;
    border: 0 !important;
    padding: 13px !important;
    font-weight: 800 !important;
    border-radius: 3px !important;
    cursor: pointer !important;
}

.nobo-popup-message {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;

    width: 23% !important;
    max-width: 100vw !important;
    height: 92vh !important;

    background: #ffffff !important;
    z-index: 9999999999 !important;

    display: none;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;

    padding: 35px 20px !important;
    text-align: center !important;
    overflow: hidden !important;
}

@media (max-width: 480px) {
    .nobo-popup-message {
        width: 100% !important;
        max-width: 95vw !important;
        height: 92vh !important;
    }
}

.nobo-message-icon {
    font-size: 45px !important;
    margin-bottom: 12px !important;
}

.nobo-popup-message h3 {
    margin: 0 0 10px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #111 !important;
}

.nobo-popup-message p {
    margin: 0 0 18px !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #555 !important;
}

.nobo-message-close {
    border: 0 !important;
    background: #6f2c91 !important;
    color: #fff !important;
    padding: 11px 18px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}
.nobo-popup-message-x {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;

    width: 34px !important;
    height: 34px !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: #f3f4f6 !important;
    color: #111 !important;

    font-size: 22px !important;
    font-weight: 700 !important;

    cursor: pointer !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
@media (max-width: 480px) {
    .nobo-popup-box {
        width: 100% !important;
        height: auto !important;
        max-height: 92vh !important;
        overflow-y: auto !important;
    }
}