
.ncb-pg-widget {
    background: #060b1a;
    color: #f5f5f5;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    max-width: 900px;
    margin: 24px auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ncb-pg-header h2 {
    margin-top: 0;
    font-size: 24px;
    margin-bottom: 8px;
}
.ncb-pg-header p {
    margin-top: 0;
    opacity: 0.85;
}
.ncb-pg-video {
    margin: 16px 0 24px;
}
.ncb-pg-video iframe,
.ncb-pg-video video {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
}
.ncb-pg-mode-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}
.ncb-pg-mode-switch label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #0b1224;
    cursor: pointer;
}
.ncb-pg-mode-note {
    opacity: 0.7;
    font-size: 12px;
}
.ncb-pg-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 12px;
}
.ncb-pg-form label.ncb-pg-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ncb-pg-form input[type="text"],
.ncb-pg-form input[type="email"],
.ncb-pg-form select,
.ncb-pg-form textarea {
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #1f2937;
    padding: 8px 10px;
    background: #020617;
    color: #f9fafb;
    font-size: 14px;
    margin-top: 6px;
}
.ncb-pg-form textarea {
    min-height: 120px;
    resize: vertical;
}
.ncb-pg-step-title {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 16px;
}
.ncb-pg-step-subtitle {
    font-weight: 500;
    margin: 12px 0 4px;
    font-size: 14px;
    opacity: 0.9;
}
.ncb-pg-required {
    color: #f97316;
    margin-left: 4px;
}
.ncb-pg-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}
.ncb-pg-next,
.ncb-pg-prev,
.ncb-pg-submit,
.ncb-pg-copy-all,
.ncb-pg-history-toggle {
    border-radius: 999px;
    border: none;
    padding: 8px 18px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}
.ncb-pg-next,
.ncb-pg-submit,
.ncb-pg-copy-all {
    background: linear-gradient(90deg, #22c55e, #16a34a);
    color: #022c22;
}
.ncb-pg-prev,
.ncb-pg-history-toggle {
    background: #020617;
    color: #e5e7eb;
    border: 1px solid #1f2937;
}
.ncb-pg-next:hover,
.ncb-pg-submit:hover,
.ncb-pg-copy-all:hover {
    filter: brightness(1.05);
}
.ncb-pg-prev:hover,
.ncb-pg-history-toggle:hover {
    background: #030712;
}
.ncb-pg-result {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #1f2937;
}
.ncb-pg-result-header h3 {
    margin: 0 0 4px;
    font-size: 18px;
}
.ncb-pg-result-status {
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
}
.ncb-pg-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.ncb-pg-tabs button {
    border-radius: 999px;
    border: none;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
    background: #020617;
    color: #e5e7eb;
    border: 1px solid #1f2937;
}
.ncb-pg-tabs button.active {
    background: #22c55e;
    border-color: #22c55e;
    color: #022c22;
}
.ncb-pg-tab-content {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.55;
    background: #020617;
    padding: 16px;
    border-radius: 12px;
    max-height: 400px;
    overflow: auto;
    white-space: pre-wrap;
}
.ncb-pg-actions {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.ncb-pg-variants {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.ncb-pg-variant-btn {
    border-radius: 999px;
    border: none;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    background: #020617;
    color: #e5e7eb;
    border: 1px solid #1f2937;
}
.ncb-pg-variant-btn.active {
    background: #22c55e;
    border-color: #22c55e;
    color: #022c22;
}

.ncb-pg-history {
    background: #020617;
    color: #f9fafb;
    padding: 20px;
    border-radius: 16px;
    max-width: 900px;
    margin: 24px auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ncb-pg-history-item {
    border-radius: 12px;
    border: 1px solid #1f2937;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: #020617;
}
.ncb-pg-history-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ncb-pg-history-meta {
    font-size: 12px;
    opacity: 0.8;
}
.ncb-pg-history-body {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.6;
    max-height: 350px;
    overflow: auto;
    white-space: pre-wrap;
}
.ncb-pg-history-text {
    margin-bottom: 10px;
}
.ncb-pg-history-actions {
    margin-top: 8px;
}

.ncb-pg-promo {
    background: radial-gradient(circle at top left, #22c55e33, transparent 60%), #020617;
    color: #f9fafb;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    max-width: 900px;
    margin: 24px auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ncb-pg-promo-inner {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.ncb-pg-promo-text h2 {
    margin: 0 0 8px;
    font-size: 24px;
}
.ncb-pg-promo-text p {
    margin: 0 0 8px;
    font-size: 14px;
    opacity: 0.9;
}
.ncb-pg-promo-text ul {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 13px;
    opacity: 0.95;
}
.ncb-pg-promo-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.ncb-pg-promo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    color: #022c22;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.ncb-pg-promo-button:hover {
    filter: brightness(1.05);
}
.ncb-pg-promo-note {
    font-size: 12px;
    opacity: 0.8;
}

.ncb-pg-help {
    font-size: 12px;
    opacity: 0.8;
    margin: 4px 0 10px;
}

@media (max-width: 640px) {
    .ncb-pg-widget,
    .ncb-pg-promo,
    .ncb-pg-history {
        padding: 16px;
        border-radius: 12px;
    }
    .ncb-pg-promo-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
