/* NorthPro Bulk Pricing — bulk-pricing.css */

/* ── Button ────────────────────────────────────────────── */
.np-bulk-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 13px 16px;
    background: #f0a500;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
}
.np-bulk-btn:hover,
.np-bulk-btn:focus-visible {
    background: #d4920a;
    outline: 2px solid #d4920a;
    outline-offset: 2px;
}

/* ── Overlay ───────────────────────────────────────────── */
.np-bulk-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}
.np-bulk-overlay.is-open {
    display: flex;
}

/* ── Modal ─────────────────────────────────────────────── */
.np-bulk-modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    animation: np-slide-in 0.22s ease;
}
@keyframes np-slide-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Header ────────────────────────────────────────────── */
.np-bulk-header {
    background: #1a3a5c;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.np-bulk-header-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.np-bulk-header-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-top: 2px;
}
.np-bulk-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    flex-shrink: 0;
    transition: color 0.15s;
}
.np-bulk-close:hover { color: #fff; }

/* ── Body / Form ───────────────────────────────────────── */
.np-bulk-body {
    padding: 22px 24px 24px;
}
.np-bulk-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
@media ( max-width: 480px ) {
    .np-bulk-row-2 { grid-template-columns: 1fr; }
}
.np-bulk-field {
    margin-bottom: 12px;
}
.np-bulk-field:last-child { margin-bottom: 0; }
.np-bulk-row-2 .np-bulk-field { margin-bottom: 0; }

.np-bulk-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}
.np-bulk-field label span {
    color: #c0392b;
}
.np-bulk-field input,
.np-bulk-field select,
.np-bulk-field textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.15s;
    box-sizing: border-box;
    font-family: inherit;
}
.np-bulk-field input:focus,
.np-bulk-field select:focus,
.np-bulk-field textarea:focus {
    border-color: #1a3a5c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.12);
}
.np-bulk-field textarea { resize: vertical; }

/* ── Submit button ─────────────────────────────────────── */
.np-bulk-submit {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 13px;
    background: #1a3a5c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.np-bulk-submit:hover { background: #15304e; }
.np-bulk-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.np-bulk-fine-print {
    text-align: center;
    font-size: 11px;
    color: #999;
    margin-top: 8px;
    margin-bottom: 0;
}

/* ── Error notice ──────────────────────────────────────── */
.np-bulk-notice {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
}
.np-bulk-notice--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.np-bulk-notice[hidden] { display: none; }

/* ── Success state ─────────────────────────────────────── */
.np-bulk-success {
    text-align: center;
    padding: 12px 0 8px;
}
.np-bulk-success[hidden] { display: none; }
.np-bulk-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 28px;
    margin-bottom: 14px;
}
.np-bulk-success h3 {
    color: #1a3a5c;
    font-size: 20px;
    margin-bottom: 8px;
}
.np-bulk-success p {
    color: #555;
    font-size: 14px;
    margin-bottom: 20px;
}
.np-bulk-close-btn {
    background: #1a3a5c;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}
.np-bulk-close-btn:hover { background: #15304e; }
