/* BridgeBrain Navigator Styles - Refined Ocean Palette */
:root{
  /* Primary colors - desaturated blue-greens */
  --bb-nav-primary:#6ba5be;
  --bb-nav-primary-light:#8fc9d9;
  --bb-nav-primary-dark:#4f7c8f;
  
  /* Accent colors - warm and cool */
  --bb-nav-accent-warm:#c7916f;
  --bb-nav-accent-cool:#7faab3;
  --bb-nav-accent-sage:#9db5a0;
  
  /* Background colors - MUCH LIGHTER */
  --bb-nav-bg-main:#3d5a6b;
  --bb-nav-bg-medium:#2a4556;
  --bb-nav-bg-light:#4a6577;
  --bb-nav-panel-bg:#2f4758;
  --bb-nav-panel-surface:#3a5566;
  --bb-nav-surface-elevated:#456373;
  
  /* Text colors - high contrast for readability */
  --bb-nav-text:#f5f9fc;
  --bb-nav-text-dim:#c5d9e2;
  --bb-nav-text-muted:#9fb5c4;
  --bb-nav-text-accent:#d9e8f0;
  
  /* Border colors - visible but subtle */
  --bb-nav-border:rgba(107,165,190,0.3);
  --bb-nav-border-hover:rgba(107,165,190,0.6);
  --bb-nav-border-light:rgba(143,201,217,0.4);
  
  /* Other design tokens */
  --bb-nav-radius:16px;
  --bb-nav-radius-large:20px;
  --bb-nav-transition:0.25s cubic-bezier(0.4,0,0.2,1);
  
  /* Shadows for depth */
  --bb-nav-shadow-sm:0 2px 8px rgba(0,0,0,0.15);
  --bb-nav-shadow-md:0 4px 16px rgba(0,0,0,0.2);
  --bb-nav-shadow-lg:0 8px 24px rgba(0,0,0,0.25)
}
.bb-nav-root{
  background:linear-gradient(135deg,var(--bb-nav-bg-medium) 0%,var(--bb-nav-bg-main) 100%);
  min-height:100vh;
  padding:24px;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:var(--bb-nav-text);
  line-height:1.6
}
.bb-nav-shell{display:grid;grid-template-columns:360px minmax(0,1fr);gap:24px;max-width:1600px;margin:0 auto;height:calc(100vh - 48px)}
.bb-nav-spot-pane{
  background:linear-gradient(180deg,var(--bb-nav-panel-bg) 0%,var(--bb-nav-panel-surface) 100%);
  border-radius:var(--bb-nav-radius-large);
  border:1px solid var(--bb-nav-border);
  padding:24px 20px;
  display:flex;
  flex-direction:column;
  gap:16px;
  overflow:hidden;
  backdrop-filter:blur(20px);
  box-shadow:var(--bb-nav-shadow-lg)
}
.bb-nav-spot-avatar{
  width:66px;
  height:66px;
  border-radius:50%;
  margin:0 auto 8px;
  background:linear-gradient(135deg,var(--bb-nav-primary),var(--bb-nav-primary-light));
  box-shadow:0 4px 16px rgba(107,165,190,0.4),0 2px 8px rgba(0,0,0,0.2);
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid var(--bb-nav-border-light)
}
.bb-nav-spot-avatar-inner{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.bb-nav-spot-eyes{display:flex;gap:16px;margin-top:8px}
.bb-nav-spot-eye{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--bb-nav-bg-medium);
  transition:all 0.3s ease
}
.bb-nav-spot-mouth{
  width:32px;
  height:16px;
  border:3px solid var(--bb-nav-bg-medium);
  border-top:none;
  border-radius:0 0 32px 32px;
  margin-top:-2px;
  transition:all 0.3s ease
}
.bb-nav-spot-avatar[data-mood="happy"] .bb-nav-spot-mouth{border-radius:0 0 32px 32px}
.bb-nav-spot-avatar[data-mood="thinking"] .bb-nav-spot-eye{animation:blink 2s infinite}
.bb-nav-spot-avatar[data-mood="thinking"] .bb-nav-spot-mouth{width:28px;height:14px;border-radius:0 0 28px 28px}
.bb-nav-spot-avatar[data-mood="excited"] .bb-nav-spot-eye{height:12px}
.bb-nav-spot-avatar[data-mood="excited"] .bb-nav-spot-mouth{width:40px;height:20px}
.bb-nav-spot-avatar[data-mood="concerned"] .bb-nav-spot-mouth{width:26px;height:12px;border-radius:0 0 26px 26px;margin-top:0}
.bb-nav-spot-avatar[data-mood="hurt"] .bb-nav-spot-eye{height:6px}
.bb-nav-spot-avatar[data-mood="hurt"] .bb-nav-spot-mouth{border-radius:32px 32px 0 0;border-top:3px solid #030509;border-bottom:none;margin-top:4px;width:28px}
@keyframes blink{0%,48%,52%,100%{height:8px}50%{height:2px}}
.bb-nav-spot-info{text-align:center;padding-bottom:12px;border-bottom:1px solid var(--bb-nav-border)}
.bb-nav-spot-name{font-size:20px;font-weight:700;margin:0 0 4px;color:var(--bb-nav-primary-light);letter-spacing:0.5px}
.bb-nav-spot-tagline{font-size:13px;margin:0;color:var(--bb-nav-text-muted);font-weight:500}
.bb-nav-spot-chat{flex:1;overflow-y:auto;padding-right:8px}
.bb-nav-chat-messages{display:flex;flex-direction:column;gap:12px}
.bb-nav-chat-message{padding:12px 14px;border-radius:16px;font-size:14px;line-height:1.5;animation:message-in 0.3s ease-out}
@keyframes message-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.bb-nav-chat-message.spot{
  background:linear-gradient(135deg,rgba(107,165,190,0.2),rgba(127,170,179,0.15));
  border:1px solid var(--bb-nav-border);
  box-shadow:var(--bb-nav-shadow-sm)
}
.bb-nav-chat-message.user{
  background:var(--bb-nav-surface-elevated);
  border:1px solid var(--bb-nav-border);
  margin-left:20px;
  box-shadow:var(--bb-nav-shadow-sm)
}
.bb-nav-chat-message.system{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);text-align:center;font-size:12px;color:var(--bb-nav-text-dim)}

/* Formatted message content */
.bb-nav-chat-message p {
    margin: 0 0 12px 0;
}
.bb-nav-chat-message p:last-child {
    margin-bottom: 0;
}
.bb-nav-chat-message ul,
.bb-nav-chat-message ol {
    margin: 8px 0 12px 20px;
    padding-left: 0;
}
.bb-nav-chat-message li {
    margin-bottom: 6px;
    line-height: 1.6;
}
.bb-nav-chat-message strong {
    font-weight: 600;
    color: var(--bb-nav-primary-light);
}
.bb-nav-chat-message em {
    font-style: italic;
    color: var(--bb-nav-text-dim);
}
.bb-nav-chat-message code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.bb-nav-chat-message pre {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(120,212,255,0.15);
    padding: 12px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 10px 0 12px 0;
}
.bb-nav-chat-message pre code {
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 12.5px;
    display: block;
    white-space: pre;
}

.bb-nav-chat-message a {
    color: var(--bb-nav-primary-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.bb-nav-chat-message a:hover {
    color: var(--bb-nav-primary);
}

.bb-nav-message-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.bb-nav-message-action{padding:6px 12px;border-radius:999px;background:linear-gradient(135deg,var(--bb-nav-primary),var(--bb-nav-primary-light));color:var(--bb-nav-bg-dark);font-size:12px;font-weight:600;border:none;cursor:pointer;transition:transform var(--bb-nav-transition)}
.bb-nav-typing{padding:12px 14px;border-radius:16px;background:rgba(85,210,255,0.08);border:1px solid rgba(123,228,255,0.15);display:inline-flex;gap:4px}
.bb-nav-typing-dot{width:6px;height:6px;border-radius:50%;background:var(--bb-nav-primary);animation:typing-bounce 1.4s ease-in-out infinite}
.bb-nav-typing-dot:nth-child(2){animation-delay:0.2s}
.bb-nav-typing-dot:nth-child(3){animation-delay:0.4s}
@keyframes typing-bounce{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-8px)}}
.bb-nav-spot-input{display:flex;gap:8px;padding-top:12px;border-top:1px solid var(--bb-nav-border)}
.bb-nav-input{
  flex:1;
  border-radius:999px;
  border:1.5px solid var(--bb-nav-border);
  background:var(--bb-nav-surface-elevated);
  padding:10px 16px;
  color:var(--bb-nav-text);
  font-size:14px;
  outline:none;
  transition:all var(--bb-nav-transition);
  box-shadow:inset 0 1px 3px rgba(0,0,0,0.1)
}
.bb-nav-input:focus{
  border-color:var(--bb-nav-primary-light);
  box-shadow:0 0 0 3px rgba(107,165,190,0.2),inset 0 1px 3px rgba(0,0,0,0.1);
  background:var(--bb-nav-bg-light)
}
.bb-nav-input::placeholder{color:rgba(255,255,255,0.55);font-style:italic}
.bb-nav-send-btn{
  width:40px;
  height:40px;
  border-radius:50%;
  border:none;
  background:linear-gradient(135deg,var(--bb-nav-primary),var(--bb-nav-primary-light));
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all var(--bb-nav-transition);
  box-shadow:var(--bb-nav-shadow-md)
}
.bb-nav-send-btn:hover{
  transform:scale(1.05) translateY(-1px);
  box-shadow:0 6px 20px rgba(107,165,190,0.4)
}
.bb-nav-send-btn .dashicons{font-size:20px;width:20px;height:20px}
.bb-nav-spot-quick-links{display:flex;align-items:center;justify-content:center;gap:8px;padding-top:16px;margin-top:12px;border-top:1px solid var(--bb-nav-border)}
.bb-nav-quick-link{color:var(--bb-nav-text-dim);font-size:12px;text-decoration:none;transition:color 0.2s ease;cursor:pointer;display:inline-flex;align-items:center;gap:4px}
.bb-nav-quick-link .dashicons{font-size:14px;width:14px;height:14px}
.bb-nav-quick-link:hover{color:var(--bb-nav-primary)}
.bb-nav-quick-link.bb-nav-theme-toggle-link .dashicons{color:var(--bb-nav-primary);transition:all 0.3s ease}
.bb-nav-quick-link.bb-nav-theme-toggle-link:hover .dashicons{transform:scale(1.15);filter:drop-shadow(0 0 4px var(--bb-nav-primary))}
.bb-nav-quick-separator{color:var(--bb-nav-border);font-size:12px}
.bb-nav-panel{
  background:linear-gradient(180deg,var(--bb-nav-panel-bg) 0%,var(--bb-nav-panel-surface) 100%);
  border-radius:var(--bb-nav-radius-large);
  border:1px solid var(--bb-nav-border);
  padding:32px;
  overflow-y:auto;
  backdrop-filter:blur(20px);
  box-shadow:var(--bb-nav-shadow-lg)
}
.bb-nav-panel-header{margin-bottom:32px;padding-bottom:20px;border-bottom:1px solid var(--bb-nav-border)}
.bb-nav-panel-header-with-account{display:flex;justify-content:space-between;align-items:flex-start}
.bb-nav-account-link-header{flex-shrink:0;margin-top:8px}
.bb-nav-panel-title{font-size:32px;font-weight:700;margin:0 0 8px;color:var(--bb-nav-primary-light)}
.bb-nav-panel-subtitle{font-size:16px;margin:0;color:var(--bb-nav-text-dim)}
.bb-nav-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:20px}
.bb-nav-spinner{width:50px;height:50px;border:3px solid rgba(85,210,255,0.2);border-top-color:var(--bb-nav-primary);border-radius:50%;animation:spinner 0.8s linear infinite}
@keyframes spinner{to{transform:rotate(360deg)}}
.bb-nav-intent-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:24px}
.bb-nav-card{
  background:linear-gradient(135deg,rgba(107,165,190,0.12),var(--bb-nav-panel-surface));
  border-radius:var(--bb-nav-radius);
  padding:24px;
  border:1px solid var(--bb-nav-border);
  cursor:pointer;
  transition:all var(--bb-nav-transition);
  position:relative;
  box-shadow:var(--bb-nav-shadow-sm)
}
.bb-nav-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 32px rgba(0,0,0,0.3);
  border-color:var(--bb-nav-border-hover);
  background:linear-gradient(135deg,rgba(107,165,190,0.18),var(--bb-nav-surface-elevated))
}
.bb-nav-card-icon{font-size:36px;margin-bottom:16px;color:var(--bb-nav-primary)}

/* Make all menu/submenu card icons match Persona Action Panel size */
.bb-nav-card-icon .dashicons{
  width:36px;
  height:36px;
  font-size:36px;
}
.bb-nav-card-title{font-size:18px;font-weight:600;margin:0 0 8px}
.bb-nav-card-desc{font-size:14px;opacity:0.9}
.bb-nav-card-badge{position:absolute;top:16px;right:16px;background:var(--bb-nav-primary);color:var(--bb-nav-bg-dark);padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;cursor:pointer;transition:all 0.2s ease}
.bb-nav-card-badge:hover{transform:scale(1.05);box-shadow:0 2px 8px rgba(26,115,232,0.4)}
.bb-nav-form{max-width:800px}
.bb-nav-field{margin-bottom:24px}
.bb-nav-field-label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}
.bb-nav-field-required{color:#ff6b6b;margin-left:4px}
.bb-nav-field-input,.bb-nav-field-textarea,.bb-nav-field-select{
  width:100%;
  padding:14px 18px;
  border-radius:12px;
  border:1.5px solid var(--bb-nav-border);
  background:var(--bb-nav-surface-elevated);
  color:var(--bb-nav-text);
  font-size:14px;
  font-family:inherit;
  outline:none;
  transition:all var(--bb-nav-transition);
  box-shadow:inset 0 1px 3px rgba(0,0,0,0.1)
}
.bb-nav-field-input:hover,.bb-nav-field-textarea:hover,.bb-nav-field-select:hover{border-color:rgba(120,212,255,0.35);background:linear-gradient(135deg,rgba(12,22,38,0.95),rgba(14,26,42,0.9))}
.bb-nav-field-input:focus,.bb-nav-field-textarea:focus,.bb-nav-field-select:focus{
  border-color:var(--bb-nav-primary-light);
  box-shadow:0 0 0 3px rgba(107,165,190,0.2),inset 0 1px 3px rgba(0,0,0,0.1);
  background:var(--bb-nav-bg-light)
}
.bb-nav-field-textarea{min-height:120px;resize:vertical}
.bb-nav-field-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2355d2ff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px}
.bb-nav-field-help{font-size:12px;color:var(--bb-nav-text-muted);margin-top:8px;line-height:1.5}
.bb-nav-select,.bb-nav-textarea{width:100%;padding:14px 18px;border-radius:12px;border:1.5px solid rgba(120,212,255,0.2);background:linear-gradient(135deg,rgba(8,16,30,0.9),rgba(10,20,35,0.8));color:var(--bb-nav-text);font-size:14px;font-family:inherit;outline:none;transition:all 0.3s ease;box-shadow:0 2px 8px rgba(0,0,0,0.15)}
.bb-nav-select:hover,.bb-nav-textarea:hover{border-color:rgba(120,212,255,0.35);background:linear-gradient(135deg,rgba(12,22,38,0.95),rgba(14,26,42,0.9))}
.bb-nav-select:focus,.bb-nav-textarea:focus{border-color:var(--bb-nav-primary);box-shadow:0 0 0 4px rgba(85,210,255,0.12),0 4px 16px rgba(0,0,0,0.25)}
.bb-nav-textarea{min-height:120px;resize:vertical}
.bb-nav-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2355d2ff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px;cursor:pointer}
.bb-nav-btn{padding:12px 24px;border-radius:999px;font-size:14px;font-weight:600;border:none;cursor:pointer;transition:all var(--bb-nav-transition);display:inline-flex;align-items:center;gap:8px}
.bb-nav-btn-primary{
  background:linear-gradient(135deg,var(--bb-nav-primary),var(--bb-nav-primary-light));
  color:#fff;
  box-shadow:var(--bb-nav-shadow-md);
  border:1px solid var(--bb-nav-border-light)
}
.bb-nav-btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(107,165,190,0.5)
}
.bb-nav-btn-secondary{background:rgba(85,210,255,0.1);color:var(--bb-nav-primary);border:1px solid var(--bb-nav-primary)}
.bb-nav-btn-secondary:hover{background:rgba(85,210,255,0.2);transform:translateY(-2px)}
.bb-nav-btn:disabled{opacity:0.5;cursor:not-allowed}
.bb-nav-dropzone{margin-top:24px;border-radius:20px;border:2px dashed rgba(120,212,255,0.4);background:rgba(6,18,30,0.6);padding:48px 32px;text-align:center;cursor:pointer;transition:all var(--bb-nav-transition)}
.bb-nav-dropzone:hover,.bb-nav-dropzone.bb-nav-dropzone-hover{border-style:solid;border-color:var(--bb-nav-primary);background:rgba(85,210,255,0.05);box-shadow:0 0 0 3px rgba(85,210,255,0.1)}
.bb-nav-dropzone-icon{font-size:48px;color:var(--bb-nav-primary);margin-bottom:16px}
.bb-nav-dropzone-text{font-size:16px;color:var(--bb-nav-text-dim);margin-bottom:8px}
.bb-nav-dropzone-hint{font-size:13px;color:var(--bb-nav-text-muted)}
.bb-nav-persona-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-top:24px}
.bb-nav-persona-item{background:rgba(10,18,32,0.8);border-radius:16px;border:1px solid var(--bb-nav-border);padding:20px;transition:transform var(--bb-nav-transition)}
.bb-nav-persona-item:hover{transform:translateY(-2px);border-color:var(--bb-nav-primary)}
.bb-nav-persona-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.bb-nav-persona-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,var(--bb-nav-primary),var(--bb-nav-primary-light));display:flex;align-items:center;justify-content:center;color:var(--bb-nav-bg-dark);font-weight:700;font-size:20px;position:relative}
.bb-nav-persona-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.bb-nav-license-badge{position:absolute;bottom:-4px;right:-4px;width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#ffc107,#ff9800);border:2px solid var(--bb-nav-bg-dark);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.2s ease}
.bb-nav-license-badge .dashicons{font-size:12px;width:12px;height:12px;color:#fff}
.bb-nav-license-badge:hover{transform:scale(1.2);box-shadow:0 2px 8px rgba(255,193,7,0.4)}
.bb-nav-persona-info{flex:1}
.bb-nav-persona-name{font-size:16px;font-weight:600;margin:0 0 4px}
.bb-nav-persona-meta{font-size:12px;color:var(--bb-nav-text-muted)}
.bb-nav-persona-desc{font-size:14px;color:var(--bb-nav-text-dim);margin:12px 0;line-height:1.5}
.bb-nav-persona-actions{display:flex;gap:8px;flex-wrap:wrap}
.bb-nav-persona-action{padding:6px 12px;border-radius:8px;font-size:12px;font-weight:600;border:1px solid var(--bb-nav-border);background:transparent;color:var(--bb-nav-text-dim);cursor:pointer;transition:all var(--bb-nav-transition)}
.bb-nav-persona-action:hover{border-color:var(--bb-nav-primary);color:var(--bb-nav-primary);background:rgba(85,210,255,0.1)}
.bb-nav-code-tabs{display:flex;gap:8px;margin-bottom:16px;border-bottom:1px solid var(--bb-nav-border)}
.bb-nav-code-tab{padding:10px 20px;border:none;background:transparent;color:var(--bb-nav-text-muted);cursor:pointer;font-weight:600;border-bottom:2px solid transparent;transition:all var(--bb-nav-transition)}
.bb-nav-code-tab.active{color:var(--bb-nav-primary);border-bottom-color:var(--bb-nav-primary)}
.bb-nav-code-block{background:var(--bb-nav-bg-dark);border-radius:12px;padding:20px;overflow-x:auto;font-family:Monaco,Menlo,Consolas,monospace;font-size:13px;line-height:1.6;border:1px solid var(--bb-nav-border);position:relative}
.bb-nav-code-copy{position:absolute;top:12px;right:12px;padding:6px 12px;border-radius:6px;background:var(--bb-nav-primary);color:var(--bb-nav-bg-dark);border:none;cursor:pointer;font-size:12px;font-weight:600}
.bb-nav-hidden{display:none!important}
.bb-nav-success{background:rgba(76,175,80,0.2);border:1px solid rgba(76,175,80,0.5);color:#81c784;padding:12px 16px;border-radius:12px;margin-bottom:16px}

/* Inline button feedback (e.g., Share button on public persona profile) */
.bb-nav-inline-feedback{margin-top:8px;font-size:12px;line-height:1.2;color:rgba(255,255,255,0.85);background:rgba(83,184,247,0.12);border:1px solid rgba(83,184,247,0.35);padding:6px 10px;border-radius:10px;display:inline-block}
.bb-nav-error{background:rgba(244,67,54,0.2);border:1px solid rgba(244,67,54,0.5);color:#e57373;padding:12px 16px;border-radius:12px;margin-bottom:16px}
.bb-nav-warning{background:rgba(255,193,7,0.2);border:1px solid rgba(255,193,7,0.5);color:#ffd54f;padding:12px 16px;border-radius:12px;margin-bottom:16px}
.bb-nav-breadcrumbs{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px;font-size:13px;color:var(--bb-nav-text-muted);flex-wrap:wrap}
.bb-nav-breadcrumbs-left{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bb-nav-breadcrumbs-right{display:flex;align-items:center}
.bb-nav-account-link{display:flex;align-items:center;gap:6px;cursor:pointer;color:#8fadbf;transition:color var(--bb-nav-transition);font-size:13px;padding:6px 12px;border-radius:6px;border:1px solid rgba(72,234,231,0.2);background:rgba(72,234,231,0.05)}
.bb-nav-account-link:hover{color:#48eae7;border-color:rgba(72,234,231,0.4);background:rgba(72,234,231,0.1)}
.bb-nav-account-link .dashicons{font-size:16px;width:16px;height:16px}
.bb-nav-breadcrumb-item{display:flex;align-items:center;gap:8px;cursor:pointer;transition:color var(--bb-nav-transition)}
.bb-nav-breadcrumb-item:hover{color:var(--bb-nav-primary)}
.bb-nav-breadcrumb-separator{color:var(--bb-nav-border);font-size:12px}
.bb-nav-breadcrumb-item.active{color:var(--bb-nav-primary);cursor:default}
.bb-nav-panel-content{animation:panel-fade-in 0.4s ease-out}
@keyframes panel-fade-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@media (max-width:1200px){.bb-nav-shell{grid-template-columns:320px minmax(0,1fr)}}
@media (max-width:968px){.bb-nav-root{padding:16px}.bb-nav-shell{grid-template-columns:1fr;height:auto;min-height:calc(100vh - 32px)}.bb-nav-spot-pane{max-height:600px;min-height:500px}.bb-nav-panel{min-height:500px}.bb-nav-intent-grid,.bb-nav-persona-list{grid-template-columns:1fr}.bb-nav-spot-chat{min-height:300px}}
@media (max-width:640px){.bb-nav-root{padding:12px}.bb-nav-shell{gap:16px}.bb-nav-spot-pane,.bb-nav-panel{border-radius:16px;padding:16px}.bb-nav-panel-title{font-size:24px}}


/* Help overlay */
.bb-nav-help-button {
  position: absolute;
  top: 18px;
  right: 24px;
  border-radius: 999px;
  border: 1px solid rgba(120, 212, 255, 0.45);
  background: radial-gradient(circle at top left, rgba(85,210,255,0.4), rgba(3,10,18,0.95));
  color: #e5f4ff;
  padding: 6px 9px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.65);
}
.bb-nav-help-button .dashicons {
  line-height: 1;
  font-size: 16px;
}
.bb-nav-help-button:hover {
  border-color: rgba(143,236,255,0.9);
  box-shadow: 0 10px 26px rgba(0,0,0,0.75);
}

.bb-nav-help-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(18, 40, 70, 0.85), rgba(1, 3, 8, 0.96));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.bb-nav-help-overlay.bb-nav-hidden {
  display: none;
}
.bb-nav-help-content {
  background: rgba(5, 15, 28, 0.98);
  border-radius: 20px;
  border: 1px solid rgba(120, 212, 255, 0.35);
  max-width: 520px;
  width: 90%;
  padding: 20px 22px 22px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.9);
  color: #e9f6ff;
  position: relative;
}
.bb-nav-help-content h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
}
.bb-nav-help-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: transparent;
  color: #9ccbe8;
  cursor: pointer;
}
#bb-nav-help-text {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
}

/* Step indicator */
.bb-nav-step-indicator {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(120, 212, 255, 0.1);
  border: 1px solid rgba(120, 212, 255, 0.3);
  border-radius: 20px;
  font-size: 13px;
  color: #8fd4ff;
  margin-top: 8px;
}

/* Radio group */
.bb-nav-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.bb-nav-radio-label {
  display: flex;
  align-items: center;
  padding: 12px;
  background: rgba(120, 212, 255, 0.05);
  border: 1px solid rgba(120, 212, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.bb-nav-radio-label:hover {
  background: rgba(120, 212, 255, 0.1);
  border-color: rgba(120, 212, 255, 0.4);
}

.bb-nav-radio-label input[type="radio"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

.bb-nav-radio-label span {
  color: #d9ebf7;
}

/* Multi-URL inputs */
.bb-nav-url-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bb-nav-url-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bb-nav-url-input-row .bb-nav-field-input {
  flex: 1;
}

.bb-nav-btn-sm {
  padding: 6px 12px;
  font-size: 14px;
  min-width: auto;
}

.bb-nav-add-url,
.bb-nav-remove-url {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-nav-remove-url {
  background: rgba(255, 80, 80, 0.2);
  border-color: rgba(255, 80, 80, 0.3);
}

.bb-nav-remove-url:hover {
  background: rgba(255, 80, 80, 0.3);
}

/* Repeatable field rows (Pro Training URLs) */
.bb-nav-repeatable {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bb-nav-repeatable-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bb-nav-repeatable-row .bb-nav-field-input {
  flex: 1;
}

.bb-nav-repeatable-add,
.bb-nav-repeatable-remove {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--bb-nav-border);
  background: rgba(85, 210, 255, 0.1);
  color: var(--bb-nav-primary);
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bb-nav-repeatable-add:hover {
  background: rgba(85, 210, 255, 0.2);
  border-color: var(--bb-nav-primary);
}

.bb-nav-repeatable-remove {
  background: rgba(255, 80, 80, 0.1);
  border-color: rgba(255, 80, 80, 0.3);
  color: #ff5050;
}

.bb-nav-repeatable-remove:hover {
  background: rgba(255, 80, 80, 0.2);
  border-color: rgba(255, 80, 80, 0.5);
}

/* Info field */
.bb-nav-field-info {
  padding: 14px;
  background: rgba(120, 212, 255, 0.05);
  border-left: 3px solid rgba(120, 212, 255, 0.5);
  border-radius: 4px;
  margin-bottom: 16px;
}

.bb-nav-field-info p {
  margin: 0;
  color: #c8e0f0;
  font-size: 14px;
  line-height: 1.5;
}

/* Payment info */
.bb-nav-payment-info {
  padding: 30px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.bb-nav-payment-info p {
  margin: 20px 0;
  color: #c8e0f0;
  font-size: 15px;
}

.bb-nav-payment-info .bb-nav-btn-primary {
  margin: 20px 0;
  font-size: 16px;
  padding: 14px 28px;
}

/* Conditional fields - initially hidden */
[data-conditional-field] {
  display: none;
}

/* Payment status display */
.bb-nav-payment-status {
  margin: 24px 0;
  padding: 20px;
  background: rgba(120, 212, 255, 0.05);
  border: 1px solid rgba(120, 212, 255, 0.2);
  border-radius: 8px;
  text-align: center;
}

.bb-nav-payment-status-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 15px;
  color: #c8e0f0;
}

.bb-nav-payment-status-message .dashicons {
  font-size: 24px;
  width: 24px;
  height: 24px;
  color: #8fd4ff;
}

.bb-nav-payment-status-message .dashicons-update {
  animation: bb-nav-spin 1s linear infinite;
}

.bb-nav-payment-confirmed .dashicons-yes-alt {
  color: #4ade80;
}

.bb-nav-payment-status-message .dashicons-warning {
  color: #fbbf24;
}

@keyframes bb-nav-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.bb-nav-check-payment {
  margin-top: 8px;
}

.bb-nav-btn-secondary {
  background: rgba(120, 212, 255, 0.1);
  border-color: rgba(120, 212, 255, 0.3);
  color: #8fd4ff;
}

.bb-nav-btn-secondary:hover {
  background: rgba(120, 212, 255, 0.2);
  border-color: rgba(120, 212, 255, 0.5);
}

.bb-nav-payment-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 20px auto;
}

.bb-nav-payment-btn {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
}

.bb-nav-btn-primary.bb-nav-payment-btn {
  color: #ffffff !important;
  background: #0073aa;
  border-color: #0073aa;
}

.bb-nav-btn-primary.bb-nav-payment-btn:hover {
  background: #005a87;
  border-color: #005a87;
}

.bb-nav-btn-special {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
  font-size: 15px;
  padding: 12px 24px;
}

.bb-nav-btn-special:hover {
  background: linear-gradient(135deg, #5568d3 0%, #63408a 100%);
  border-color: #5568d3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  color: #ffffff !important;
}

/* Persona View Modal */
.bb-nav-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 20px;
}

.bb-nav-modal {
  background: #1e3a5f;
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.bb-nav-modal-header {
  padding: 24px;
  border-bottom: 1px solid rgba(120, 212, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bb-nav-modal-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
}

.bb-nav-modal-close {
  background: transparent;
  border: none;
  color: #8fd4ff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.bb-nav-modal-close:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.bb-nav-modal-close .dashicons {
  font-size: 24px;
  width: 24px;
  height: 24px;
}

.bb-nav-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.bb-nav-persona-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bb-nav-persona-avatar-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: bold;
  color: #ffffff;
  margin: 0 auto;
  overflow: hidden;
}

.bb-nav-persona-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-nav-persona-info-section {
  background: rgba(120, 212, 255, 0.05);
  border: 1px solid rgba(120, 212, 255, 0.2);
  border-radius: 8px;
  padding: 16px;
}

.bb-nav-persona-info-section h3 {
  margin: 0 0 12px 0;
  color: #8fd4ff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bb-nav-persona-info-section p {
  margin: 0;
  color: #c8e0f0;
  line-height: 1.6;
  white-space: pre-wrap;
}

.bb-nav-persona-prompt {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
  border-radius: 4px;
  border-left: 3px solid #8fd4ff;
}

/* Import/Export Tabs */
.bb-nav-import-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(143, 212, 255, 0.2);
}

.bb-nav-tab-btn {
  background: transparent;
  border: none;
  color: #8fadbf;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.bb-nav-tab-btn:hover {
  color: #c8e0f0;
  background: rgba(143, 212, 255, 0.05);
}

.bb-nav-tab-btn.active {
  color: #8fd4ff;
  border-bottom-color: #8fd4ff;
}

.bb-nav-tab-content {
  display: none;
  animation: fadeIn 0.3s;
}

.bb-nav-tab-content.active {
  display: block;
}

.bb-nav-export-selector {
  max-width: 600px;
}

.bb-nav-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.bb-nav-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c8e0f0;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.bb-nav-radio-label:hover {
  background: rgba(143, 212, 255, 0.05);
}

.bb-nav-radio-label input[type="radio"] {
  margin: 0;
}

.bb-nav-export-result {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(143, 212, 255, 0.2);
}

.bb-nav-export-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.bb-nav-field-textarea {
  width: 100%;
  padding: 12px;
  background: #1a2332;
  border: 1px solid #2d3e50;
  border-radius: 6px;
  color: #c8e0f0;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  resize: vertical;
}

.bb-nav-field-textarea:focus {
  outline: none;
  border-color: #8fd4ff;
  background: #1e2938;
}

.bb-nav-export-format {
  margin: 20px 0;
}

/* Persona Management Improvements */
.bb-nav-persona-container {
  min-height: 300px;
}

.bb-nav-persona-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bb-nav-persona-actions {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.bb-nav-error-state {
  text-align: center;
  padding: 60px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.bb-nav-error-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.bb-nav-error-icon .dashicons {
  font-size: 64px;
  width: 64px;
  height: 64px;
}

.bb-nav-error-state h3 {
  color: #c8e0f0;
  font-size: 20px;
  margin-bottom: 12px;
}

.bb-nav-error-state p {
  color: #8fadbf;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.bb-nav-help-text {
  font-size: 13px !important;
  opacity: 0.7;
}

.bb-nav-empty-state h3 {
  color: #c8e0f0;
  font-size: 20px;
  margin-bottom: 12px;
}

/* Better persona card spacing */
.bb-nav-persona-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* Refresh button styling */
#bb-nav-refresh-personas,
#bb-nav-retry-personas {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#bb-nav-refresh-personas .dashicons,
#bb-nav-retry-personas .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

/* Persona Role Display */
.bb-nav-persona-role {
  font-size: 12px;
  color: #48eae7;
  font-style: italic;
  margin-top: 2px;
}

/* Persona Modal Improvements */
.bb-nav-persona-metadata {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #2a3f4f;
}

.bb-nav-metadata-grid {
  display: grid;
  gap: 12px;
}

.bb-nav-metadata-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.bb-nav-metadata-label {
  font-weight: 600;
  color: #8fadbf;
}

.bb-nav-metadata-value {
  color: #c8e0f0;
}

.bb-nav-persona-prompt {
  white-space: pre-wrap;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
  border-radius: 6px;
  border-left: 3px solid #48eae7;
  max-height: 400px;
  overflow-y: auto;
}

/* Spinner animation for buttons */
.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Export success message */
.bb-nav-success {
  background: #0a7a3c;
  color: white;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========================================
   ACCOUNT SETTINGS STYLES
   ======================================== */

.bb-nav-account-container {
  max-width: 900px;
  margin: 0 auto;
}

.bb-nav-account-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(72, 234, 231, 0.2);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 24px;
}

.bb-nav-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #c8e0f0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bb-nav-section-title .dashicons {
  color: #48eae7;
  font-size: 20px;
  width: 20px;
  height: 20px;
}

/* Profile Grid */
.bb-nav-profile-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  align-items: start;
}

.bb-nav-profile-photo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.bb-nav-profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #48eae7;
}

.bb-nav-upload-photo-btn {
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.bb-nav-profile-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Field Groups */
.bb-nav-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bb-nav-field-label {
  font-size: 13px;
  font-weight: 600;
  color: #8fadbf;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bb-nav-field-input,
.bb-nav-field-textarea,
.bb-nav-field-select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(72, 234, 231, 0.3);
  color: #c8e0f0;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.bb-nav-field-input:focus,
.bb-nav-field-textarea:focus,
.bb-nav-field-select:focus {
  outline: none;
  border-color: #48eae7;
  box-shadow: 0 0 0 2px rgba(72, 234, 231, 0.1);
}

.bb-nav-field-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bb-nav-field-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.bb-nav-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* API Keys Grid */
.bb-nav-api-keys-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.bb-nav-api-key-input {
  font-family: 'Courier New', monospace;
  font-size: 13px;
}

/* Field Actions */
.bb-nav-field-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

/* Help Text */
.bb-nav-help-text {
  font-size: 12px;
  color: #6b8a9f;
  margin: 4px 0 0 0;
}

/* Crop Modal */
.bb-nav-crop-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.bb-nav-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 30px;
  border-top: 1px solid rgba(72, 234, 231, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .bb-nav-profile-grid {
    grid-template-columns: 1fr;
  }
  
  .bb-nav-api-keys-grid {
    grid-template-columns: 1fr;
  }
  
  .bb-nav-field-row {
    grid-template-columns: 1fr;
  }
  
  .bb-nav-account-section {
    padding: 20px;
  }
}

/* Button Variants for Account */
.bb-nav-btn-danger {
  background: #a43131;
  color: white;
}

.bb-nav-btn-danger:hover {
  background: #8a2828;
}

/* Warning Button - Unsaved Changes */
.bb-nav-btn-warning {
  background: linear-gradient(135deg, #ff6b35, #ff8c42) !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
  animation: bb-nav-pulse-warning 2s ease-in-out infinite;
}

.bb-nav-btn-warning:hover {
  background: linear-gradient(135deg, #ff8c42, #ff6b35) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5) !important;
}

@keyframes bb-nav-pulse-warning {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.6);
  }
}

/* Modal Footer Flex Layout */
.bb-nav-modal-footer-flex {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.bb-nav-modal-footer-flex .bb-nav-btn {
  flex: 0 1 auto;
}

/* BridgeBrain API Key Display */
.bb-nav-api-key-display {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(72, 234, 231, 0.3);
  border-radius: 8px;
  padding: 20px;
}

.bb-nav-api-key-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bb-nav-api-key-field {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.4) !important;
  color: #48eae7 !important;
  border: 1px solid rgba(72, 234, 231, 0.5) !important;
}

.bb-nav-api-key-metadata {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(72, 234, 231, 0.2);
  font-size: 13px;
  color: #8fadbf;
}

.bb-nav-api-key-warning {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-top: 16px;
  padding: 12px;
  background: rgba(72, 234, 231, 0.1);
  border: 1px solid rgba(72, 234, 231, 0.3);
  border-radius: 6px;
  font-size: 13px;
  color: #8fadbf;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.bb-nav-api-key-warning .dashicons {
  color: #48eae7;
  flex-shrink: 0;
  margin-top: 2px;
}

.bb-nav-api-key-warning strong,
.bb-nav-api-key-info strong {
  white-space: nowrap;
}

.bb-nav-btn-warning {
  background: #48eae7;
  color: #0a1929;
}

.bb-nav-btn-warning:hover {
  background: #3dd3d0;
}

.bb-nav-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 4px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@media (max-width: 768px) {
  .bb-nav-api-key-row {
    flex-direction: column;
  }
  
  .bb-nav-api-key-row .bb-nav-btn {
    width: 100%;
  }
  
  .bb-nav-api-key-metadata {
    grid-template-columns: 1fr;
  }
}

/* Subscription Cards */
.bb-nav-subscriptions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bb-nav-subscription-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.2s;
}

.bb-nav-subscription-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bb-nav-subscription-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 12px;
}

.bb-nav-subscription-persona {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #1e1e1e;
}

.bb-nav-subscription-tier {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #666;
  padding: 4px 12px;
  background: #f5f5f5;
  border-radius: 4px;
}

.bb-nav-subscription-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #666;
}

.bb-nav-subscription-details code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
}

.bb-nav-subscription-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bb-nav-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-left: 8px;
}

.bb-nav-badge-success {
  background: #e7f5e9;
  color: #2e7d32;
}

.bb-nav-badge-warning {
  background: #fff8e1;
  color: #f57c00;
}

.bb-nav-badge-danger {
  background: #ffebee;
  color: #c62828;
}

.bb-nav-badge-premium {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.bb-nav-btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.bb-nav-btn-sm .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .bb-nav-subscription-header {
    flex-direction: column;
    gap: 12px;
  }
  
  .bb-nav-subscription-actions {
    flex-direction: column;
  }
  
  .bb-nav-subscription-actions .bb-nav-btn {
    width: 100%;
  }
}

/* Persona Actions Section */
.bb-nav-persona-actions {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  padding: 16px;
  background: rgba(85, 210, 255, 0.05);
  border-radius: 8px;
  flex-wrap: wrap;
}

.bb-nav-state-badge-btn {
  font-weight: 600;
}

.bb-nav-state-badge-btn.bb-nav-state-subscribed {
  background: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
  border: 1px solid #ff6b6b;
}

.bb-nav-state-badge-btn.bb-nav-state-authored {
  background: rgba(85, 210, 255, 0.1);
  color: #55d2ff;
  border: 1px solid #55d2ff;
}

.bb-nav-state-badge-btn.bb-nav-state-licensed {
  background: rgba(81, 255, 176, 0.1);
  color: #51ffb0;
  border: 1px solid #51ffb0;
}

.bb-nav-state-badge-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(85, 210, 255, 0.3);
}

/* Usage Statistics */
.bb-nav-usage-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  padding: 16px;
  background: rgba(85, 210, 255, 0.05);
  border-radius: 8px;
}

.bb-nav-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bb-nav-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bb-nav-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #55d2ff;
}

/* State Modal Styles */
.bb-nav-state-modal-overlay {
  z-index: 100001;
}

.bb-nav-state-modal {
  max-width: 500px;
  padding: 32px;
}

.bb-nav-state-modal-content h3 {
  margin: 0 0 16px 0;
  color: #55d2ff;
  font-size: 24px;
}

.bb-nav-state-modal-content p {
  margin: 12px 0;
  line-height: 1.6;
}

.bb-nav-state-stats {
  margin: 20px 0;
  padding: 16px;
  background: rgba(85, 210, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(85, 210, 255, 0.2);
}

.bb-nav-state-stats h4 {
  margin: 0 0 12px 0;
  color: #55d2ff;
  font-size: 16px;
}

.bb-nav-state-stats p {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.8);
}

.bb-nav-state-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.bb-nav-state-modal-actions .bb-nav-btn {
  flex: 1;
  min-width: 140px;
  justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .bb-nav-persona-actions {
    flex-direction: column;
  }
  
  .bb-nav-persona-actions .bb-nav-btn {
    width: 100%;
  }
  
  .bb-nav-usage-stats {
    grid-template-columns: 1fr;
  }
  
  .bb-nav-state-modal-actions {
    flex-direction: column;
  }
  
  .bb-nav-state-modal-actions .bb-nav-btn {
    width: 100%;
  }
}

/* Persona Creation Form Styles */
/* Persona Tabs - Index Card Style */
.bb-nav-persona-tabs {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.bb-nav-persona-tabs-row {
  display: flex;
  align-items: flex-end;
  padding-left: 8px;
  gap: 0;
  margin-bottom: -2px;
}

.bb-nav-persona-tabs-separator {
  width: 100%;
  height: 2px;
  background: rgba(85, 210, 255, 0.2);
  margin: 0;
  border: none;
  position: relative;
  z-index: 4;
}

.bb-nav-persona-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px 12px 20px;
  background: rgba(20, 30, 50, 0.6);
  border: 2px solid rgba(85, 210, 255, 0.2);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
  margin-right: -4px;
  z-index: 1;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 -2px 8px rgba(0, 0, 0, 0.3);
}

.bb-nav-persona-tab:hover {
  background: rgba(30, 45, 70, 0.8);
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(85, 210, 255, 0.4);
  z-index: 2;
  transform: translateY(-2px);
}

.bb-nav-persona-tab.active {
  background: rgba(10, 15, 26, 1);
  color: #55d2ff;
  border-color: rgba(85, 210, 255, 0.5);
  border-bottom: 2px solid rgba(10, 15, 26, 1);
  margin-bottom: -2px;
  padding-bottom: 14px;
  z-index: 10;
  box-shadow: 
    0 -4px 12px rgba(85, 210, 255, 0.15),
    inset 0 1px 0 rgba(85, 210, 255, 0.2);
  transform: translateY(0);
}

.bb-nav-persona-tab.active::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(10, 15, 26, 1);
}

.bb-nav-persona-tab .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.bb-nav-persona-tab.active .dashicons {
  color: #55d2ff;
}

/* Instant Persona Tab - Special Styling */
.bb-nav-persona-tab.bb-nav-instant-persona-tab {
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.15) 0%, rgba(30, 144, 255, 0.1) 100%);
  border-color: rgba(0, 191, 255, 0.5);
  color: #00bfff;
  font-weight: 700;
  animation: instantPersonaGlow 2s ease-in-out infinite;
  box-shadow: 
    0 0 20px rgba(0, 191, 255, 0.3),
    0 0 40px rgba(0, 191, 255, 0.15),
    inset 0 1px 0 rgba(0, 191, 255, 0.2);
}

.bb-nav-persona-tab.bb-nav-instant-persona-tab:hover {
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.25) 0%, rgba(30, 144, 255, 0.2) 100%);
  border-color: rgba(0, 191, 255, 0.7);
  color: #00d4ff;
  box-shadow: 
    0 0 30px rgba(0, 191, 255, 0.5),
    0 0 60px rgba(0, 191, 255, 0.25),
    inset 0 1px 0 rgba(0, 191, 255, 0.3);
}

@keyframes instantPersonaGlow {
  0%, 100% {
    box-shadow: 
      0 0 20px rgba(0, 191, 255, 0.3),
      0 0 40px rgba(0, 191, 255, 0.15),
      inset 0 1px 0 rgba(0, 191, 255, 0.2);
  }
  50% {
    box-shadow: 
      0 0 30px rgba(0, 191, 255, 0.5),
      0 0 60px rgba(0, 191, 255, 0.25),
      inset 0 1px 0 rgba(0, 191, 255, 0.3);
  }
}

/* Blue Spot indicator for Instant Persona tab */
.bb-nav-instant-spot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #00bfff 0%, #1e90ff 100%);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 
    0 0 8px rgba(0, 191, 255, 0.6),
    0 0 16px rgba(0, 191, 255, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  animation: spotPulse 2s ease-in-out infinite;
}

@keyframes spotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 0 8px rgba(0, 191, 255, 0.6),
      0 0 16px rgba(0, 191, 255, 0.4),
      inset 0 1px 2px rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 
      0 0 12px rgba(0, 191, 255, 0.8),
      0 0 24px rgba(0, 191, 255, 0.5),
      inset 0 1px 2px rgba(255, 255, 255, 0.4);
  }
}

/* Instant Persona Modal Specific Styles */
.bb-nav-instant-persona-modal {
  max-width: 900px; /* Wider on large screens */
}

/* Responsive widths for different screen sizes */
@media (max-width: 1200px) {
  .bb-nav-instant-persona-modal {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .bb-nav-instant-persona-modal {
    max-width: 90%;
  }
}

/* Loading Modal Styles */
.bb-nav-loading-modal {
  max-width: 550px;
  text-align: center;
}

.bb-nav-loading-content {
  padding: 40px 20px;
}

.bb-nav-loading-content h2 {
  margin: 20px 0 10px 0;
  font-size: 24px;
  color: #55d2ff;
}

.bb-nav-loading-content p {
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

.bb-nav-loading-stage {
  font-weight: 600;
  color: #55d2ff !important;
  font-size: 15px !important;
  margin: 15px 0 !important;
}

.bb-nav-loading-detail {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 10px 0 15px 0 !important;
  line-height: 1.6 !important;
}

.bb-nav-loading-note {
  font-size: 13px !important;
  color: rgba(255, 193, 7, 0.9) !important;
  margin-top: 20px !important;
  padding: 10px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 4px;
}

/* Clock Container */
.bb-nav-clock-container {
  position: relative;
  width: 120px;
  height: 180px;
  margin: 0 auto 20px auto;
}

/* Clock Face */
.bb-nav-clock-face {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border: 4px solid #55d2ff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 20px rgba(85, 210, 255, 0.3);
}

/* Clock Center Dot */
.bb-nav-clock-center {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #55d2ff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  box-shadow: 0 0 10px rgba(85, 210, 255, 0.5);
}

/* Clock Numbers */
.bb-nav-clock-number {
  position: absolute;
  font-size: 12px;
  color: #55d2ff;
  font-weight: 600;
}

/* Clock Hands */
.bb-nav-clock-hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  background: #55d2ff;
  border-radius: 2px;
}

.bb-nav-hour-hand {
  width: 3px;
  height: 25px;
  margin-left: -1.5px;
  animation: bb-rotate-hour 120s linear infinite;
}

.bb-nav-minute-hand {
  width: 2px;
  height: 35px;
  margin-left: -1px;
  animation: bb-rotate-minute 10s linear infinite;
  opacity: 0.8;
}

@keyframes bb-rotate-hour {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bb-rotate-minute {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Pendulum Rod */
.bb-nav-pendulum-rod {
  position: absolute;
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, #55d2ff, rgba(85, 210, 255, 0.5));
  top: 100px;
  left: 50%;
  margin-left: -1px;
  transform-origin: top center;
  animation: bb-pendulum-swing 2s ease-in-out infinite;
}

/* Pendulum Weight */
.bb-nav-pendulum-weight {
  position: absolute;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 30%, #55d2ff, #2196F3);
  border-radius: 50%;
  top: 145px;
  left: 50%;
  margin-left: -10px;
  transform-origin: 0 -45px;
  animation: bb-pendulum-swing 2s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(85, 210, 255, 0.4);
}

@keyframes bb-pendulum-swing {
  0%, 100% { transform: rotate(-20deg); }
  50% { transform: rotate(20deg); }
}

/* Progress Bar */
.bb-nav-loading-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
}

.bb-nav-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #55d2ff, #2196F3);
  border-radius: 2px;
  width: 0%;
  transition: width 0.5s ease-out;
  box-shadow: 0 0 10px rgba(85, 210, 255, 0.5);
}

.bb-nav-instant-persona-instructions {
  background: rgba(0, 191, 255, 0.1);
  border-left: 4px solid #00bfff;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.bb-nav-instant-persona-instructions strong {
  color: #00bfff;
  display: block;
  margin-bottom: 8px;
}

.bb-nav-instant-persona-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  padding: 12px;
  margin-top: 16px;
  border-radius: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.bb-nav-instant-persona-warning .dashicons {
  color: #ffc107;
  margin-top: 2px;
  flex-shrink: 0;
}

.bb-nav-instant-persona-warning strong {
  color: #ffc107;
}

.bb-nav-instant-url {
  margin-bottom: 0 !important;
}

.bb-nav-instant-persona-content .bb-nav-field {
  margin-bottom: 20px;
}

.bb-nav-instant-persona-content .bb-nav-field:last-child {
  margin-bottom: 0;
}

/* Content area connects to active tab */
.bb-nav-persona-form {
  border: 2px solid rgba(85, 210, 255, 0.2);
  border-radius: 0 8px 8px 8px;
  padding: 32px;
  background: rgba(10, 15, 26, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 5;
}

.bb-nav-persona-sections {
  position: relative;
  min-height: 400px;
}

.bb-nav-persona-section {
  display: none;
  animation: fadeIn 0.3s ease;
}

.bb-nav-persona-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bb-nav-section-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(85, 210, 255, 0.2);
}

.bb-nav-section-header h3 {
  margin: 0 0 8px 0;
  font-size: 24px;
  color: #55d2ff;
  font-weight: 700;
}

.bb-nav-section-description {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.bb-nav-section-subtitle {
  margin: 8px 0 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.bb-nav-section-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bb-nav-field-list {
  position: relative;
}

.bb-nav-field-list-input {
  font-family: 'Courier New', monospace;
  font-size: 13px;
}

.bb-nav-field-help {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 6px 0 0 0;
}

.bb-nav-field-help .dashicons {
  font-size: 16px;
  color: rgba(85, 210, 255, 0.7);
}

.bb-nav-form-footer {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid rgba(85, 210, 255, 0.2);
}

.bb-nav-form-footer .bb-nav-btn {
  flex: 1;
  justify-content: center;
  font-size: 16px;
  padding: 14px 24px;
}

/* Enhanced field styles for comprehensive form */
.bb-nav-field {
  position: relative;
}

.bb-nav-field-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.bb-nav-field-required {
  color: #ff6b6b;
  margin-left: 4px;
}

.bb-nav-field-input,
.bb-nav-field-textarea,
.bb-nav-field-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(85, 210, 255, 0.3);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.bb-nav-field-textarea {
  resize: vertical;
  min-height: 100px;
}

.bb-nav-field-input:focus,
.bb-nav-field-textarea:focus,
.bb-nav-field-select:focus {
  outline: none;
  border-color: #55d2ff;
  background: rgba(85, 210, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(85, 210, 255, 0.1);
}

.bb-nav-field-input::placeholder,
.bb-nav-field-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* Progress indicator */
.bb-nav-form-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(85, 210, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 24px;
}

.bb-nav-progress-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.bb-nav-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(85, 210, 255, 0.2);
  border-radius: 3px;
  margin: 0 16px;
  overflow: hidden;
}

.bb-nav-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #55d2ff, #51ffb0);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .bb-nav-persona-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-bottom: -10px;
  }
  
  .bb-nav-persona-tab {
    flex-shrink: 0;
    min-width: auto;
    padding: 8px 12px 10px 12px;
    font-size: 12px;
    margin-right: -2px;
  }
  
  .bb-nav-persona-tab .bb-nav-tab-label {
    display: none;
  }
  
  .bb-nav-persona-tab.active .bb-nav-tab-label {
    display: inline;
  }
  
  .bb-nav-persona-tab .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
  }
  
  .bb-nav-persona-form {
    padding: 20px;
    border-radius: 8px;
  }
  
  .bb-nav-form-footer {
    flex-direction: column;
  }
  
  .bb-nav-form-footer .bb-nav-btn {
    width: 100%;
  }
  
  .bb-nav-section-fields {
    gap: 16px;
  }
}

/* Pro Training Styles */
/* Pro Training Tab Styles */
.bb-nav-pro-training-tab {
  position: relative;
}

.bb-nav-pro-training-tab .bb-nav-pro-badge {
  position: absolute;
  top: 2px;
  right: 6px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(255, 107, 107, 0.5);
  z-index: 2;
}

.bb-nav-pro-training-tab.bb-nav-pro-unlocked {
  background: rgba(81, 255, 176, 0.08);
  border-color: rgba(81, 255, 176, 0.4);
}

.bb-nav-pro-training-tab.bb-nav-pro-unlocked:hover {
  background: rgba(81, 255, 176, 0.15);
  border-color: rgba(81, 255, 176, 0.6);
}

.bb-nav-pro-training-tab.bb-nav-pro-unlocked.active {
  background: rgba(10, 15, 26, 1);
  border-color: rgba(81, 255, 176, 0.6);
  box-shadow: 
    0 -4px 12px rgba(81, 255, 176, 0.2),
    inset 0 1px 0 rgba(81, 255, 176, 0.3);
}

.bb-nav-pro-training-tab.bb-nav-pro-unlocked.active .dashicons {
  color: #51ffb0;
}

.bb-nav-pro-training-tab.bb-nav-pro-unlocked.active .bb-nav-tab-label {
  color: #51ffb0;
}

/* Pro Training Modal */
.bb-nav-pro-training-modal {
  max-width: 700px;
}

.bb-nav-pro-training-modal .bb-nav-modal-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bb-nav-pro-training-modal .bb-nav-modal-header h2 .dashicons {
  color: #51ffb0;
  font-size: 32px;
  width: 32px;
  height: 32px;
}

.bb-nav-pro-intro {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  text-align: center;
}

.bb-nav-pro-training-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.bb-nav-pro-option {
  padding: 32px 24px;
  border: 2px solid rgba(85, 210, 255, 0.2);
  border-radius: 16px;
  text-align: center;
  background: rgba(85, 210, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.bb-nav-pro-option:hover {
  border-color: rgba(85, 210, 255, 0.4);
  background: rgba(85, 210, 255, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(85, 210, 255, 0.2);
}

.bb-nav-pro-option-featured {
  border-color: rgba(81, 255, 176, 0.4);
  background: rgba(81, 255, 176, 0.08);
}

.bb-nav-pro-option-featured:hover {
  border-color: rgba(81, 255, 176, 0.6);
  background: rgba(81, 255, 176, 0.12);
  box-shadow: 0 8px 24px rgba(81, 255, 176, 0.3);
}

.bb-nav-pro-badge-featured {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #51ffb0, #55d2ff);
  color: #0a0f1a;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.bb-nav-pro-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(85, 210, 255, 0.2), rgba(81, 255, 176, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-nav-pro-icon .dashicons {
  font-size: 32px;
  width: 32px;
  height: 32px;
  color: #55d2ff;
}

.bb-nav-pro-option-featured .bb-nav-pro-icon .dashicons {
  color: #51ffb0;
}

.bb-nav-pro-option h3 {
  margin: 0 0 12px 0;
  color: #55d2ff;
  font-size: 20px;
  font-weight: 600;
}

.bb-nav-pro-option-featured h3 {
  color: #51ffb0;
}

.bb-nav-pro-price {
  font-size: 32px;
  font-weight: 700;
  color: #51ffb0;
  margin: 12px 0;
  line-height: 1;
}

.bb-nav-pro-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 12px 0 20px;
  min-height: 40px;
}

.bb-nav-pro-option .bb-nav-btn {
  margin-top: 16px;
  width: 100%;
  font-size: 14px;
  padding: 12px 24px;
}

.bb-nav-pro-option .bb-nav-btn .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

/* Mobile responsive for Pro Training */
@media (max-width: 768px) {
  .bb-nav-pro-training-options {
    grid-template-columns: 1fr;
  }
  
  .bb-nav-pro-training-modal {
    max-width: 95%;
    margin: 20px auto;
  }
  
  .bb-nav-pro-option {
    padding: 24px 16px;
  }
}

/* ===================================================================
   Business Manager Styles
   =================================================================== */

/* Business Overview Panel */
.bb-nav-business-overview {
  background: linear-gradient(135deg, rgba(10, 15, 26, 0.95) 0%, rgba(15, 25, 45, 0.95) 100%);
  border: 2px solid rgba(85, 210, 255, 0.25);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.bb-nav-business-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #55d2ff 0%, #51ffb0 50%, #55d2ff 100%);
}

.bb-nav-overview-header {
  margin-bottom: 32px;
  text-align: center;
}

.bb-nav-overview-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.bb-nav-overview-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.bb-nav-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Overview Cards */
.bb-nav-overview-card {
  background: rgba(20, 30, 50, 0.6);
  border: 2px solid rgba(85, 210, 255, 0.2);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bb-nav-overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(85, 210, 255, 0.4);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.bb-nav-overview-card:hover {
  border-color: rgba(85, 210, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 30px rgba(85, 210, 255, 0.2);
}

.bb-nav-overview-card:hover::before {
  transform: scaleX(1);
}

/* Card Color Variants */
.bb-nav-card-licensed::before {
  background: rgba(81, 255, 176, 0.5);
}

.bb-nav-card-licensed:hover {
  border-color: rgba(81, 255, 176, 0.4);
}

.bb-nav-card-revenue::before,
.bb-nav-card-next-payment::before {
  background: linear-gradient(90deg, #51ffb0 0%, #55d2ff 100%);
}

.bb-nav-card-revenue:hover,
.bb-nav-card-next-payment:hover {
  border-color: rgba(81, 255, 176, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 30px rgba(81, 255, 176, 0.2);
}

.bb-nav-card-top-performers::before {
  background: linear-gradient(90deg, #ffd700 0%, #ffaa00 100%);
}

.bb-nav-card-top-performers:hover {
  border-color: rgba(255, 215, 0, 0.4);
}

/* Overview Icon */
.bb-nav-overview-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(85, 210, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.bb-nav-overview-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, rgba(85, 210, 255, 0.3), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.bb-nav-overview-icon .dashicons {
  font-size: 36px;
  width: 36px;
  height: 36px;
  color: #55d2ff;
}

.bb-nav-card-licensed .bb-nav-overview-icon {
  background: rgba(81, 255, 176, 0.15);
}

.bb-nav-card-licensed .bb-nav-overview-icon .dashicons {
  color: #51ffb0;
}

.bb-nav-card-revenue .bb-nav-overview-icon,
.bb-nav-card-next-payment .bb-nav-overview-icon {
  background: rgba(81, 255, 176, 0.15);
}

.bb-nav-card-revenue .bb-nav-overview-icon .dashicons,
.bb-nav-card-next-payment .bb-nav-overview-icon .dashicons {
  color: #51ffb0;
}

.bb-nav-card-top-performers .bb-nav-overview-icon {
  background: rgba(255, 215, 0, 0.15);
}

.bb-nav-card-top-performers .bb-nav-overview-icon .dashicons {
  color: #ffd700;
}

/* Overview Content */
.bb-nav-overview-content {
  width: 100%;
}

.bb-nav-overview-value {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bb-nav-card-revenue .bb-nav-overview-value,
.bb-nav-card-next-payment .bb-nav-overview-value {
  color: #51ffb0;
}

.bb-nav-overview-label {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bb-nav-overview-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Top Performers List */
.bb-nav-top-performers-list {
  margin-top: 16px;
  width: 100%;
}

.bb-nav-top-performer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(20, 30, 50, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.bb-nav-top-performer:hover {
  background: rgba(20, 30, 50, 0.6);
  border-color: rgba(255, 215, 0, 0.4);
}

.bb-nav-rank {
  font-size: 18px;
  font-weight: 700;
  color: #ffd700;
  min-width: 32px;
}

.bb-nav-performer-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-align: left;
}

.bb-nav-performer-count {
  font-size: 13px;
  font-weight: 600;
  color: #55d2ff;
  padding: 4px 10px;
  background: rgba(85, 210, 255, 0.15);
  border-radius: 12px;
}

/* Payment Divider */
.bb-nav-payment-divider {
  margin: 24px 0;
  text-align: center;
  position: relative;
}

.bb-nav-payment-divider::before,
.bb-nav-payment-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 60px);
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.bb-nav-payment-divider::before {
  left: 0;
}

.bb-nav-payment-divider::after {
  right: 0;
}

.bb-nav-payment-divider span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 16px;
  background: rgba(10, 15, 26, 0.9);
}

/* Pro Training Upsell */
.bb-nav-pro-training-upsell {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.bb-nav-pro-training-upsell h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: #3b82f6;
}

.bb-nav-pro-training-upsell p {
  margin: 0 0 16px 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.bb-nav-pro-training-price {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 8px;
  padding: 8px 16px;
}

.bb-nav-pro-training-price strong {
  color: #60a5fa;
  font-size: 16px;
}


/* Summary Metrics Cards (original small cards - REMOVED to avoid duplication) */
.bb-nav-business-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 24px 0 40px;
}

.bb-nav-metric-card {
  background: linear-gradient(135deg, rgba(20, 30, 50, 0.95) 0%, rgba(15, 25, 45, 0.95) 100%);
  border: 2px solid rgba(85, 210, 255, 0.2);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bb-nav-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(85, 210, 255, 0.5) 0%, rgba(85, 210, 255, 0) 100%);
}

.bb-nav-metric-card:hover {
  border-color: rgba(85, 210, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(85, 210, 255, 0.15);
}

.bb-nav-metric-revenue {
  border-color: rgba(81, 255, 176, 0.3);
}

.bb-nav-metric-revenue::before {
  background: linear-gradient(90deg, rgba(81, 255, 176, 0.5) 0%, rgba(81, 255, 176, 0) 100%);
}

.bb-nav-metric-revenue:hover {
  border-color: rgba(81, 255, 176, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(81, 255, 176, 0.15);
}

.bb-nav-metric-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(85, 210, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bb-nav-metric-revenue .bb-nav-metric-icon {
  background: rgba(81, 255, 176, 0.1);
}

.bb-nav-metric-icon .dashicons {
  font-size: 28px;
  width: 28px;
  height: 28px;
  color: #55d2ff;
}

.bb-nav-metric-revenue .bb-nav-metric-icon .dashicons {
  color: #51ffb0;
}

.bb-nav-metric-content {
  flex: 1;
}

.bb-nav-metric-value {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 4px;
}

.bb-nav-metric-revenue .bb-nav-metric-value {
  color: #51ffb0;
}

.bb-nav-metric-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Business Table Container */
.bb-nav-business-table-container {
  background: rgba(10, 15, 26, 0.6);
  border: 2px solid rgba(85, 210, 255, 0.15);
  border-radius: 12px;
  padding: 28px;
  margin-top: 32px;
}

.bb-nav-section-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bb-nav-section-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, #55d2ff 0%, rgba(85, 210, 255, 0.3) 100%);
  border-radius: 2px;
}

/* Business Table */
.bb-nav-business-table {
  width: 100%;
  border-collapse: collapse;
}

.bb-nav-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr 1fr;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(85, 210, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(85, 210, 255, 0.15);
}

.bb-nav-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr 1fr;
  gap: 16px;
  padding: 20px;
  background: rgba(20, 30, 50, 0.4);
  border: 1px solid rgba(85, 210, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.bb-nav-table-row:not(.bb-nav-row-unlicensed) {
  cursor: pointer;
}

.bb-nav-table-row:not(.bb-nav-row-unlicensed):hover {
  background: rgba(20, 30, 50, 0.7);
  border-color: rgba(85, 210, 255, 0.25);
  transform: translateX(4px);
}

.bb-nav-row-unlicensed {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 20, 35, 0.3);
}

.bb-nav-row-unlicensed:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.bb-nav-table-cell {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.bb-nav-table-header .bb-nav-table-cell {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.bb-nav-persona-name {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 15px;
}

.bb-nav-persona-name .dashicons {
  color: #55d2ff;
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.bb-nav-persona-name strong {
  font-weight: 600;
}

.bb-nav-metric-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(85, 210, 255, 0.15);
  color: #55d2ff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(85, 210, 255, 0.3);
  min-width: 40px;
}

.bb-nav-badge-pro {
  background: rgba(81, 255, 176, 0.15);
  color: #51ffb0;
  border-color: rgba(81, 255, 176, 0.3);
}

.bb-nav-text-muted {
  color: rgba(255, 255, 255, 0.3);
  font-size: 16px;
}

.bb-nav-revenue-amount {
  color: #51ffb0;
  font-weight: 600;
  font-size: 15px;
}

/* Status Badges */
.bb-nav-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid;
}

.bb-nav-badge-licensed {
  background: rgba(81, 255, 176, 0.15);
  color: #51ffb0;
  border-color: rgba(81, 255, 176, 0.3);
}

.bb-nav-badge-licensed .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.bb-nav-badge-unlicensed {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.15);
}

.bb-nav-badge-unlicensed .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

/* Register Button */
.bb-nav-register-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.bb-nav-register-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.bb-nav-btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* Pro Indicator */
.bb-nav-pro-indicator {
  color: #51ffb0;
  font-size: 12px;
  margin-left: 4px;
  font-weight: 500;
}

/* Summary Separator */
.bb-nav-summary-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 8px;
}

.bb-nav-table-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Table Footer */
.bb-nav-table-footer {
  margin-top: 20px;
  padding: 20px;
  background: rgba(81, 255, 176, 0.05);
  border: 2px solid rgba(81, 255, 176, 0.2);
  border-radius: 8px;
  display: flex;
  justify-content: flex-end;
}

.bb-nav-table-summary {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
}

.bb-nav-table-summary strong {
  color: #ffffff;
}

.bb-nav-revenue-total {
  font-size: 20px;
  font-weight: 700;
  color: #51ffb0;
}

/* Responsive Business Manager */
@media (max-width: 1024px) {
  .bb-nav-business-summary {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
  
  .bb-nav-metric-card {
    padding: 20px;
  }
  
  .bb-nav-metric-value {
    font-size: 28px;
  }
  
  .bb-nav-business-table-container {
    padding: 20px;
  }
  
  .bb-nav-overview-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  
  .bb-nav-overview-value {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .bb-nav-business-summary {
    grid-template-columns: 1fr;
  }
  
  .bb-nav-metric-card {
    padding: 20px 16px;
  }
  
  .bb-nav-metric-icon {
    width: 48px;
    height: 48px;
  }
  
  .bb-nav-metric-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }
  
  .bb-nav-metric-value {
    font-size: 24px;
  }
  
  .bb-nav-business-overview {
    padding: 24px 16px;
  }
  
  .bb-nav-overview-header h2 {
    font-size: 22px;
  }
  
  .bb-nav-overview-header p {
    font-size: 14px;
  }
  
  .bb-nav-overview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .bb-nav-overview-card {
    padding: 24px 20px;
  }
  
  .bb-nav-overview-icon {
    width: 60px;
    height: 60px;
  }
  
  .bb-nav-overview-icon .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
  }
  
  .bb-nav-overview-value {
    font-size: 36px;
  }
  
  .bb-nav-overview-label {
    font-size: 14px;
  }
  
  .bb-nav-business-table-container {
    padding: 16px;
    overflow-x: auto;
  }
  
  .bb-nav-table-header {
    display: none;
  }
  
  .bb-nav-table-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  
  .bb-nav-table-cell {
    justify-content: space-between;
  }
  
  .bb-nav-table-cell::before {
    content: attr(data-label);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-transform: uppercase;
  }
  
  .bb-nav-col-persona::before,
  .bb-nav-col-status::before {
    content: none;
  }
  
  .bb-nav-col-status {
    order: -1;
  }
  
  .bb-nav-register-btn {
    width: 100%;
    justify-content: center;
  }
  
  .bb-nav-table-footer {
    flex-direction: column;
    gap: 8px;
  }
  
  .bb-nav-table-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .bb-nav-summary-sep {
    display: none;
  }
  
  .bb-nav-payment-divider {
    margin: 20px 0;
  }
  
  .bb-nav-payment-divider::before,
  .bb-nav-payment-divider::after {
    width: calc(50% - 50px);
  }
}

/* App Listings Styles */
.bb-nav-apps-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px;margin-top:24px}
.bb-nav-app-card{background:rgba(4,10,20,0.4);border:1px solid var(--bb-nav-border);border-radius:16px;overflow:hidden;transition:all 0.3s ease}
.bb-nav-app-card.clickable{cursor:pointer}
.bb-nav-app-card.clickable:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(26,115,232,0.2);border-color:var(--bb-nav-primary)}
.bb-nav-app-card-header{position:relative;padding:24px;background:linear-gradient(135deg,rgba(26,115,232,0.1),rgba(138,180,248,0.05));border-bottom:1px solid var(--bb-nav-border)}
.bb-nav-app-logo{width:80px;height:80px;object-fit:contain;border-radius:12px;background:rgba(255,255,255,0.05)}
.bb-nav-app-logo-placeholder{width:80px;height:80px;border-radius:12px;background:rgba(26,115,232,0.1);display:flex;align-items:center;justify-content:center}
.bb-nav-app-logo-placeholder .dashicons{font-size:40px;width:40px;height:40px;color:var(--bb-nav-primary)}
.bb-nav-app-badges{position:absolute;top:16px;right:16px;display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.bb-nav-app-badge{padding:4px 12px;border-radius:12px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0.5px}
.bb-nav-app-badge.featured{background:var(--bb-nav-primary);color:#fff}
.bb-nav-app-badge.coming-soon{background:rgba(255,193,7,0.2);color:#ffc107;border:1px solid rgba(255,193,7,0.3)}
.bb-nav-app-card-body{padding:24px}
.bb-nav-app-title{font-size:20px;font-weight:700;margin:0 0 8px;color:var(--bb-nav-text)}
.bb-nav-app-subtitle{font-size:14px;color:var(--bb-nav-primary);margin:0 0 12px;font-weight:600}
.bb-nav-app-description{font-size:14px;line-height:1.6;color:var(--bb-nav-text-dim);margin:0 0 12px}
.bb-nav-app-author{font-size:12px;color:var(--bb-nav-text-dim);margin:0;font-style:italic}
.bb-nav-app-card-footer{padding:16px 24px;background:rgba(26,115,232,0.05);border-top:1px solid var(--bb-nav-border);font-size:13px;font-weight:600;color:var(--bb-nav-primary);display:flex;align-items:center;gap:6px}
.bb-nav-app-card-footer .dashicons{font-size:16px;width:16px;height:16px}

/* Modal Styles */
.bb-nav-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.8);backdrop-filter:blur(4px);z-index:100000;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity 0.3s ease}
.bb-nav-modal-overlay.active{opacity:1}
.bb-nav-modal{background:var(--bb-nav-bg-dark);border:1px solid var(--bb-nav-border);border-radius:20px;max-width:600px;width:90%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;transform:scale(0.9);transition:transform 0.3s ease}
.bb-nav-modal-overlay.active .bb-nav-modal{transform:scale(1)}
.bb-nav-modal-header{padding:24px;background:linear-gradient(135deg,rgba(26,115,232,0.1),rgba(138,180,248,0.05));border-bottom:1px solid var(--bb-nav-border);display:flex;justify-content:space-between;align-items:center}
.bb-nav-modal-header h2{margin:0;font-size:24px;color:var(--bb-nav-text)}
.bb-nav-modal-close{background:none;border:none;color:var(--bb-nav-text-dim);cursor:pointer;padding:4px;border-radius:8px;transition:all 0.2s ease}
.bb-nav-modal-close:hover{background:rgba(255,255,255,0.1);color:var(--bb-nav-text)}
.bb-nav-modal-close .dashicons{font-size:20px;width:20px;height:20px}
.bb-nav-modal-body{padding:24px;overflow-y:auto;flex:1}
.bb-nav-modal-intro{margin:0 0 24px;color:var(--bb-nav-text-dim);font-size:14px;text-align:center}
.bb-nav-field-file{width:100%;padding:12px;border-radius:12px;border:2px dashed var(--bb-nav-border);background:rgba(4,10,20,0.3);color:var(--bb-nav-text);font-size:14px;cursor:pointer;transition:all 0.2s ease}
.bb-nav-field-file:hover{border-color:var(--bb-nav-primary);background:rgba(26,115,232,0.05)}
.bb-nav-field-help{display:block;margin-top:6px;font-size:12px;color:var(--bb-nav-text-dim)}
.bb-nav-modal-actions{display:flex;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid var(--bb-nav-border)}
.bb-nav-modal-actions .bb-nav-btn{flex:1}

/* External Link Cards (SDK) */
.bb-nav-card-external{position:relative}
.bb-nav-card-external .bb-nav-card-external-icon{position:absolute;bottom:20px;right:20px;width:32px;height:32px;background:rgba(26,115,232,0.1);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all 0.3s ease}
.bb-nav-card-external .bb-nav-card-external-icon .dashicons{font-size:16px;width:16px;height:16px;color:var(--bb-nav-primary)}
.bb-nav-card-external:hover .bb-nav-card-external-icon{background:var(--bb-nav-primary);transform:scale(1.1)}
.bb-nav-card-external:hover .bb-nav-card-external-icon .dashicons{color:#fff}

/* Responsive */
@media (max-width: 768px) {
  .bb-nav-apps-grid {
    grid-template-columns: 1fr;
  }
  
  .bb-nav-modal {
    width:95%;
    max-height:95vh;
  }
  
  .bb-nav-modal-header {
    padding:20px;
  }
  
  .bb-nav-modal-body {
    padding:20px;
  }
}


/* This triggers the theme's existing hamburger menu behavior */
@media (min-width: 783px) {
  /* Force WordPress Navigation into mobile/overlay mode */
  body.bb-navigator-active .wp-block-navigation__responsive-container-open {
    display: flex !important;
  }
  
  body.bb-navigator-active .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: block !important;
  }
  
  body.bb-navigator-active .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content {
    display: none !important;
  }
  
  body.bb-navigator-active .wp-block-navigation > .wp-block-navigation__container {
    display: none !important;
  }
}


/* Marketplace Styles */
.bb-nav-marketplace-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
.bb-nav-marketplace-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:32px 24px}
.bb-nav-marketplace-avatar{width:120px;height:120px;border-radius:50%;margin-bottom:20px;overflow:hidden;border:3px solid var(--bb-nav-primary);box-shadow:0 4px 12px rgba(85,210,255,0.3)}
.bb-nav-marketplace-avatar img{width:100%;height:100%;object-fit:cover}
.bb-nav-avatar-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--bb-nav-primary),var(--bb-nav-primary-light));color:var(--bb-nav-bg-dark);font-size:48px;font-weight:700}
.bb-nav-marketplace-card .bb-nav-card-title{margin-top:0;margin-bottom:8px}
.bb-nav-marketplace-author{font-size:13px;color:var(--bb-nav-text-dim);margin:0 0 16px;font-style:italic}
.bb-nav-marketplace-card .bb-nav-card-desc{flex:1;margin-bottom:20px;min-height:60px}
.bb-nav-marketplace-pricing{background:rgba(85,210,255,0.1);border-radius:12px;padding:16px;margin-bottom:20px;width:100%;border:1px solid rgba(85,210,255,0.2)}
.bb-nav-price-display{display:flex;align-items:baseline;justify-content:center;gap:4px;margin-bottom:4px}
.bb-nav-price-amount{font-size:32px;font-weight:700;color:var(--bb-nav-primary-light)}
.bb-nav-price-period{font-size:14px;color:var(--bb-nav-text-dim)}
.bb-nav-price-label{font-size:12px;color:var(--bb-nav-text-dim);text-transform:uppercase;letter-spacing:0.5px}
.bb-nav-marketplace-card .bb-nav-license-btn{margin-top:auto}
.bb-nav-marketplace-filters{margin-bottom:24px}
.bb-nav-marketplace-filters .bb-nav-filter-input{width:100%;max-width:400px}

/* Subscription Modal Styles */
.bb-nav-modal-subscription{max-width:900px;width:95%}
.bb-nav-subscription-intro{text-align:center;font-size:16px;color:var(--bb-nav-text-dim);margin-bottom:32px}
.bb-nav-subscription-tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;margin-bottom:24px}
.bb-nav-tier-card{background:rgba(6,16,30,0.6);border:2px solid var(--bb-nav-border);border-radius:16px;padding:24px;display:flex;flex-direction:column;position:relative;transition:all 0.3s ease}
.bb-nav-tier-card:hover{transform:translateY(-4px);border-color:var(--bb-nav-primary);box-shadow:0 8px 24px rgba(85,210,255,0.2)}
.bb-nav-tier-featured{border-color:var(--bb-nav-primary);background:radial-gradient(circle at top,rgba(85,210,255,0.15),rgba(6,16,30,0.8))}
.bb-nav-tier-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,var(--bb-nav-primary),var(--bb-nav-primary-light));color:var(--bb-nav-bg-dark);padding:4px 16px;border-radius:12px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0.5px}
.bb-nav-tier-header{text-align:center;margin-bottom:20px}
.bb-nav-tier-header h3{font-size:24px;font-weight:700;color:var(--bb-nav-primary-light);margin:0 0 12px}
.bb-nav-tier-price{display:flex;align-items:baseline;justify-content:center;gap:4px}
.bb-nav-tier-amount{font-size:36px;font-weight:700;color:var(--bb-nav-text)}
.bb-nav-tier-period{font-size:14px;color:var(--bb-nav-text-dim)}
.bb-nav-tier-features{list-style:none;padding:0;margin:0 0 24px;flex:1}
.bb-nav-tier-features li{display:flex;align-items:center;gap:8px;padding:8px 0;font-size:14px;color:var(--bb-nav-text)}
.bb-nav-tier-features .dashicons{color:var(--bb-nav-primary);font-size:16px;width:16px;height:16px;flex-shrink:0}
.bb-nav-subscription-note{display:flex;align-items:center;gap:8px;background:rgba(85,210,255,0.1);border-radius:8px;padding:12px;font-size:13px;color:var(--bb-nav-text-dim);border:1px solid rgba(85,210,255,0.2)}
.bb-nav-subscription-note .dashicons{color:var(--bb-nav-primary);flex-shrink:0}

/* Responsive adjustments */
@media (max-width:768px){
  .bb-nav-marketplace-grid{grid-template-columns:1fr}
  .bb-nav-subscription-tiers{grid-template-columns:1fr}
  .bb-nav-tier-card{margin-bottom:16px}
}

/* ========================================
   LIGHT MODE THEME
   ======================================== */

.bb-nav-root.bb-nav-light-mode {
  background: #e8f0f7;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-shell {
  /* Inherits from parent */
}

/* Spot Pane - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-spot-pane {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(72, 120, 180, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-spot-avatar {
  background: #3b9dd8;
  box-shadow: none;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-spot-eye {
  background: #ffffff;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-spot-mouth {
  border-color: #ffffff;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-spot-name {
  color: #2a7ab8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-spot-tagline {
  color: #6b8ba8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-spot-info {
  border-bottom: 1px solid rgba(72, 120, 180, 0.15);
}

/* Chat Messages - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-chat-message.spot {
  background: linear-gradient(135deg, rgba(59, 157, 216, 0.12), rgba(142, 200, 240, 0.08));
  border: 1px solid rgba(59, 157, 216, 0.25);
  color: #2c3e50;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-chat-message.user {
  background: rgba(230, 240, 250, 0.8);
  border: 1px solid rgba(72, 120, 180, 0.2);
  color: #2c3e50;
}

/* Light mode formatted message content */
.bb-nav-root.bb-nav-light-mode .bb-nav-chat-message strong {
  color: #2a7ab8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-chat-message em {
  color: #4a6380;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-chat-message code {
  background: rgba(0, 0, 0, 0.08);
  color: #2c3e50;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-message-action {
  background: linear-gradient(135deg, #3b9dd8, #5eb7e8);
  color: #ffffff;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-typing {
  background: rgba(59, 157, 216, 0.1);
  border: 1px solid rgba(59, 157, 216, 0.2);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-typing-dot {
  background: #3b9dd8;
}

/* Input - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-input {
  border: 1px solid rgba(72, 120, 180, 0.25);
  background: #ffffff;
  color: #2c3e50;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-input::placeholder {
  color: rgba(72, 120, 180, 0.6);
  font-style: italic;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-input:focus {
  border-color: #3b9dd8;
  box-shadow: 0 0 0 3px rgba(59, 157, 216, 0.15);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-send-btn {
  background: linear-gradient(135deg, #3b9dd8, #5eb7e8);
  color: #ffffff;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-spot-input {
  border-top: 1px solid rgba(72, 120, 180, 0.15);
}

/* Theme Toggle - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-theme-toggle-wrapper {
  border-top: 1px solid rgba(72, 120, 180, 0.15);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-theme-toggle {
  border: 1px solid rgba(72, 120, 180, 0.2);
  background: rgba(240, 248, 255, 0.5);
  color: #5a7a95;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-theme-toggle:hover {
  background: rgba(59, 157, 216, 0.12);
  border-color: rgba(59, 157, 216, 0.4);
  color: #2a7ab8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-theme-toggle .dashicons {
  color: #3b9dd8;
}

/* Main Panel - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-panel {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(72, 120, 180, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-panel-header {
  border-bottom: 1px solid rgba(72, 120, 180, 0.15);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-panel-title {
  color: #2a7ab8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-panel-subtitle {
  color: #6b8ba8;
}

/* Breadcrumbs - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-breadcrumbs {
  color: #6b8ba8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-breadcrumb-item {
  color: #6b8ba8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-breadcrumb-item:hover {
  color: #2a7ab8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-breadcrumb-item.active {
  color: #2a7ab8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-breadcrumb-separator {
  color: #b0c4d8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-account-link {
  color: #6b8ba8;
  border: 1px solid rgba(59, 157, 216, 0.25);
  background: rgba(240, 248, 255, 0.5);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-account-link:hover {
  color: #2a7ab8;
  border-color: rgba(59, 157, 216, 0.5);
  background: rgba(59, 157, 216, 0.12);
}

/* Cards - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-card {
  background: #ffffff;
  border: 1px solid rgba(72, 120, 180, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-card:hover {
  border-color: #3b9dd8;
  box-shadow: 0 8px 24px rgba(59, 157, 216, 0.15);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-card-icon {
  background: linear-gradient(135deg, rgba(59, 157, 216, 0.15), rgba(142, 200, 240, 0.1));
  border: 1px solid rgba(59, 157, 216, 0.25);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-card-icon .dashicons {
  color: #2a7ab8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-card-title {
  color: #2c3e50;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-card-desc {
  color: #6b8ba8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-card-badge {
  background: linear-gradient(135deg, #3b9dd8, #5eb7e8);
  color: #ffffff;
}

/* Buttons - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-btn-primary {
  background: linear-gradient(135deg, #3b9dd8, #5eb7e8);
  color: #ffffff;
  border: 1px solid #3b9dd8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-btn-primary:hover {
  background: linear-gradient(135deg, #2a8cc7, #4da6d7);
  box-shadow: 0 4px 12px rgba(59, 157, 216, 0.3);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-btn-secondary {
  background: #ffffff;
  color: #2a7ab8;
  border: 1px solid rgba(59, 157, 216, 0.3);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-btn-secondary:hover {
  background: rgba(59, 157, 216, 0.08);
  border-color: #3b9dd8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-btn-warning {
  background: #3b9dd8;
  color: #ffffff;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-btn-warning:hover {
  background: #2a8cc7;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-btn-danger {
  background: #e74c3c;
  color: #ffffff;
  border: 1px solid #c0392b;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-btn-danger:hover {
  background: #c0392b;
}

/* Form Fields - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-field-input,
.bb-nav-root.bb-nav-light-mode .bb-nav-field-select,
.bb-nav-root.bb-nav-light-mode .bb-nav-field-textarea {
  background: #ffffff;
  border: 1px solid rgba(72, 120, 180, 0.25);
  color: #2c3e50;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-field-input:focus,
.bb-nav-root.bb-nav-light-mode .bb-nav-field-select:focus,
.bb-nav-root.bb-nav-light-mode .bb-nav-field-textarea:focus {
  border-color: #3b9dd8;
  box-shadow: 0 0 0 3px rgba(59, 157, 216, 0.15);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-field-label {
  color: #4a6175;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-field-input::placeholder,
.bb-nav-root.bb-nav-light-mode .bb-nav-field-textarea::placeholder {
  color: rgba(72, 120, 180, 0.6);
  font-style: italic;
}

/* Pro Training Tab - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-persona-tab {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(72, 120, 180, 0.25);
  color: #5a7087;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-persona-tab:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(72, 120, 180, 0.4);
  color: #2c3e50;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-persona-tab.active {
  background: #ffffff;
  border-color: rgba(59, 157, 216, 0.5);
  border-bottom-color: #ffffff;
  color: #3b9dd8;
  box-shadow: 
    0 -4px 12px rgba(59, 157, 216, 0.1),
    inset 0 1px 0 rgba(59, 157, 216, 0.15);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-persona-tab.active::before {
  background: #ffffff;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-persona-tab.active .dashicons {
  color: #3b9dd8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-persona-tab.active .bb-nav-tab-label {
  color: #3b9dd8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-pro-training-tab.bb-nav-pro-unlocked {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-pro-training-tab.bb-nav-pro-unlocked:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.5);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-pro-training-tab.bb-nav-pro-unlocked.active {
  background: #ffffff;
  border-color: rgba(34, 197, 94, 0.5);
  color: #16a34a;
  box-shadow: 
    0 -4px 12px rgba(34, 197, 94, 0.1),
    inset 0 1px 0 rgba(34, 197, 94, 0.2);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-pro-training-tab.bb-nav-pro-unlocked.active .dashicons {
  color: #16a34a;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-pro-training-tab.bb-nav-pro-unlocked.active .bb-nav-tab-label {
  color: #16a34a;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-help-text {
  color: #6b8ba8;
}

/* Account Sections - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-account-section {
  background: #ffffff;
  border: 1px solid rgba(72, 120, 180, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-section-title {
  color: #2a7ab8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-section-title .dashicons {
  color: #3b9dd8;
}

/* API Key Display - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-api-key-display {
  background: rgba(240, 248, 255, 0.5);
  border: 1px solid rgba(59, 157, 216, 0.2);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-api-key-field {
  background: #ffffff;
  border: 1px solid rgba(72, 120, 180, 0.25);
  color: #2c3e50;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-api-key-warning {
  background: rgba(59, 157, 216, 0.1);
  border: 1px solid rgba(59, 157, 216, 0.25);
  color: #4a6175;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-api-key-warning .dashicons {
  color: #3b9dd8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-api-key-info {
  background: rgba(142, 200, 240, 0.15);
  border-left: 4px solid #3b9dd8;
  color: #4a6175;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-api-key-info .dashicons {
  color: #3b9dd8;
}

/* Badges - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-badge-success {
  background: rgba(46, 204, 113, 0.15);
  color: #27ae60;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-badge-warning {
  background: rgba(230, 126, 34, 0.15);
  color: #d68910;
  border: 1px solid rgba(230, 126, 34, 0.3);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-badge-danger {
  background: rgba(231, 76, 60, 0.15);
  color: #c0392b;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-badge-premium {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #ffffff;
}

/* Success/Error Messages - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-success {
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.4);
  color: #27ae60;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-error {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: #c0392b;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-warning {
  background: rgba(230, 126, 34, 0.15);
  border: 1px solid rgba(230, 126, 34, 0.4);
  color: #d68910;
}

/* Loading State - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-loading {
  color: #6b8ba8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-spinner {
  border: 3px solid rgba(72, 120, 180, 0.2);
  border-top-color: #3b9dd8;
}

/* Help Button - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-help-button {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(59, 157, 216, 0.3);
  color: #2a7ab8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-help-button:hover {
  border-color: #3b9dd8;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Modal - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-modal {
  background: rgba(200, 220, 235, 0.85);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-modal-content {
  background: #ffffff;
  border: 2px solid rgba(59, 157, 216, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Tables - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-table {
  background: #ffffff;
  border: 1px solid rgba(72, 120, 180, 0.2);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-table th {
  background: rgba(240, 248, 255, 0.8);
  color: #2a7ab8;
  border-bottom: 2px solid rgba(59, 157, 216, 0.25);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-table td {
  color: #2c3e50;
  border-bottom: 1px solid rgba(72, 120, 180, 0.1);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-table tr:hover {
  background: rgba(240, 248, 255, 0.5);
}

/* Marketplace & Licensing - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-marketplace-card {
  background: #ffffff;
  border: 1px solid rgba(72, 120, 180, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-marketplace-card:hover {
  border-color: #3b9dd8;
  box-shadow: 0 8px 24px rgba(59, 157, 216, 0.15);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-persona-avatar-placeholder {
  background: linear-gradient(135deg, rgba(59, 157, 216, 0.15), rgba(142, 200, 240, 0.1));
  color: #3b9dd8;
}

/* Text Colors - Light Mode */
.bb-nav-root.bb-nav-light-mode {
  color: #2c3e50;
}

.bb-nav-root.bb-nav-light-mode a {
  color: #2a7ab8;
}

.bb-nav-root.bb-nav-light-mode a:hover {
  color: #3b9dd8;
}

.bb-nav-root.bb-nav-light-mode code {
  background: rgba(240, 248, 255, 0.8);
  color: #2a7ab8;
  border: 1px solid rgba(59, 157, 216, 0.2);
}

/* Scrollbars - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-spot-chat::-webkit-scrollbar-thumb {
  background: rgba(72, 120, 180, 0.3);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-spot-chat::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 157, 216, 0.5);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-panel::-webkit-scrollbar-thumb {
  background: rgba(72, 120, 180, 0.3);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 157, 216, 0.5);
}

/* Theme Toggle - Light Mode */
.bb-nav-root.bb-nav-light-mode .bb-nav-quick-link.bb-nav-theme-toggle-link .dashicons {
  color: #3b9dd8;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-quick-link.bb-nav-theme-toggle-link:hover .dashicons {
  filter: drop-shadow(0 0 4px #3b9dd8);
}

/* PTP Record Display */
.bb-nav-ptp-record {
  background: rgba(4, 10, 20, 0.6);
  border: 1px solid rgba(120, 212, 255, 0.2);
  border-radius: 8px;
  padding: 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #8ef1ff;
  max-height: 600px;
  overflow: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.bb-nav-modal-wide {
  max-width: 900px;
  width: 90%;
}

/* Light Mode PTP Record */
.bb-nav-root.bb-nav-light-mode .bb-nav-ptp-record {
  background: rgba(240, 248, 255, 0.8);
  border: 1px solid rgba(59, 157, 216, 0.3);
  color: #2c3e50;
}

/* Persona Modal Override */
.bb-nav-persona-modal-overlay {
  z-index: 999999 !important;
  position: fixed !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Light Mode Panel Header */
.bb-nav-root.bb-nav-light-mode .bb-nav-account-link-header {
  color: #6b8ba8;
  border-color: rgba(59, 157, 216, 0.25);
  background: rgba(240, 248, 255, 0.5);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-account-link-header:hover {
  color: #2a7ab8;
  border-color: rgba(59, 157, 216, 0.5);
  background: rgba(59, 157, 216, 0.12);
}

/* Pro Training Upsell Modal */
.bb-nav-pro-upsell-content {
  padding: 20px 0;
}

.bb-nav-pro-feature-list h3 {
  color: #55d2ff;
  margin-bottom: 16px;
  font-size: 18px;
}

.bb-nav-pro-feature-list ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.bb-nav-pro-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(85, 210, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.bb-nav-pro-feature-list li .dashicons {
  color: #00a32a;
  font-size: 20px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.bb-nav-pro-pricing {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
  border: 1px solid rgba(85, 210, 255, 0.3);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  text-align: center;
}

.bb-nav-price-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bb-nav-price-amount {
  font-size: 42px;
  font-weight: 700;
  color: #55d2ff;
  line-height: 1;
}

.bb-nav-price-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bb-nav-pro-upsell-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Locked Tab State */
.bb-nav-persona-tab.bb-nav-tab-locked {
  cursor: not-allowed;
  opacity: 0.6;
}

.bb-nav-persona-tab.bb-nav-tab-locked:hover {
  transform: none;
}

.bb-nav-pro-locked-message {
  text-align: center;
  padding: 60px 40px;
  background: rgba(20, 30, 50, 0.3);
  border: 2px dashed rgba(85, 210, 255, 0.2);
  border-radius: 12px;
}

.bb-nav-pro-locked-message .dashicons {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.bb-nav-pro-locked-message p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin: 20px 0 30px 0;
  line-height: 1.6;
}

.bb-nav-pro-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Payment Required Notice */
.bb-nav-payment-required-notice {
  text-align: center;
  padding: 60px 40px;
  max-width: 600px;
  margin: 40px auto;
}

.bb-nav-notice-icon {
  margin-bottom: 24px;
}

.bb-nav-notice-icon .dashicons {
  font-size: 64px;
  color: #dba617;
  width: 64px;
  height: 64px;
}

.bb-nav-payment-required-notice h3 {
  font-size: 24px;
  color: #55d2ff;
  margin: 0 0 16px 0;
}

.bb-nav-payment-required-notice p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.bb-nav-payment-amount {
  background: rgba(20, 30, 50, 0.6);
  border: 2px solid rgba(85, 210, 255, 0.3);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.bb-nav-amount-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bb-nav-amount-value {
  font-size: 32px;
  font-weight: 700;
  color: #55d2ff;
}

.bb-nav-payment-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

/* Ready to Publish */
.bb-nav-ready-to-publish {
  text-align: center;
  padding: 60px 40px;
  max-width: 600px;
  margin: 40px auto;
}

.bb-nav-publish-icon {
  margin-bottom: 24px;
}

.bb-nav-publish-icon .dashicons {
  font-size: 80px;
  color: #00a32a;
  width: 80px;
  height: 80px;
  background: rgba(0, 163, 42, 0.1);
  border-radius: 50%;
  padding: 20px;
}

.bb-nav-ready-to-publish h3 {
  font-size: 28px;
  color: #55d2ff;
  margin: 0 0 24px 0;
}

.bb-nav-persona-name-display {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 24px 0;
  padding: 20px;
  background: rgba(20, 30, 50, 0.4);
  border-left: 4px solid #55d2ff;
  border-radius: 8px;
}

.bb-nav-persona-name-display strong {
  color: #55d2ff;
  font-weight: 600;
}

.bb-nav-publish-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 24px 0;
  line-height: 1.6;
}

.bb-nav-publish-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

/* Persona Avatar Upload */
.bb-nav-avatar-upload-field {
  margin-bottom: 24px;
}

.bb-nav-persona-avatar-container {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.bb-nav-persona-avatar-preview {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(20, 30, 50, 0.6);
  border: 2px solid rgba(85, 210, 255, 0.3);
}

.bb-nav-persona-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-nav-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.3);
}

.bb-nav-avatar-placeholder .dashicons {
  font-size: 48px;
  width: 48px;
  height: 48px;
}

.bb-nav-avatar-controls {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bb-nav-avatar-url-input {
  width: 100%;
}

.bb-nav-btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.bb-nav-btn-sm .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

/* Crop Modal */
.bb-nav-crop-container {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.bb-nav-crop-container img {
  display: block;
  margin: 0 auto;
}

/* Light Mode Support */
.bb-nav-root.bb-nav-light-mode .bb-nav-persona-avatar-preview {
  background: rgba(240, 248, 255, 0.8);
  border-color: rgba(59, 157, 216, 0.3);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-avatar-placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.bb-nav-root.bb-nav-light-mode .bb-nav-crop-container {
  background: rgba(0, 0, 0, 0.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .bb-nav-persona-avatar-container {
    flex-direction: column;
  }
  
  .bb-nav-persona-avatar-preview {
    width: 100px;
    height: 100px;
  }
}

/* Multiple badges container */
.bb-nav-card-badges {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 6px;
}

.bb-nav-card-badges .bb-nav-card-badge {
    position: static;
}

.bb-nav-card-badge.bb-nav-badge-blue {
    background: #1a73e8;
    color: white;
}

.bb-nav-card-badge.bb-nav-badge-green {
    background: #00a32a;
    color: white;
}

.bb-nav-card-badge.bb-nav-badge-blue:hover,
.bb-nav-card-badge.bb-nav-badge-green:hover {
    transform: scale(1.05);
}

/* Avatar upload message */
.bb-nav-avatar-uploaded-msg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(0, 163, 42, 0.1);
    border: 1px solid rgba(0, 163, 42, 0.3);
    border-radius: 4px;
    color: #00a32a;
    font-size: 13px;
    margin-top: 8px;
}

.bb-nav-avatar-uploaded-msg .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* PTP Template Download Section */
.bb-nav-ptp-template-download {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 16px;
    background: rgba(20, 30, 50, 0.4);
    border: 1px solid rgba(85, 210, 255, 0.2);
    border-radius: 8px;
}

.bb-nav-help-icon {
    position: relative;
    display: inline-flex;
    cursor: help;
}

.bb-nav-help-icon .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.bb-nav-help-icon:hover .dashicons {
    color: #55d2ff;
}

.bb-nav-help-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(10, 18, 32, 0.98);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    white-space: normal;
    max-width: 300px;
    width: max-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(85, 210, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10000;
}

.bb-nav-help-icon:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-12px);
}

/* Light mode tooltip */
.bb-nav-root.bb-nav-light-mode .bb-nav-help-icon::after {
    background: rgba(255, 255, 255, 0.98);
    color: #2c3e50;
    border-color: rgba(72, 120, 180, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* PTP Record Display */
.bb-nav-ptp-record {
    background: rgba(4, 10, 20, 0.8);
    border: 1px solid rgba(85, 210, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    max-height: 600px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-ptp-record {
    background: #f5f9fc;
    border-color: rgba(72, 120, 180, 0.3);
    color: #2c3e50;
}

/* ========================================
   PERSONA PREVIEW STYLES
   ======================================== */

/* Preview Banner */
.bb-nav-preview-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bb-nav-preview-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.bb-nav-preview-label {
    opacity: 0.9;
    font-weight: 400;
    white-space: nowrap;
}

.bb-nav-preview-info strong {
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
}

.bb-nav-preview-count {
    opacity: 0.85;
    font-size: 13px;
    white-space: nowrap;
}

#bb-nav-return-to-spot {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    font-size: 13px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

#bb-nav-return-to-spot:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

#bb-nav-return-to-spot .dashicons {
    font-size: 16px;
    margin-right: 4px;
}

/* Try Button Styling */
.bb-nav-try-btn {
    margin-top: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

.bb-nav-try-btn:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8a 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}



/* Marketplace "Try" should read like a link (not a button) */
.bb-nav-marketplace-card .bb-nav-try-btn{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 10px;
  color: var(--bb-nav-primary-light) !important;
  font-weight: 700;
  text-decoration: underline;
}
.bb-nav-marketplace-card .bb-nav-try-btn:hover{
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
  text-decoration: none;
}
.bb-nav-try-btn .dashicons {
    color: #ffffff;
}

/* Persona Switch Modal */
#bb-nav-persona-switch-modal .bb-nav-modal {
    max-width: 450px;
}

#bb-nav-persona-switch-modal .bb-nav-modal-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

#bb-nav-persona-switch-modal .bb-nav-modal-header .dashicons {
    color: #667eea;
    font-size: 28px;
    width: 28px;
    height: 28px;
}

#bb-nav-persona-switch-modal .bb-nav-modal-body p {
    margin-bottom: 12px;
    line-height: 1.6;
}

#bb-nav-persona-switch-modal .bb-nav-text-muted {
    font-size: 13px;
    opacity: 0.7;
    font-style: italic;
}

#bb-nav-persona-switch-modal .bb-nav-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.bb-nav-modal-sm {
    max-width: 500px;
}

/* Light Mode Adjustments */
.bb-nav-root.bb-nav-light-mode .bb-nav-preview-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.bb-nav-root.bb-nav-light-mode #bb-nav-return-to-spot {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.bb-nav-root.bb-nav-light-mode #bb-nav-return-to-spot:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Marketplace Edit Button */
.bb-nav-marketplace-edit-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(85, 210, 255, 0.1);
  border: 1px solid rgba(85, 210, 255, 0.3);
  color: #55d2ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.bb-nav-marketplace-edit-btn:hover {
  background: rgba(85, 210, 255, 0.2);
  border-color: rgba(85, 210, 255, 0.5);
  transform: scale(1.05);
}

.bb-nav-marketplace-edit-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.bb-nav-marketplace-card {
  position: relative;
}

/* Category Filter Styling */
#bb-nav-category-filter {
  font-weight: 500;
}

#bb-nav-category-filter option {
  padding: 8px;
}

/* Marketplace Grid Adjustments */
.bb-nav-marketplace-grid {
  margin-top: 24px;
}

.bb-nav-marketplace-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.bb-nav-marketplace-filters select {
  flex: 0 1 auto;
  min-width: 250px;
  max-width: 300px;
}

.bb-nav-marketplace-filters .bb-nav-filter-input {
  flex: 1 1 300px;
  min-width: 250px;
  max-width: 400px;
}

/* Tier Filter Styles */
.bb-nav-tier-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--bb-nav-border);
}

.bb-nav-tier-filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(85, 210, 255, 0.08);
  border: 1px solid rgba(123, 228, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.bb-nav-tier-filter-item:hover {
  background: rgba(85, 210, 255, 0.12);
  border-color: rgba(123, 228, 255, 0.4);
}

.bb-nav-tier-filter-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--bb-nav-primary);
}

.bb-nav-tier-filter-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--bb-nav-text-dim);
  cursor: pointer;
  transition: color 0.2s ease;
}

.bb-nav-tier-filter-checkbox:checked + .bb-nav-tier-filter-label {
  color: var(--bb-nav-primary-light);
  font-weight: 600;
}

.bb-nav-tier-filter-item:has(.bb-nav-tier-filter-checkbox:checked) {
  background: rgba(85, 210, 255, 0.15);
  border-color: var(--bb-nav-primary);
  box-shadow: 0 0 8px rgba(85, 210, 255, 0.2);
}

/* Checkbox Group Styling */
.bb-nav-checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.bb-nav-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.bb-nav-checkbox-label:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(85, 210, 255, 0.3);
}

.bb-nav-checkbox-label input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
}

.bb-nav-checkbox-label input[type="checkbox"]:checked + span {
  color: #55d2ff;
  font-weight: 500;
}

.bb-nav-field-checkbox-group {
  margin-bottom: 20px;
}

/* Price Field Prefix Styling */
.bb-nav-field-prefix {
  display: inline-block;
  margin-right: 4px;
  font-weight: 500;
  color: #55d2ff;
}

.bb-nav-field-with-prefix {
  display: inline-block;
  width: calc(100% - 20px);
}

.bb-nav-field:has(.bb-nav-field-prefix) {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bb-nav-field:has(.bb-nav-field-prefix) .bb-nav-field-label {
  width: 100%;
  margin-bottom: 8px;
}

/* Marketplace Like Button */
.bb-nav-marketplace-like-btn {
  position: absolute;
  top: 8px;
  right: 48px; /* Position to left of edit button */
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  color: #ffc107;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.bb-nav-marketplace-like-btn:hover {
  background: rgba(255, 193, 7, 0.2);
  border-color: rgba(255, 193, 7, 0.5);
  transform: scale(1.05);
}

.bb-nav-marketplace-like-btn.bb-nav-liked {
  background: rgba(255, 193, 7, 0.3);
  border-color: #ffc107;
}

.bb-nav-marketplace-like-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

/* Adjust edit button position when like button exists */
.bb-nav-marketplace-card:has(.bb-nav-marketplace-like-btn) .bb-nav-marketplace-edit-btn {
  right: 88px; /* Move edit button further left */
}

/* ===================================================================
   PUBLIC PERSONA PROFILE STYLES
   =================================================================== */

/* Main container */
.bb-nav-persona-profile-public {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero section */
.bb-nav-profile-hero {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  color: white;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.bb-nav-profile-avatar-large {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
}

.bb-nav-profile-avatar-large img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.bb-nav-pro-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #333;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bb-nav-profile-name {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.bb-nav-profile-role {
  font-size: 18px;
  opacity: 0.95;
  margin: 0 0 20px;
  font-weight: 400;
}

.bb-nav-profile-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 15px 0 10px;
}

.bb-nav-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.bb-nav-badge-expert {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.bb-nav-profile-stats {
  display: inline-flex;
  gap: 20px;
  margin-top: 10px;
}

.bb-nav-profile-likes {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
}

.bb-nav-profile-likes .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

/* Profile sections */
.bb-nav-profile-section {
  margin-bottom: 40px;
  padding: 35px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.bb-nav-profile-section:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.bb-nav-profile-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #333;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 12px;
}

.bb-nav-profile-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #555;
}

.bb-nav-profile-description {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 0;
}

.bb-nav-profile-expertise {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.bb-nav-profile-expertise p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

/* Categories */
.bb-nav-profile-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.bb-nav-category-tag {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
}

.bb-nav-category-tag:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Action buttons */
.bb-nav-profile-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
  padding: 0 20px;
}

.bb-nav-btn-large {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.bb-nav-btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.bb-nav-btn-large .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
  margin-right: 6px;
}

/* Pricing section */
.bb-nav-profile-pricing {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bb-nav-pricing-type {
  font-size: 16px;
  color: #555;
  text-align: center;
  margin: 10px 0 5px;
  padding: 10px 20px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 8px;
  display: inline-block;
  width: auto;
}

.bb-nav-pricing-type strong {
  color: #667eea;
  font-weight: 600;
}

.bb-nav-pricing-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.bb-nav-pricing-tier {
  padding: 30px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  text-align: center;
  background: white;
  transition: all 0.3s ease;
  position: relative;
}

.bb-nav-pricing-tier:hover {
  border-color: #667eea;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
  transform: translateY(-4px);
}

.bb-nav-pricing-tier-featured {
  border-color: #667eea;
  border-width: 3px;
}

.bb-nav-pricing-tier-featured::before {
  content: "POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.bb-nav-pricing-tier h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 15px;
  color: #333;
}

.bb-nav-price {
  font-size: 42px;
  font-weight: 700;
  color: #667eea;
  margin: 15px 0;
  line-height: 1;
}

.bb-nav-pricing-tier p {
  font-size: 14px;
  color: #888;
  margin: 10px 0 0;
}

/* Author section */
.bb-nav-profile-author {
  background: linear-gradient(135deg, #fafbfc 0%, #f0f2f5 100%);
}

.bb-nav-author-card {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

.bb-nav-author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #667eea;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bb-nav-author-info h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #333;
}

.bb-nav-author-info p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Login Prompt Modal */
.bb-nav-login-prompt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bb-nav-login-prompt-modal {
  background: white;
  padding: 45px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.bb-nav-login-prompt-modal h2 {
  margin: 0 0 15px;
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

.bb-nav-login-prompt-modal p {
  font-size: 16px;
  color: #666;
  margin: 0 0 30px;
  line-height: 1.6;
}

.bb-nav-login-prompt-actions {
  display: flex;
  gap: 15px;
}

.bb-nav-login-prompt-actions a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Public profile auth modal tabs + body */
.bb-nav-auth-tabs {
  display: flex;
  gap: 8px;
  margin: 10px 0 18px;
}

.bb-nav-auth-tab {
  flex: 1;
  border: 1px solid rgba(0,0,0,0.12);
  background: #f5f6f7;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.bb-nav-auth-tab.bb-nav-auth-tab-active {
  background: #ffffff;
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.bb-nav-auth-body {
  max-height: 62vh;
  overflow: auto;
}

.bb-nav-auth-loading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bb-nav-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.bb-nav-modal-close:hover {
  color: #333;
  background: #f0f0f0;
}

.bb-nav-modal-close .dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
  .bb-nav-persona-profile-public {
    padding: 20px 10px;
  }
  
  .bb-nav-profile-hero {
    padding: 40px 20px;
  }
  
  .bb-nav-profile-name {
    font-size: 32px;
  }
  
  .bb-nav-profile-role {
    font-size: 16px;
  }
  
  .bb-nav-profile-section {
    padding: 25px 20px;
  }
  
  .bb-nav-profile-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .bb-nav-btn-large {
    width: 100%;
  }
  
  .bb-nav-pricing-tiers {
    grid-template-columns: 1fr;
  }
  
  .bb-nav-author-card {
    flex-direction: column;
    text-align: center;
  }
  
  .bb-nav-login-prompt-modal {
    padding: 35px 25px;
  }
  
  .bb-nav-login-prompt-actions {
    flex-direction: column;
  }
}

/* ============================================
   PERSONA ACTION PANEL STYLES
   ============================================ */

/* Action Panel Button (Superhero Icon) - Matches marketplace button style */

.bb-nav-profile-link-btn {
  position: absolute;
  top: 8px;
  right: 44px; /* sits left of the ⚡ Persona Action Panel button */
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(85, 210, 255, 0.08);
  border: 1px solid rgba(85, 210, 255, 0.25);
  color: #55d2ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.bb-nav-profile-link-btn:hover {
  background: rgba(85, 210, 255, 0.16);
  border-color: rgba(85, 210, 255, 0.45);
}

.bb-nav-pap-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(85, 210, 255, 0.1);
  border: 1px solid rgba(85, 210, 255, 0.3);
  color: #55d2ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.bb-nav-pap-btn:hover {
  background: rgba(85, 210, 255, 0.2);
  border-color: rgba(85, 210, 255, 0.5);
  transform: scale(1.05);
}

.bb-nav-pap-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}



.bb-nav-pap-btn .bb-nav-bolt-icon {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Adjust positioning when other marketplace buttons exist */
.bb-nav-marketplace-card:has(.bb-nav-marketplace-edit-btn) .bb-nav-pap-btn {
  right: 48px; /* Move left when edit button exists */
}

.bb-nav-marketplace-card:has(.bb-nav-marketplace-like-btn) .bb-nav-pap-btn {
  right: 88px; /* Move further left when like button exists */
}

/* Also adjust edit button when action panel exists in marketplace */
.bb-nav-marketplace-card:has(.bb-nav-pap-btn):has(.bb-nav-marketplace-like-btn) .bb-nav-marketplace-edit-btn {
  right: 128px; /* Move edit button to accommodate all three */
}

/* Persona Action Panel Header */
.bb-nav-pap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.bb-nav-pap-persona-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bb-nav-pap-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--bb-nav-border);
  flex-shrink: 0;
}

.bb-nav-pap-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-nav-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 24px;
  font-weight: bold;
}

/* Action Panel Grid */
.bb-nav-pap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* Action Panel Tiles */
.bb-nav-pap-tile {
  background: radial-gradient(circle at top left, rgba(85, 210, 255, 0.15), rgba(3, 10, 18, 0.95));
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid var(--bb-nav-border);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.bb-nav-pap-tile:not(.bb-nav-pap-tile-coming-soon):hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border-color: var(--bb-nav-border-hover);
}

.bb-nav-pap-tile-coming-soon {
  opacity: 0.6;
  cursor: not-allowed;
}

.bb-nav-pap-tile-icon {
  font-size: 36px;
  color: var(--bb-nav-primary);
  margin-bottom: 16px;
}

.bb-nav-pap-tile-icon .dashicons {
  width: 36px;
  height: 36px;
  font-size: 36px;
}

.bb-nav-pap-tile-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--bb-nav-text);
}

.bb-nav-pap-tile-desc {
  font-size: 14px;
  opacity: 0.9;
  color: var(--bb-nav-text-dim);
  margin: 0 0 auto;
  line-height: 1.5;
}

.bb-nav-pap-tile-status {
  margin-top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bb-nav-primary);
  color: var(--bb-nav-bg-dark);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  display: inline-block;
  align-self: flex-start;
}

.bb-nav-pap-tile-coming-soon .bb-nav-pap-tile-status {
  background: rgba(255, 255, 255, 0.2);
  color: var(--bb-nav-text-muted);
}

/* API Key Gate Overlay */
.bb-nav-pap-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 5, 9, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border-radius: var(--bb-nav-radius);
}

.bb-nav-pap-gate-card {
  background: rgba(6, 16, 30, 0.98);
  border: 1px solid var(--bb-nav-border);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.bb-nav-pap-gate-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(85, 210, 255, 0.2), rgba(142, 241, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bb-nav-border);
}

.bb-nav-pap-gate-icon .dashicons {
  font-size: 40px;
  width: 40px;
  height: 40px;
  color: var(--bb-nav-primary);
}

.bb-nav-pap-gate-card h2 {
  text-align: center;
  margin: 0 0 16px;
  font-size: 28px;
  color: var(--bb-nav-primary-light);
}

.bb-nav-pap-gate-card > p {
  text-align: center;
  color: var(--bb-nav-text-dim);
  margin: 0 0 24px;
  line-height: 1.6;
}

.bb-nav-pap-gate-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* Chat Container */
.bb-nav-pap-chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
  max-height: 800px;
}

.bb-nav-pap-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--bb-nav-border);
  flex-shrink: 0;
}

.bb-nav-pap-chat-persona {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bb-nav-pap-chat-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--bb-nav-border);
}

.bb-nav-pap-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-nav-pap-chat-persona h3 {
  margin: 0;
  font-size: 18px;
  color: var(--bb-nav-primary-light);
}

.bb-nav-pap-chat-persona p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--bb-nav-text-muted);
}

.bb-nav-pap-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bb-nav-pap-chat-input {
  display: flex;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid var(--bb-nav-border);
  flex-shrink: 0;
}

.bb-nav-pap-chat-input .bb-nav-input {
  flex: 1;
}

/* Developer API Panel */
.bb-nav-pap-dev-container {
  max-width: 900px;
}

.bb-nav-pap-dev-section {
  margin-bottom: 40px;
}

.bb-nav-pap-dev-section h3 {
  font-size: 22px;
  color: var(--bb-nav-primary-light);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bb-nav-border);
}

.bb-nav-api-key-row {
  display: flex;
  gap: 12px;
}

.bb-nav-api-key-row .bb-nav-field-input {
  flex: 1;
}

.bb-nav-code-example {
  background: rgba(3, 10, 18, 0.8);
  border: 1px solid var(--bb-nav-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  position: relative;
}

.bb-nav-code-example h4 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--bb-nav-primary);
}

.bb-nav-code-example pre {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  margin: 0 0 12px;
}

.bb-nav-code-example code {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--bb-nav-text);
  line-height: 1.6;
}

.bb-nav-copy-code-btn {
  margin-top: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .bb-nav-pap-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .bb-nav-pap-grid {
    grid-template-columns: 1fr;
  }
  
  .bb-nav-pap-gate-card {
    padding: 30px 20px;
  }
  
  .bb-nav-pap-gate-actions {
    flex-direction: column;
  }
  
  .bb-nav-pap-chat-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .bb-nav-api-key-row {
    flex-direction: column;
  }
  
  .bb-nav-code-example pre {
    font-size: 11px;
  }
}

/* Payment page pricing fixes - white text, no bullets */
.bb-nav-pricing-card {
  color: #fff !important;
}

.bb-nav-pricing-breakdown {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.bb-nav-pricing-breakdown span,
.bb-nav-pricing-breakdown div {
  color: #fff !important;
}

.bb-nav-pricing-amount {
  color: #fff !important;
}

.bb-nav-price-current {
  color: #fff !important;
}

.bb-nav-pricing-features {
  list-style: none !important;
  padding-left: 0 !important;
}

.bb-nav-pricing-features li {
  list-style: none !important;
  margin-bottom: 8px !important;
}

.bb-nav-pricing-features li .dashicons {
  margin-right: 8px;
  color: #4CAF50;
}

.bb-nav-premium-upsell {
  color: #333 !important;
}

.bb-nav-premium-upsell label,
.bb-nav-premium-upsell p,
.bb-nav-premium-upsell strong {
  color: #333 !important;
}

/* Premium Listing Badge */
.bb-nav-premium-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
  z-index: 10;
}

.bb-nav-premium-badge .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
}

.bb-nav-premium-listing {
  border: 2px solid #FFD700 !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2) !important;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-premium-badge {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000;
}

.bb-nav-root.bb-nav-light-mode .bb-nav-premium-listing {
  border: 2px solid #FFD700 !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.25) !important;
}

/* ============================================================================
   In-Content Authentication Page Styles
   ========================================================================= */

.bb-nav-auth-page {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bb-nav-auth-container {
  width: 100%;
  max-width: 500px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.bb-nav-auth-header {
  text-align: center;
  padding: 40px 40px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.bb-nav-auth-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.2;
}

.bb-nav-auth-subtitle {
  font-size: 15px;
  margin: 0;
  opacity: 0.95;
  font-weight: 400;
}

.bb-nav-auth-tabs {
  display: flex;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.bb-nav-auth-tab {
  flex: 1;
  padding: 16px 20px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.bb-nav-auth-tab:hover {
  background: #ebebeb;
  color: #333;
}

.bb-nav-auth-tab-active {
  background: white !important;
  color: #667eea !important;
  border-bottom: 3px solid #667eea;
}

.bb-nav-auth-body {
  padding: 30px 40px 40px;
  background: white;
  min-height: 300px;
}

.bb-nav-auth-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.bb-nav-auth-loading .bb-nav-spinner {
  margin-bottom: 20px;
}

.bb-nav-auth-fallback {
  text-align: center;
  padding: 20px 0;
}

.bb-nav-auth-fallback p {
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
}

.bb-nav-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bb-nav-auth-actions .bb-nav-btn {
  width: 100%;
  justify-content: center;
}

/* Override Member Manager styles when rendered in auth page */
.bb-nav-auth-body .bbmm-wrap {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.bb-nav-auth-body .bbmm-card {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
  margin: 0;
}

.bb-nav-auth-body .bbmm-title {
  display: none; /* Hide duplicate title */
}

.bb-nav-auth-body .bbmm-form {
  margin-top: 0;
}

.bb-nav-auth-body .bbmm-field {
  margin-bottom: 20px;
}

.bb-nav-auth-body .bbmm-field label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.bb-nav-auth-body .bbmm-field input[type="text"],
.bb-nav-auth-body .bbmm-field input[type="email"],
.bb-nav-auth-body .bbmm-field input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.bb-nav-auth-body .bbmm-field input:focus {
  border-color: #667eea;
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.bb-nav-auth-body .bbmm-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bb-nav-auth-body .bbmm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.bb-nav-auth-body .bbmm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.bb-nav-auth-body .bbmm-actions {
  margin-top: 20px;
}

.bb-nav-auth-body .bbmm-footnote {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.bb-nav-auth-body .bbmm-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.bb-nav-auth-body .bbmm-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

.bb-nav-auth-body .bbmm-alert {
  background: #fee;
  color: #c33;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  border-left: 4px solid #c33;
}

.bb-nav-auth-body .bbmm-success {
  background: #efe;
  color: #3c3;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  border-left: 4px solid #3c3;
}

/* Responsive design for auth page */
@media (max-width: 768px) {
  .bb-nav-auth-page {
    padding: 20px 10px;
  }
  
  .bb-nav-auth-container {
    max-width: 100%;
  }
  
  .bb-nav-auth-header {
    padding: 30px 20px 20px;
  }
  
  .bb-nav-auth-header h1 {
    font-size: 24px;
  }
  
  .bb-nav-auth-subtitle {
    font-size: 14px;
  }
  
  .bb-nav-auth-body {
    padding: 20px;
  }
  
  .bb-nav-auth-tab {
    padding: 14px 16px;
    font-size: 14px;
  }
}

/* ============================================================================
   Auth Options Page (Three Options: Login, Signup, More Info)
   ========================================================================= */

.bb-nav-auth-options-page {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bb-nav-auth-options-container {
  width: 100%;
  max-width: 1000px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.bb-nav-auth-options-header {
  text-align: center;
  padding: 40px 40px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.bb-nav-auth-options-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 15px;
  line-height: 1.2;
}

.bb-nav-auth-purchase-details {
  margin: 15px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: inline-block;
}

.bb-nav-auth-price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
}

.bb-nav-auth-model {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 500;
}

.bb-nav-auth-subtitle {
  font-size: 16px;
  margin: 15px 0 0;
  opacity: 0.95;
  font-weight: 400;
}

.bb-nav-auth-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px;
}

.bb-nav-auth-option-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.bb-nav-auth-option-card:hover {
  border-color: #667eea;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.bb-nav-auth-option-card.bb-nav-featured {
  border-color: #667eea;
  border-width: 3px;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.bb-nav-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.bb-nav-auth-option-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-nav-auth-option-icon .dashicons {
  font-size: 40px;
  width: 40px;
  height: 40px;
  color: white;
}

.bb-nav-auth-option-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 15px;
  color: #333;
}

.bb-nav-auth-option-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 25px;
  min-height: 40px;
}

.bb-nav-auth-option-btn {
  width: 100%;
  margin-top: 10px;
}

.bb-nav-auth-options-footer {
  text-align: center;
  padding: 20px 40px 40px;
  background: #f8f9fa;
}

.bb-nav-btn-text {
  background: transparent;
  color: #666;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.bb-nav-btn-text:hover {
  color: #667eea;
  background: transparent;
}

/* Auth Form Page */
.bb-nav-auth-form-page {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bb-nav-auth-form-container {
  width: 100%;
  max-width: 500px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.bb-nav-auth-form-header {
  text-align: center;
  padding: 40px 40px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.bb-nav-auth-form-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 15px;
  line-height: 1.2;
}

.bb-nav-auth-form-body {
  padding: 40px;
  min-height: 300px;
}

.bb-nav-auth-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.bb-nav-auth-loading .bb-nav-spinner {
  margin-bottom: 20px;
}

.bb-nav-auth-fallback {
  text-align: center;
  padding: 40px 20px;
}

.bb-nav-auth-fallback p {
  color: #666;
  margin-bottom: 25px;
  font-size: 15px;
}

.bb-nav-auth-form-footer {
  text-align: center;
  padding: 20px 40px 40px;
  background: #f8f9fa;
}

/* Override Member Manager styles in auth form */
.bb-nav-auth-form-body .bbmm-wrap {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.bb-nav-auth-form-body .bbmm-card {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
  margin: 0;
}

.bb-nav-auth-form-body .bbmm-title {
  display: none;
}

.bb-nav-auth-form-body .bbmm-form {
  margin-top: 0;
}

.bb-nav-auth-form-body .bbmm-field {
  margin-bottom: 20px;
}

.bb-nav-auth-form-body .bbmm-field label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.bb-nav-auth-form-body .bbmm-field input[type="text"],
.bb-nav-auth-form-body .bbmm-field input[type="email"],
.bb-nav-auth-form-body .bbmm-field input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.bb-nav-auth-form-body .bbmm-field input:focus {
  border-color: #667eea;
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.bb-nav-auth-form-body .bbmm-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bb-nav-auth-form-body .bbmm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Responsive for auth options */
@media (max-width: 992px) {
  .bb-nav-auth-options-grid {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
  
  .bb-nav-auth-option-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .bb-nav-auth-options-page,
  .bb-nav-auth-form-page {
    padding: 20px 10px;
  }
  
  .bb-nav-auth-options-header,
  .bb-nav-auth-form-header {
    padding: 30px 20px 20px;
  }
  
  .bb-nav-auth-options-header h1,
  .bb-nav-auth-form-header h1 {
    font-size: 24px;
  }
  
  .bb-nav-auth-price {
    font-size: 28px;
  }
  
  .bb-nav-auth-form-body {
    padding: 30px 20px;
  }
}

/* ============================================================================
   In-Content Purchase Page Styles
   ========================================================================= */

.bb-nav-purchase-page {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bb-nav-purchase-container {
  width: 100%;
  max-width: 600px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.bb-nav-purchase-header {
  text-align: center;
  padding: 40px 40px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.bb-nav-purchase-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.2;
}

.bb-nav-purchase-subtitle {
  font-size: 15px;
  margin: 0;
  opacity: 0.95;
  font-weight: 400;
}

.bb-nav-pricing-simple {
  padding: 40px;
  text-align: center;
}

.bb-nav-price-display {
  margin-bottom: 30px;
}

.bb-nav-price-large {
  font-size: 48px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 10px;
}

.bb-nav-price-model {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

.bb-nav-purchase-footer {
  text-align: center;
  padding: 20px 40px 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .bb-nav-purchase-page {
    padding: 20px 10px;
  }
  
  .bb-nav-purchase-container {
    max-width: 100%;
  }
  
  .bb-nav-purchase-header {
    padding: 30px 20px 20px;
  }
  
  .bb-nav-purchase-header h1 {
    font-size: 24px;
  }
  
  .bb-nav-pricing-simple {
    padding: 30px 20px;
  }
  
  .bb-nav-price-large {
    font-size: 38px;
  }
}


/* ============================================================================
   ENHANCED PUBLIC PERSONA PROFILE - v2.27.0
   ========================================================================= */

/* Value Highlight (Top Selling Point) */
.bb-nav-value-highlight {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  padding: 25px 35px;
  margin: 30px 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4); }
  50% { box-shadow: 0 10px 40px rgba(255, 215, 0, 0.6); }
}

.bb-nav-value-icon {
  font-size: 52px;
  color: #000;
  flex-shrink: 0;
}

.bb-nav-value-icon .dashicons {
  width: 52px;
  height: 52px;
  font-size: 52px;
}

.bb-nav-value-text strong {
  display: block;
  font-size: 22px;
  color: #000;
  margin-bottom: 8px;
  font-weight: 700;
}

.bb-nav-value-text p {
  margin: 0;
  color: #222;
  font-size: 16px;
  line-height: 1.4;
}

/* Enhanced Expert Training Badge */
.bb-nav-badge-expert {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  color: #000 !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  font-size: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5) !important;
  border-radius: 30px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.bb-nav-badge-expert .dashicons {
  color: #000;
  font-size: 20px;
  width: 20px;
  height: 20px;
}

/* Profile Section Headers with Icons */
.bb-nav-profile-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.bb-nav-profile-section h2 .dashicons {
  color: #667eea;
  font-size: 28px;
  width: 28px;
  height: 28px;
}

/* Detail Boxes */
.bb-nav-profile-detail-box {
  background: #f8f9ff;
  border-left: 4px solid #667eea;
  padding: 20px;
  margin: 15px 0;
  border-radius: 8px;
}

.bb-nav-profile-detail-box h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #667eea;
}

.bb-nav-profile-detail-box h3 .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.bb-nav-profile-detail-box p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* Categories with Icons */
.bb-nav-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #667eea;
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin: 0 8px 8px 0;
}

.bb-nav-category-tag .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

/* Enhanced Pricing & Value Box */
.bb-nav-pricing-value-box {
  background: white;
  border: 3px solid #667eea;
  border-radius: 20px;
  padding: 45px;
  margin: 40px 0;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
  position: relative;
  overflow: hidden;
}

.bb-nav-pricing-value-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.bb-nav-pricing-value-box.bb-nav-pricing-free {
  border-color: #10b981;
}

.bb-nav-pricing-value-box.bb-nav-pricing-free::before {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.bb-nav-pricing-header {
  text-align: center;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 3px solid #f0f0f0;
}

.bb-nav-pricing-header h2 {
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.bb-nav-pricing-header .dashicons {
  color: #667eea;
  font-size: 38px;
  width: 38px;
  height: 38px;
}

.bb-nav-pricing-free .bb-nav-pricing-header .dashicons {
  color: #10b981;
}

.bb-nav-pricing-subtitle {
  font-size: 17px;
  color: #666;
  margin: 0;
  font-weight: 500;
}

/* Value Points */
.bb-nav-value-points {
  margin: 35px 0;
  display: grid;
  gap: 14px;
}

.bb-nav-value-point {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #f8f9ff;
  border-radius: 10px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.bb-nav-value-point:hover {
  background: #eef1ff;
  transform: translateX(8px);
  border-left-color: #667eea;
}

.bb-nav-value-point .dashicons {
  color: #10b981;
  font-size: 26px;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.bb-nav-value-point span:last-child {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

.bb-nav-value-point strong {
  color: #222;
  font-weight: 700;
}

.bb-nav-value-point-featured {
  background: linear-gradient(135deg, #FFF9E6 0%, #FFE4B5 100%);
  border-left: 5px solid #FFD700;
}

.bb-nav-value-point-featured .dashicons {
  color: #FFA500;
}

/* Enhanced Pricing Tiers */
.bb-nav-pricing-tiers-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 35px 0;
}

.bb-nav-pricing-tier-card {
  background: white;
  border: 3px solid #e0e0e0;
  border-radius: 16px;
  padding: 35px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.bb-nav-pricing-tier-card:hover {
  border-color: #667eea;
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
}

.bb-nav-tier-featured {
  border-color: #667eea !important;
  border-width: 4px !important;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  transform: scale(1.05);
}

.bb-nav-tier-featured:hover {
  transform: translateY(-8px) scale(1.05);
}

.bb-nav-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.bb-nav-tier-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #333;
}

.bb-nav-tier-desc {
  font-size: 15px;
  color: #666;
  margin: 0 0 25px;
}

.bb-nav-tier-price {
  margin: 25px 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.bb-nav-price-symbol {
  font-size: 28px;
  font-weight: 700;
  color: #667eea;
  margin-top: 8px;
}

.bb-nav-price-amount {
  font-size: 56px;
  font-weight: 700;
  color: #333;
  line-height: 1;
}

.bb-nav-price-period {
  font-size: 18px;
  color: #666;
  margin-top: 35px;
  font-weight: 600;
}

.bb-nav-tier-features {
  text-align: left;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 2px solid #f0f0f0;
}

.bb-nav-tier-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: #555;
}

.bb-nav-tier-feature .dashicons {
  color: #10b981;
  font-size: 20px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Payment Details */
.bb-nav-payment-details {
  display: grid;
  gap: 14px;
  margin: 35px 0;
  padding: 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 2px solid #e0e0e0;
}

.bb-nav-payment-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.bb-nav-payment-detail .dashicons {
  color: #667eea;
  font-size: 24px;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.bb-nav-payment-detail strong {
  color: #222;
  font-weight: 700;
}

/* Pricing Actions (Buttons) */
.bb-nav-pricing-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 35px 0;
}

.bb-nav-btn-xlarge {
  padding: 20px 45px !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
}

.bb-nav-pricing-actions .bb-nav-btn {
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
}

/* Guarantee */
.bb-nav-pricing-guarantee {
  text-align: center;
  margin-top: 30px;
  padding: 24px;
  background: #f0f8ff;
  border-radius: 12px;
  border-left: 5px solid #667eea;
}

.bb-nav-pricing-guarantee .dashicons {
  color: #667eea;
  font-size: 32px;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}

.bb-nav-pricing-guarantee p {
  margin: 0;
  color: #555;
  font-size: 16px;
}

.bb-nav-pricing-guarantee strong {
  color: #222;
  font-weight: 700;
}

/* Share Section */
.bb-nav-share-section {
  text-align: center;
  margin: 35px 0;
  padding: 30px 0;
  border-top: 2px solid #f0f0f0;
  border-bottom: 2px solid #f0f0f0;
}

/* Use Cases Section */
.bb-nav-use-cases-section {
  background: white;
  border: 3px solid #e0e0e0;
  border-radius: 16px;
  padding: 35px;
  margin: 35px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.bb-nav-use-cases-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bb-nav-use-cases-section h2 .dashicons {
  color: #667eea;
  font-size: 32px;
  width: 32px;
  height: 32px;
}

.bb-nav-use-cases-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0 0 28px;
  text-align: center;
  font-style: italic;
}

.bb-nav-use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin: 25px 0;
}

.bb-nav-use-case-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 24px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
}

.bb-nav-use-case-badge:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 28px rgba(102, 126, 234, 0.4);
}

.bb-nav-use-case-badge .dashicons {
  font-size: 38px;
  width: 38px;
  height: 38px;
}

.bb-nav-use-case-badge span:last-child {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
}

/* Author Avatar Placeholder */
.bb-nav-author-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bb-nav-author-avatar-placeholder .dashicons {
  font-size: 40px;
  width: 40px;
  height: 40px;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .bb-nav-value-highlight {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
  }
  
  .bb-nav-pricing-value-box {
    padding: 30px 22px;
  }
  
  .bb-nav-pricing-header h2 {
    font-size: 28px;
  }
  
  .bb-nav-pricing-tiers-enhanced {
    grid-template-columns: 1fr;
  }
  
  .bb-nav-tier-featured {
    transform: scale(1);
  }
  
  .bb-nav-tier-featured:hover {
    transform: translateY(-8px) scale(1);
  }
  
  .bb-nav-use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bb-nav-btn-xlarge {
    padding: 18px 35px !important;
    font-size: 17px !important;
  }
}

@media (max-width: 480px) {
  .bb-nav-use-cases-grid {
    grid-template-columns: 1fr;
  }
  
  .bb-nav-value-icon {
    font-size: 42px;
  }
  
  .bb-nav-value-icon .dashicons {
    width: 42px;
    height: 42px;
    font-size: 42px;
  }
  
  .bb-nav-value-text strong {
    font-size: 19px;
  }
  
  .bb-nav-pricing-value-box {
    padding: 25px 18px;
  }
  
  .bb-nav-pricing-actions .bb-nav-btn {
    max-width: 100%;
  }
}


/* ============================================================================
   Unicode Icon Fixes for Cross-Browser Compatibility
   ========================================================================= */

.bb-nav-icon {
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  font-weight: bold;
  font-style: normal;
  font-family: Arial, sans-serif;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  text-align: center;
}

.bb-nav-icon-check {
  color: #10b981;
  font-size: 28px;
}

.bb-nav-icon-star {
  color: #FFA500;
  font-size: 26px;
}

/* Update value point styling for Unicode icons */
.bb-nav-value-point .bb-nav-icon {
  margin-right: 0;
}

/* Remove dashicon-specific styling if present */
.bb-nav-value-point .dashicons {
  display: none;
}


/* ============================================================================
   Emoji Icons - Universal Cross-Browser Support
   ========================================================================= */

.bb-nav-emoji {
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-size: 20px;
}

.bb-nav-emoji-large {
  font-size: 32px;
}

.bb-nav-emoji-xlarge {
  font-size: 40px;
}

/* Emoji in buttons */
.bb-nav-btn .bb-nav-emoji {
  margin-right: 8px;
  font-size: 18px;
}

.bb-nav-btn-xlarge .bb-nav-emoji {
  font-size: 20px;
}

/* Emoji in use case badges */
.bb-nav-use-case-badge .bb-nav-emoji {
  display: block;
  margin: 0 auto 8px;
}

/* Emoji in payment details */
.bb-nav-payment-detail .bb-nav-emoji {
  flex-shrink: 0;
  font-size: 24px;
}

/* Emoji in section headers */
.bb-nav-profile-section h2 .bb-nav-emoji,
.bb-nav-use-cases-section h2 .bb-nav-emoji {
  margin-right: 8px;
  font-size: 26px;
}

/* Author placeholder emoji */
.bb-nav-author-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bb-nav-author-avatar-placeholder .bb-nav-emoji {
  color: white;
}

/* Guarantee emoji */
.bb-nav-pricing-guarantee .bb-nav-emoji {
  display: block;
  margin: 0 auto 12px;
  font-size: 32px;
}

/* ==========================================================
   Logged-out Navigator landing (replaces plain login notice)
   ========================================================== */
.bb-nav-loggedout-landing{position:relative;min-height:72vh;display:flex;align-items:center;justify-content:center;padding:36px 16px;background:radial-gradient(1200px 800px at 15% 20%,rgba(85,210,255,0.12),transparent 60%),radial-gradient(900px 600px at 85% 30%,rgba(65,252,246,0.10),transparent 55%),#02050b;overflow:hidden;border-radius:24px;border:1px solid rgba(120,212,255,0.12)}
.bb-nav-loggedout-bg{position:absolute;inset:-2px;opacity:0.85;background:
  linear-gradient(rgba(85,210,255,0.12) 1px, transparent 1px),
  linear-gradient(90deg, rgba(85,210,255,0.12) 1px, transparent 1px);
  background-size:64px 64px;filter:blur(0.2px);mask-image:radial-gradient(circle at 50% 35%,rgba(0,0,0,1) 0%,rgba(0,0,0,0.92) 35%,rgba(0,0,0,0.55) 70%,rgba(0,0,0,0) 100%)}
.bb-nav-loggedout-bg:after{content:'';position:absolute;inset:0;background:radial-gradient(800px 520px at 50% 50%,rgba(255,255,255,0.07),transparent 65%);animation:bb-nav-gridGlow 6s ease-in-out infinite}
@keyframes bb-nav-gridGlow{0%,100%{opacity:0.35;transform:translateY(0)}50%{opacity:0.75;transform:translateY(-10px)}}

.bb-nav-loggedout-inner{position:relative;z-index:2;max-width:980px;width:100%}
.bb-nav-loggedout-card{background:linear-gradient(180deg,rgba(8,18,32,0.88),rgba(4,9,16,0.92));border:1px solid rgba(120,212,255,0.16);border-radius:28px;box-shadow:0 24px 80px rgba(0,0,0,0.55);backdrop-filter:blur(18px);padding:30px 28px}
.bb-nav-loggedout-top{display:flex;gap:28px;align-items:flex-start}

.bb-nav-loggedout-spot{position:relative;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle at 30% 28%,#8ef1ff 0%,#55d2ff 35%,#2bb6ff 75%);box-shadow:0 18px 55px rgba(85,210,255,0.45);flex:0 0 auto;animation:bb-nav-spotSpiral 1.1s cubic-bezier(.18,.85,.19,1.08) both, bb-nav-spotFloat 4.5s ease-in-out 1.2s infinite}
.bb-nav-loggedout-spot-glow{position:absolute;inset:-26px;border-radius:50%;background:radial-gradient(circle,rgba(85,210,255,0.35),transparent 65%);filter:blur(4px);opacity:0.95}
.bb-nav-loggedout-spot-eyes{position:absolute;top:42px;left:0;right:0;display:flex;justify-content:center;gap:22px;z-index:2}
.bb-nav-loggedout-spot-eyes span{width:12px;height:12px;border-radius:50%;background:#031018;box-shadow:0 0 0 3px rgba(255,255,255,0.06) inset;animation:bb-nav-spotBlink 5s infinite}
.bb-nav-loggedout-spot-mouth{position:absolute;top:64px;left:50%;transform:translateX(-50%);width:46px;height:24px;border:4px solid #031018;border-top:none;border-radius:0 0 46px 46px;z-index:2}
@keyframes bb-nav-spotSpiral{0%{opacity:0;transform:translate(-180px,-120px) rotate(-720deg) scale(0.15)}60%{opacity:1;transform:translate(18px,10px) rotate(36deg) scale(1.06)}100%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}}
@keyframes bb-nav-spotFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes bb-nav-spotBlink{0%,47%,50%,100%{transform:scaleY(1)}48.5%{transform:scaleY(0.15)}}

.bb-nav-loggedout-copy{flex:1;min-width:0}
.bb-nav-loggedout-badge{display:inline-flex;align-items:center;gap:10px;padding:7px 12px;border-radius:999px;background:rgba(85,210,255,0.10);border:1px solid rgba(120,212,255,0.18);color:rgba(235,246,255,0.92);font-size:12px;font-weight:700;letter-spacing:0.6px;text-transform:uppercase}
.bb-nav-loggedout-badge-dot{width:9px;height:9px;border-radius:50%;background:linear-gradient(180deg,#41fcf6,#55d2ff);box-shadow:0 0 0 6px rgba(65,252,246,0.10)}
.bb-nav-loggedout-headline{margin:12px 0 10px;font-size:34px;line-height:1.1;letter-spacing:-0.5px;color:#eef8ff}

.bb-nav-loggedout-quote{position:relative;margin-top:8px;padding:16px 18px 16px 18px;border-radius:20px;background:linear-gradient(135deg,rgba(85,210,255,0.11),rgba(65,252,246,0.06));border:1px solid rgba(123,228,255,0.18);overflow:hidden}
.bb-nav-loggedout-quote:before{content:'';position:absolute;inset:0;background:radial-gradient(600px 220px at 0% 0%,rgba(142,241,255,0.10),transparent 60%);opacity:0.85}
.bb-nav-loggedout-quote-mark{position:absolute;top:10px;left:12px;font-size:26px;color:rgba(142,241,255,0.85)}
.bb-nav-loggedout-quote-mark:last-child{left:auto;right:12px;top:auto;bottom:10px}
.bb-nav-loggedout-quote-text{position:relative;margin:0;padding:0 24px 0 24px;color:rgba(235,246,255,0.92);font-size:15px;line-height:1.65;min-height:52px}
.bb-nav-loggedout-quote-text.is-typing{border-right:2px solid rgba(142,241,255,0.75);padding-right:26px;animation:bb-nav-caret 0.9s steps(2,end) infinite}
@keyframes bb-nav-caret{0%,49%{border-color:rgba(142,241,255,0)}50%,100%{border-color:rgba(142,241,255,0.75)}}

.bb-nav-loggedout-bullets{margin:14px 0 0;padding:0 0 0 18px;color:rgba(207,238,255,0.88);display:grid;gap:8px}
.bb-nav-loggedout-bullets li{margin:0}
.bb-nav-loggedout-bullets li::marker{color:rgba(65,252,246,0.85)}

.bb-nav-loggedout-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.bb-nav-loggedout-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 16px;border-radius:16px;border:1px solid rgba(120,212,255,0.18);background:rgba(6,16,30,0.65);color:#eaf6ff;text-decoration:none;font-weight:800;font-size:13px;letter-spacing:0.2px;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,background .15s ease}
.bb-nav-loggedout-btn:hover{transform:translateY(-1px);border-color:rgba(143,236,255,0.75);box-shadow:0 12px 40px rgba(0,0,0,0.35);background:rgba(8,18,32,0.75)}
.bb-nav-loggedout-btn.primary{background:linear-gradient(135deg,rgba(85,210,255,0.96),rgba(65,252,246,0.86));border-color:rgba(85,210,255,0.35);color:#031018}

.bb-nav-loggedout-btn.primary.bb-nav-loggedout-btn-login{color:#061a3a !important}
.bb-nav-loggedout-btn.primary.bb-nav-loggedout-btn-login:hover{color:#041327 !important}
.bb-nav-loggedout-btn.primary:hover{box-shadow:0 16px 55px rgba(85,210,255,0.28)}
.bb-nav-loggedout-btn.ghost{background:transparent}

.bb-nav-loggedout-footer{margin-top:14px;font-size:12px;color:rgba(167,195,214,0.95)}
.bb-nav-loggedout-footer a{color:rgba(142,241,255,0.95);text-decoration:none}
.bb-nav-loggedout-footer a:hover{text-decoration:underline}
.bb-nav-loggedout-sep{margin:0 8px;color:rgba(143,173,191,0.85)}

@media (max-width:820px){
  .bb-nav-loggedout-card{padding:24px 20px}
  .bb-nav-loggedout-top{flex-direction:column;align-items:center;text-align:center}
  .bb-nav-loggedout-spot{width:108px;height:108px}
  .bb-nav-loggedout-headline{font-size:28px}
  .bb-nav-loggedout-quote-text{padding:0 18px}
  .bb-nav-loggedout-actions{justify-content:center}
}


/* ===================================
   PAP Section Scaffolding Styles
   =================================== */

.bb-nav-pap-section {
    margin-top: 10px;
}

.bb-nav-pap-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
}

.bb-nav-pap-section-title {
    font-size: 18px;
    font-weight: 700;
}

.bb-nav-pap-section-subtitle {
    opacity: 0.75;
    margin-top: 2px;
    font-size: 14px;
}

.bb-nav-pap-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.bb-nav-pap-left,
.bb-nav-pap-right {
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bb-nav-pap-results,
.bb-nav-pap-history {
    margin-bottom: 20px;
}

.bb-nav-pap-results:last-child,
.bb-nav-pap-history:last-child {
    margin-bottom: 0;
}

.bb-nav-pap-results-title,
.bb-nav-pap-history-title {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 15px;
}

.bb-nav-pap-results-body,
.bb-nav-pap-history-body {
    min-height: 60px;
}

.bb-nav-muted {
    opacity: 0.7;
    font-size: 14px;
}

.bb-nav-pap-result {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bb-nav-pap-result-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bb-nav-pap-result-status-complete {
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
}

.bb-nav-pap-result-status-queued {
    background: rgba(255, 193, 7, 0.2);
    color: #ffb74d;
}

.bb-nav-pap-result-status-error {
    background: rgba(244, 67, 54, 0.2);
    color: #e57373;
}

.bb-nav-pap-result-prompt {
    font-size: 14px;
    line-height: 1.5;
}

.bb-nav-pap-history-item {
    padding: 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 8px;
}

.bb-nav-pap-history-item:last-child {
    margin-bottom: 0;
}

.bb-nav-pap-history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.bb-nav-pap-history-status {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bb-nav-pap-history-status-complete {
    color: #81c784;
}

.bb-nav-pap-history-status-queued {
    color: #ffb74d;
}

.bb-nav-pap-history-status-error {
    color: #e57373;
}

.bb-nav-pap-history-time {
    font-size: 11px;
    opacity: 0.6;
}

.bb-nav-pap-history-prompt {
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.85;
}

.bb-nav-pap-history-item {
    position: relative;
}

.bb-nav-pap-history-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 10;
}

.bb-nav-pap-history-item:hover .bb-nav-pap-history-delete {
    opacity: 1;
}

.bb-nav-pap-history-delete:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
}

.bb-nav-pap-history-image-item {
    position: relative;
}

.bb-nav-pap-history-image-item .bb-nav-pap-history-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    opacity: 0;
}

.bb-nav-pap-history-image-item:hover .bb-nav-pap-history-delete {
    opacity: 1;
}

.bb-nav-pap-gate-card {
    max-width: 500px;
    margin: 40px auto;
    padding: 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.bb-nav-pap-gate-icon {
    margin-bottom: 16px;
}

.bb-nav-pap-gate-icon .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    opacity: 0.7;
}

.bb-nav-pap-gate-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
}

.bb-nav-pap-gate-card p {
    margin: 0 0 16px;
    line-height: 1.6;
    opacity: 0.85;
}

@media (max-width: 960px) {
    .bb-nav-pap-section-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Create Images Section Styles
   =================================== */

.bb-nav-field-group {
    margin-bottom: 16px;
}

.bb-nav-btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bb-nav-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
}

.bb-nav-btn-group .bb-nav-btn {
    flex: 0 0 auto;
    background: linear-gradient(135deg,rgba(255,255,255,0.04),rgba(255,255,255,0.02));
    border: 1.5px solid rgba(120,212,255,0.15);
    color: var(--bb-nav-text-dim);
    border-radius: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.bb-nav-btn-group .bb-nav-btn:hover {
    background: linear-gradient(135deg,rgba(85,210,255,0.08),rgba(85,210,255,0.05));
    border-color: rgba(85,210,255,0.3);
    color: var(--bb-nav-text);
    transform: translateY(-1px);
}

.bb-nav-btn-group .bb-nav-btn.active {
    background: linear-gradient(135deg,rgba(85,210,255,0.25),rgba(142,241,255,0.15));
    border-color: rgba(85,210,255,0.5);
    color: var(--bb-nav-primary-light);
    box-shadow: 0 4px 16px rgba(85,210,255,0.25);
    font-weight: 700;
}

.bb-nav-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right,rgba(85,210,255,0.15) 0%,rgba(85,210,255,0.25) 50%,rgba(85,210,255,0.15) 100%);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 12px 0;
}

.bb-nav-slider:hover {
    background: linear-gradient(to right,rgba(85,210,255,0.2) 0%,rgba(85,210,255,0.35) 50%,rgba(85,210,255,0.2) 100%);
}

.bb-nav-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--bb-nav-primary),var(--bb-nav-primary-light));
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(85,210,255,0.5),0 0 0 3px rgba(85,210,255,0.2);
    transition: all 0.2s ease;
}

.bb-nav-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 12px rgba(85,210,255,0.7),0 0 0 4px rgba(85,210,255,0.3);
}

.bb-nav-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--bb-nav-primary),var(--bb-nav-primary-light));
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(85,210,255,0.5),0 0 0 3px rgba(85,210,255,0.2);
    transition: all 0.2s ease;
}

.bb-nav-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 12px rgba(85,210,255,0.7),0 0 0 4px rgba(85,210,255,0.3);
}

.bb-nav-pap-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.bb-nav-pap-img-card {
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bb-nav-pap-img-card img {
    width: 100%;
    height: auto;
    display: block;
}

.bb-nav-pap-img-actions {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.bb-nav-pap-img-meta {
    font-size: 11px;
    opacity: 0.6;
}

.bb-nav-pap-result-meta {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

@media (max-width: 600px) {
    .bb-nav-pap-images-grid {
        grid-template-columns: 1fr;
    }
}

/* Voice Generation Styles */
.bb-nav-pap-voice-result {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
}

.bb-nav-pap-voice-result h3 {
    color: var(--bb-nav-primary-light);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.bb-nav-pap-audio-player {
    margin: 16px 0;
}

.bb-nav-pap-audio-player audio {
    width: 100%;
    border-radius: 8px;
    outline: none;
}

.bb-nav-pap-audio-meta {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    margin: 16px 0;
}

.bb-nav-pap-audio-meta p {
    margin: 4px 0;
    font-size: 13px;
    color: var(--bb-nav-text-dim);
}

.bb-nav-pap-audio-meta strong {
    color: var(--bb-nav-text);
    font-weight: 600;
}

.bb-nav-pap-audio-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

@media (max-width: 600px) {
    .bb-nav-pap-audio-actions {
        flex-direction: column;
    }
}

/* Voice Training UI Styles - v2.31.1 */
.bb-nav-voice-upload-zone {
    border: 2px dashed rgba(85,210,255,0.25);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    background: linear-gradient(135deg,rgba(8,16,30,0.6),rgba(10,20,35,0.5));
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 16px 0;
}
.bb-nav-voice-upload-zone:hover,
.bb-nav-voice-upload-zone.bb-nav-drag-over {
    border-style: solid;
    border-color: var(--bb-nav-primary);
    background: linear-gradient(135deg,rgba(85,210,255,0.08),rgba(85,210,255,0.05));
    box-shadow: 0 8px 32px rgba(85,210,255,0.15);
    transform: translateY(-2px);
}
.bb-nav-voice-upload-icon {
    font-size: 56px;
    color: var(--bb-nav-primary);
    margin-bottom: 16px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.bb-nav-voice-upload-zone:hover .bb-nav-voice-upload-icon {
    transform: scale(1.1);
}
.bb-nav-voice-upload-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--bb-nav-text);
    margin-bottom: 8px;
}
.bb-nav-voice-upload-hint {
    font-size: 13px;
    color: var(--bb-nav-text-muted);
    line-height: 1.6;
}
.bb-nav-voice-samples-list {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bb-nav-voice-sample-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(10,20,35,0.8);
    border: 1px solid rgba(120,212,255,0.15);
    border-radius: 10px;
    transition: all 0.2s ease;
}
.bb-nav-voice-sample-item:hover {
    border-color: rgba(120,212,255,0.3);
    background: rgba(12,24,40,0.9);
}
.bb-nav-voice-sample-icon {
    font-size: 20px;
    color: var(--bb-nav-primary);
    flex-shrink: 0;
}
.bb-nav-voice-sample-info {
    flex: 1;
    min-width: 0;
}
.bb-nav-voice-sample-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--bb-nav-text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bb-nav-voice-sample-size {
    font-size: 12px;
    color: var(--bb-nav-text-muted);
}
.bb-nav-voice-sample-remove {
    padding: 6px 10px;
    border: none;
    background: rgba(255,70,70,0.1);
    color: #ff6b6b;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.bb-nav-voice-sample-remove:hover {
    background: rgba(255,70,70,0.2);
    transform: scale(1.05);
}
.bb-nav-voice-training-progress {
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(135deg,rgba(85,210,255,0.08),rgba(85,210,255,0.05));
    border: 1px solid rgba(85,210,255,0.25);
    border-radius: 12px;
    text-align: center;
}
.bb-nav-voice-training-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(85,210,255,0.2);
    border-top-color: var(--bb-nav-primary);
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
    margin: 0 auto 16px;
}
.bb-nav-voice-training-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--bb-nav-text);
    margin-bottom: 6px;
}
.bb-nav-voice-training-hint {
    font-size: 13px;
    color: var(--bb-nav-text-muted);
}
.bb-nav-voice-training-success {
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(135deg,rgba(76,175,80,0.12),rgba(76,175,80,0.08));
    border: 1.5px solid rgba(76,175,80,0.4);
    border-radius: 12px;
    text-align: center;
}
.bb-nav-voice-success-icon {
    font-size: 48px;
    color: #4caf50;
    margin-bottom: 16px;
}
.bb-nav-voice-success-title {
    font-size: 18px;
    font-weight: 700;
    color: #81c784;
    margin-bottom: 8px;
}
.bb-nav-voice-success-text {
    font-size: 14px;
    color: var(--bb-nav-text-dim);
    margin-bottom: 20px;
    line-height: 1.6;
}
.bb-nav-voice-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Image History Thumbnails - v2.31.1 */
.bb-nav-pap-history-images {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
    gap: 12px;
    margin-top: 8px;
}
.bb-nav-pap-history-image-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(10,20,35,0.8);
    border: 1px solid rgba(120,212,255,0.15);
    transition: all 0.25s ease;
    cursor: pointer;
    aspect-ratio: 1;
}
.bb-nav-pap-history-image-item:hover {
    border-color: var(--bb-nav-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(85,210,255,0.25);
}
.bb-nav-pap-history-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bb-nav-pap-history-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(0,0,0,0.7) 0%,transparent 50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: flex-end;
    padding: 8px;
}
.bb-nav-pap-history-image-item:hover .bb-nav-pap-history-image-overlay {
    opacity: 1;
}
.bb-nav-pap-history-image-time {
    font-size: 10px;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

@media (max-width: 600px) {
    .bb-nav-voice-upload-zone {
        padding: 32px 20px;
    }
    .bb-nav-pap-history-images {
        grid-template-columns: repeat(auto-fill,minmax(100px,1fr));
        gap: 10px;
    }
    .bb-nav-voice-success-actions {
        flex-direction: column;
    }
}

/* Pulse animation for highlighting API key fields */
@keyframes bb-nav-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(85, 210, 255, 0);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(85, 210, 255, 0.3);
    }
}

/* ======================================
   PAP Facets Styles
   ====================================== */

/* Facet Headers (used in tile and author toolbar) */
.bb-pap-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
}

.bb-pap-hdr-green {
    background: rgba(0, 255, 160, 0.10);
    border: 1px solid rgba(0, 255, 160, 0.25);
}

.bb-pap-hdr-red {
    background: rgba(255, 80, 80, 0.10);
    border: 1px solid rgba(255, 80, 80, 0.25);
}

.bb-pap-hdr-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bb-pap-status-text {
    font-size: 11px;
    opacity: 0.7;
    font-weight: 500;
}

/* Tile header bar (inside tile) */
.bb-pap-tile-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 6px 6px 0 0;
    margin: -16px -16px 12px -16px;
    font-size: 13px;
    font-weight: 600;
}

.bb-pap-tile-hdr-neutral {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bb-pap-tile-hdr-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bb-pap-status-mini {
    font-size: 11px;
    opacity: 0.8;
    margin-left: 8px;
    font-weight: 500;
}

/* Status Pills */
.bb-pap-pill {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.bb-pap-pill-live {
    background: rgba(0, 255, 160, 0.18);
    border: 1px solid rgba(0, 255, 160, 0.35);
    color: rgba(0, 255, 160, 1);
}

/* Disabled tiles */
.bb-nav-pap-tile-disabled {
    opacity: 0.45;
    filter: grayscale(0.2);
    cursor: not-allowed;
}

.bb-nav-pap-tile-disabled .bb-nav-pap-tile-status {
    opacity: 0.9;
}

.bb-nav-pap-tile-disabled:hover {
    opacity: 0.55;
    transform: none;
    box-shadow: none;
}

/* Tile body (when header is present) */
.bb-nav-pap-tile-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Author Toolbar */
.bb-pap-author-toolbar {
    background: rgba(120, 212, 255, 0.05);
    border: 1px solid rgba(120, 212, 255, 0.15);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bb-pap-facet-status {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    flex-wrap: wrap;
}

.bb-pap-signal-info {
    font-size: 12px;
    opacity: 0.7;
    font-weight: 400;
    margin-left: 4px;
}

.bb-pap-toolbar-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.bb-pap-lock,
.bb-pap-live {
    white-space: nowrap;
}

.bb-pap-lock:disabled,
.bb-pap-live:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success button variant */
.bb-nav-btn-success {
    background: rgba(0, 255, 160, 0.15);
    border-color: rgba(0, 255, 160, 0.3);
    color: rgba(0, 255, 160, 1);
}

.bb-nav-btn-success:hover:not(:disabled) {
    background: rgba(0, 255, 160, 0.25);
    border-color: rgba(0, 255, 160, 0.4);
}

/* Feedback Buttons */
.bb-pap-feedback-buttons {
    display: flex;
    gap: 4px;
    margin-top: 8px;
    justify-content: center;
}

.bb-pap-feedback-btn {
    padding: 4px 8px;
    background: rgba(120, 212, 255, 0.08);
    border: 1px solid rgba(120, 212, 255, 0.15);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--bb-nav-text);
    font-size: 14px;
}

.bb-pap-feedback-btn:hover {
    background: rgba(120, 212, 255, 0.15);
    border-color: rgba(120, 212, 255, 0.25);
}

.bb-pap-feedback-btn.active {
    background: rgba(0, 255, 160, 0.15);
    border-color: rgba(0, 255, 160, 0.3);
    color: rgba(0, 255, 160, 1);
}

.bb-pap-feedback-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Spin animation for loading states */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .bb-pap-author-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .bb-pap-toolbar-actions {
        width: 100%;
    }
    
    .bb-pap-lock,
    .bb-pap-live {
        flex: 1;
    }
}
