/* Backdrop (Glassmorphism effect) */
#nbh-custom-amount-modal.nbhcam-backdrop {
    display: none; 
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

/* Modal Card */
.nbhcam-modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 28px 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: center;
    animation: nbhcam-fadeInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Close Icon */
.nbhcam-close {
    position: absolute;
    right: 18px;
    top: 14px;
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.15s;
}

.nbhcam-close:hover {
    color: #0f172a;
}

.nbhcam-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.nbhcam-subtitle {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}

/* Buttons Wrapper */
.nbhcam-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

/* Base Button */
.nbhcam-btn {
    width: 100%;
    border-radius: 9999px;
    padding: 14px 20px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Primary Button */
.nbhcam-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.nbhcam-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

/* Cancel Button */
.nbhcam-btn-ghost {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.nbhcam-btn-ghost:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Entrance Animation */
@keyframes nbhcam-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .nbhcam-modal {
        padding: 24px 20px 20px;
        width: 94%;
    }
    .nbhcam-btn {
        padding: 12px 16px;
    }
}