.bc-audit {
    --bg: #0f0f23;
    --fg: #ffffff;
    --muted: #d1d5db;
    --border: #2d2d44;
    --ok: #06ffa5;
    --bad: #ff6b9d;
    --primary: #8b5cf6;
    --secondary: #a855f7;
    --accent: #06ffa5;
    --terminal-green: #00ff88;
    --card-bg: #1a1a2e;
    --hover-bg: #2d2d44;
    font: 14px/1.5 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
    max-width: 900px;
    margin: 0 auto;
}

.bc-theme-dark {
    --bg: #0b0f14;
    --fg: #e5e7eb;
    --muted: #d1d5db;
    --border: #1f2937;
    --card-bg: #1a1a2e;
    --hover-bg: #2d2d44;
}

.bc-audit {
    background: linear-gradient(135deg, var(--bg) 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--fg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 25px 50px -12px rgba(139, 92, 246, 0.25),
        0 25px 25px -5px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.bc-audit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

/* Terminal Header */
.bc-terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    margin: -13px -15px 24px -15px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border);
    border-radius: 24px 24px 0 0;
}

.bc-terminal-controls {
    display: flex;
    gap: 8px;
}

.bc-terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.bc-terminal-dot--close {
    background: #ff5f57;
}

.bc-terminal-dot--minimize {
    background: #ffbd2e;
}

.bc-terminal-dot--maximize {
    background: #28ca42;
}

.bc-terminal-title {
    font-family: inherit;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

/* Product Information Section */
.bc-product-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.bc-product-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    pointer-events: none;
}

.bc-product-info h3 {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    letter-spacing: -0.025em;
}

.bc-product-info > p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--fg);
    margin: 0 0 20px 0;
    text-align: center;
}

.bc-features {
    display: grid;
    gap: 16px;
    margin: 20px 0;
}

.bc-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.bc-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    border-color: var(--primary);
}

.bc-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.bc-feature strong {
    display: block;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 4px;
    font-size: 14px;
}

.bc-feature {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.bc-cta {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    text-align: center;
    margin: 20px 0 0 0 !important;
    padding: 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    border: 1px dashed var(--primary);
}

.bc-audit__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding: 24px;
    background: rgba(16, 16, 35, 0.8);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.bc-audit__form > div:first-child {
    display: flex;
    gap: 12px;
}

.bc-form-buttons {
    display: flex;
    gap: 8px;
    align-items: stretch;
    flex-wrap: wrap;
}

.bc-options {
    margin-top: 8px;
}

.bc-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--muted);
    user-select: none;
}

.bc-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.bc-checkbox__label {
    cursor: pointer;
    transition: color 0.2s ease;
}

.bc-checkbox:hover .bc-checkbox__label {
    color: var(--fg);
}

.bc-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    color: var(--fg);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.bc-input::placeholder {
    color: var(--muted);
    font-style: italic;
}

.bc-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

.bc-btn {
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.bc-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.bc-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.bc-btn:hover:not(:disabled)::before {
    left: 100%;
}

.bc-btn-debug {
    background: linear-gradient(135deg, var(--accent) 0%, #00d4aa 100%);
    color: #0f0f23;
    font-size: 14px;
    padding: 12px 24px;
    min-width: auto;
    flex-shrink: 0;
    font-weight: 600;
}

.bc-btn-debug:hover:not(:disabled) {
    background: linear-gradient(135deg, #00ff88 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 255, 165, 0.4);
}

.bc-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.bc-btn--ghost {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--border);
}

.bc-btn--ghost:hover {
    background: var(--border);
}

.bc-steps {
    margin: 24px 0;
    display: grid;
    gap: 2px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.bc-step {
    padding: 0 20px 0 20px;
    padding-right: 48px;
    border: none;
    border-radius: 6px;
    color: var(--terminal-green);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    max-height: 0;
    margin: 0;
    background: transparent;
}

.bc-step.visible {
    opacity: 1;
    transform: translateY(0);
    max-height: 60px;
    padding: 12px 20px 12px 40px;
    padding-right: 48px;
    margin: 0;
}

.bc-step.visible::before {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-weight: bold;
    font-family: inherit;
}

/* Fallback step styling */
.bc-step-fallback {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    position: relative;
    padding: 12px 20px 12px 40px;
    padding-right: 48px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    min-height: 48px;
}

.bc-step-fallback.spinning::before {
    display: none;
}

.bc-step-fallback::before {
    content: '📊 ';
    color: #FFD23F;
}

.bc-step-fallback.spinning{
    margin-top: 10px;
}

.bc-step-fallback.spinning::after {
    content: '';
    position: absolute;
    right: 16px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #FFD23F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0;
    padding: 0;
}

.bc-step-fallback {
    animation: fallbackPulse 2s ease-in-out infinite;
}

@keyframes fallbackPulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    }
    50% {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }
}

/* Notification System */
.bc-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.bc-notification-error {
    border-left: 4px solid #F44336;
}

.bc-notification-success {
    border-left: 4px solid #4CAF50;
}

.bc-notification-info {
    border-left: 4px solid #2196F3;
}

.bc-notification-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
}

.bc-notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.bc-notification-message {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.bc-notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive notification styles */
@media (max-width: 640px) {
    .bc-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
        animation: slideInDown 0.3s ease-out;
    }
    
    @keyframes slideInDown {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

/* Ensure text content doesn't overlap with checkmark */
.bc-step {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 32px; /* Add left padding to make room for the dot */
}

.bc-step::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

/* Add text wrapper to prevent overlap */
.bc-step > span {
    flex: 1;
    padding-right: 32px; /* Space for the checkmark */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bc-step::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bc-step.done {
    border-style: solid;
    border-color: var(--ok);
    color: var(--fg);
    background: rgba(22, 163, 74, 0.05);
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.15);
}

.bc-step.done::before {
    background: var(--ok);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
    transform: translateY(-50%) scale(1.2);
}

/* Success animation for completed steps */
.bc-step.done::after {
    content: '✓';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ok);
    font-weight: bold;
    font-size: 16px;
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
}



@keyframes successPop {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0);
    }
    50% {
        transform: translateY(-50%) scale(1.2);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* Enhanced pulse animation for active steps */
.bc-step.active {
    animation: enhancedPulse 1.5s ease-in-out infinite;
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

@keyframes enhancedPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.01);
    }
}

/* Step completion cascade effect */
.bc-step.completing {
    animation: stepComplete 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes stepComplete {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
    }
    100% {
        transform: scale(1.02);
        box-shadow: 0 2px 8px rgba(22, 163, 74, 0.15);
    }
}

.bc-result {
    margin-top: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.bc-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    background: var(--bg);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
}

.bc-card h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--fg);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.bc-row:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.bc-row:last-child {
    border-bottom: none;
}

.bc-row span {
    font-weight: 500;
    color: var(--fg);
}

.bc-row strong {
    font-weight: 600;
}

.bc-row em {
    font-style: normal;
    color: var(--muted);
    font-size: 13px;
}

.bc-error {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--bad);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    font-size: 14px;
}

/* Loading animation */
.bc-step:not(.done) {
    animation: pulse 2s infinite;
}

/* Spinner animation */
.bc-step.spinning::after {
    content: '';
    position: absolute;
    right: 16px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}



/* Responsive design */
@media (max-width: 640px) {
    .bc-audit {
        padding: 16px;
        border-radius: 12px;
    }
    
    .bc-product-info {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .bc-product-info h3 {
        font-size: 18px;
    }
    
    .bc-features {
        gap: 12px;
    }
    
    .bc-feature {
        padding: 14px;
    }
    
    .bc-feature strong {
        font-size: 13px;
    }
    
    .bc-feature {
        font-size: 12px;
    }
    
    .bc-cta {
        font-size: 13px;
        padding: 14px;
    }
    
    .bc-audit__form > div:first-child {
        flex-direction: column;
        gap: 8px;
    }
    
    .bc-form-buttons {
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
    }
    
    .bc-form-buttons .bc-btn {
        flex: 1;
    }
    
    .bc-btn-debug {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .bc-btn {
        width: 100%;
    }
    
    .bc-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .bc-row strong {
        align-self: flex-end;
    }
    
    .bc-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .bc-buttons .bc-btn {
        width: 100%;
    }
    
    /* Preview responsive styling */
    .bc-preview-container {
        height: 298px;
    }
    
    .bc-preview-card {
        padding: 16px;
    }
    
    .bc-preview-link {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .bc-preview-url {
        font-size: 12px;
    }
    
    /* Keywords responsive styling */
    .bc-keyword-item {
        padding: 10px;
        font-size: 13px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .bc-keyword-number {
        min-width: 25px;
        font-size: 12px;
    }
    
    .bc-keyword-costs {
        align-items: flex-start;
        flex-direction: row;
        gap: 8px;
    }
    
    .bc-keyword-cpc,
    .bc-keyword-cpl {
        font-size: 10px;
    }
}

/* Success/Error states */
.bc-row strong:contains('✅') {
    color: var(--ok);
}

.bc-row strong:contains('❌') {
    color: var(--bad);
}

/* Warning row styling */
.bc-row.bc-warning {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}


/* Buttons container styling */
.bc-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.bc-buttons .bc-btn {
    flex: 1;
    justify-content: center;
}

/* Copy button styling */
#bc-copy {
    margin-top: 0;
    width: auto;
}

/* Website preview styling */
.bc-preview-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    background: var(--bg);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
}

.bc-preview-card h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--fg);
}

.bc-preview-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #f8f9fa;
    height: 600px;
    margin-bottom: 12px;
}

.bc-preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: white;
}

.bc-preview-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.bc-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.bc-preview-link:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.bc-preview-link svg {
    width: 12px;
    height: 12px;
    opacity: 0.8;
}

.bc-preview-url {
    font-size: 13px;
    color: var(--muted);
    word-break: break-all;
}

.bc-preview-url span {
    font-weight: 500;
    margin-right: 8px;
}

.bc-preview-url a {
    color: var(--primary);
    text-decoration: none;
}

.bc-preview-url a:hover {
    text-decoration: underline;
}

/* Linguistic errors styling */
.bc-linguistic-error {
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(239, 68, 68, 0.05);
    border-left: 3px solid var(--bad);
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.bc-linguistic-error__item {
    margin-bottom: 8px;
}

.bc-linguistic-error__item:last-child {
    margin-bottom: 0;
}

.bc-linguistic-error__label {
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
}

.bc-linguistic-error__label--error {
    color: var(--bad);
}

.bc-linguistic-error__label--correction {
    color: var(--ok);
}

.bc-linguistic-error__label--reason {
    color: var(--muted);
}

.bc-linguistic-error__text {
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
}

.bc-linguistic-error__text--error {
    color: var(--bad);
    background: rgba(239, 68, 68, 0.1);
}

.bc-linguistic-error__text--correction {
    color: var(--ok);
    background: rgba(22, 163, 74, 0.1);
}

.bc-linguistic-error__text--reason {
    color: var(--muted);
    font-style: italic;
    background: none;
    padding: 0;
}

/* Google Keywords styling */
.bc-keywords-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.bc-keyword-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--fg);
    transition: all 0.2s ease;
    user-select: none;
    gap: 12px;
}

.bc-keyword-item:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: var(--primary);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.bc-keyword-item:active {
    transform: scale(0.99);
}

.bc-keyword-number {
    font-weight: 600;
    color: var(--primary);
    min-width: 30px;
    font-size: 13px;
    flex-shrink: 0;
}

.bc-keyword-text {
    flex: 1;
    color: var(--fg);
    font-weight: 500;
}

.bc-keyword-costs {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.bc-keyword-cpc,
.bc-keyword-cpl {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
    white-space: nowrap;
    color: #ffffff;
    border: none;
    display: inline-block;
}

.bc-keyword-cpc {
    background: #059669;
}

.bc-keyword-cpl {
    background: #dc2626;
}

.bc-keyword-copy {
    opacity: 0.6;
    font-size: 12px;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    color: var(--fg);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.bc-keyword-item:hover .bc-keyword-copy {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* Keywords container specific styling */
.bc-keywords-container {
    max-width: 100%;
    margin: 0 auto;
}

.bc-keywords-container .bc-card {
    margin-bottom: 0;
}

.bc-keywords-header {
    margin-bottom: 20px;
}

.bc-keywords-info {
    margin-top: 16px;
}

.bc-keywords-section {
    margin-top: 20px;
}

.bc-keywords-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bc-keywords-summary {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.bc-keywords-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Responsive design for keywords */
@media (max-width: 768px) {
    .bc-keyword-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px;
    }
    
    .bc-keyword-costs {
        align-items: center;
        flex-direction: row;
        gap: 8px;
        width: 100%;
        justify-content: flex-start;
    }
    
    .bc-keyword-copy {
        opacity: 1;
        position: absolute;
        top: 8px;
        right: 8px;
        margin-top: 0;
    }
    
    .bc-keyword-number {
        align-self: flex-start;
    }
}

/* Compact mode */
.bc-audit.bc-compact {
    padding: 16px;
}

.bc-audit.bc-compact .bc-audit__form {
    margin-bottom: 16px;
}

.bc-audit.bc-compact .bc-steps {
    margin: 16px 0;
}

.bc-audit.bc-compact .bc-step {
    padding: 8px 12px 8px 32px; /* Add left padding to make room for the dot in compact mode */
    padding-right: 40px; /* Add extra padding for checkmark in compact mode */
    font-size: 13px;
}

.bc-audit.bc-compact .bc-card {
    padding: 16px;
}

.bc-audit.bc-compact .bc-row {
    padding: 8px 0;
}

.bc-audit.bc-compact .bc-linguistic-error {
    padding: 10px;
    margin-bottom: 12px;
}

.bc-audit.bc-compact .bc-preview-card {
    padding: 16px;
}

.bc-audit.bc-compact .bc-preview-container {
    width: 520px;
    height: 238px;
}

.bc-audit.bc-compact .bc-preview-card h3 {
    font-size: 15px;
    margin-bottom: 12px;
}

.bc-audit.bc-compact .bc-keyword-item {
    padding: 10px;
    font-size: 13px;
    gap: 8px;
}

.bc-audit.bc-compact .bc-keyword-number {
    min-width: 25px;
    font-size: 12px;
}

.bc-audit.bc-compact .bc-keyword-cpc,
.bc-audit.bc-compact .bc-keyword-cpl {
    font-size: 10px;
    padding: 1px 4px;
}

/* Effectiveness display styles - PROFESSIONAL */
.bc-effectiveness-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(37, 99, 235, 0.03));
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.bc-effectiveness-card.bc-needs-improvement {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(217, 119, 6, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.3);
    animation: none;
}

.bc-effectiveness-card.bc-performing-well {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.bc-effectiveness-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.bc-effectiveness-header h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #374151;
    text-transform: none;
    letter-spacing: 0;
}

.bc-urgency-indicator {
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 0.85em;
    text-transform: none;
    letter-spacing: 0;
    animation: none;
}

.bc-urgency-indicator.bc-critical {
    background: rgba(244, 67, 54, 0.15);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.4);
    font-weight: 600;
}

.bc-urgency-indicator.bc-warning {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.4);
    font-weight: 600;
}

.bc-urgency-indicator.bc-good {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.4);
    font-weight: 600;
}

@keyframes criticalFlash {
    0%, 100% { background: #dc2626; }
    50% { background: #b91c1c; }
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.bc-effectiveness-display {
    margin-top: 16px;
}

.bc-effectiveness-score-main {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.bc-score-circle {
    text-align: center;
    min-width: 140px;
    padding: 20px;
    border-radius: 50%;
    border: 4px solid #F44336;
    background: radial-gradient(circle at center, #F44336, #d32f2f);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.bc-score-circle.bc-score-poor {
    border-color: #F44336;
    background: radial-gradient(circle at center, #F44336, #d32f2f);
    animation: pulse 2s infinite;
}

.bc-score-circle.bc-score-good {
    border-color: #FF9800;
    background: radial-gradient(circle at center, #FF9800, #F57C00);
    animation: none;
}

.bc-score-number {
    font-size: 3em;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.bc-score-circle.bc-score-poor .bc-score-number {
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.bc-score-circle.bc-score-good .bc-score-number {
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.bc-score-label {
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bc-score-circle.bc-score-poor .bc-score-label {
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bc-score-circle.bc-score-good .bc-score-label {
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bc-score-subtitle {
    font-size: 0.7em;
    color: var(--muted);
    font-weight: 500;
    text-transform: lowercase;
}

.bc-score-disclaimer {
    font-size: 0.6em;
    color: var(--muted);
    font-style: italic;
    margin-top: 3px;
}

.bc-effectiveness-prediction {
    margin-top: 12px;
    text-align: center;
}

.bc-effectiveness-prediction small {
    color: var(--muted);
    font-size: 0.8em;
    font-style: italic;
}

.bc-effectiveness-bar {
    flex: 1;
    height: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.bc-effectiveness-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #f59e0b 100%);
    border-radius: 6px;
    transition: width 0.8s ease-out;
    position: relative;
}

.bc-effectiveness-fill.bc-fill-critical {
    background: linear-gradient(90deg, #F44336 0%, #d32f2f 100%);
    animation: criticalFill 1s infinite;
}

.bc-effectiveness-fill.bc-fill-warning {
    background: linear-gradient(90deg, #FF9800 0%, #f57c00 100%);
}

.bc-effectiveness-fill.bc-fill-good {
    background: linear-gradient(90deg, #FF9800 0%, #F57C00 100%);
}

@keyframes criticalFill {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.bc-effectiveness-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

/* Money Impact Section */
.bc-money-impact {
    margin: 20px 0;
    padding: 20px 16px;
    background: rgba(50, 0, 0, 0.8);
    border: 2px solid #FF5722;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    animation: fadeInShake 0.8s ease-out;
}

@keyframes fadeInShake {
    0% { opacity: 0; transform: translateX(-10px); }
    50% { transform: translateX(5px); }
    100% { opacity: 1; transform: translateX(0); }
}

.bc-money-impact::before {
    content: '⚠️';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 3em;
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.bc-money-lost {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: relative;
}

.bc-money-icon {
    font-size: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.bc-warning-icon {
    font-size: 24px;
    position: absolute;
    top: -5px;
    right: -5px;
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.bc-money-text {
    flex: 1;
}

.bc-money-title {
    font-size: 18px;
    font-weight: 700;
    color: #FF5722;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.bc-money-desc {
    font-size: 14px;
    color: #E0E0E0;
    margin-bottom: 8px;
    line-height: 1.5;
}

.bc-money-calculation {
    font-size: 16px;
    color: #FF5722;
    font-weight: 600;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.bc-effectiveness-analysis {
    margin-bottom: 20px;
    padding: 16px;
    background: #12121E;
    border-radius: 8px;
    border-left: 4px solid #FFB800;
}

.bc-effectiveness-analysis h4 {
    margin: 0 0 4px 0;
    color: #FFB800;
    font-size: 1em;
    font-weight: 600;
}

.bc-analysis-subtitle {
    font-size: 14px;
    color: #CCCCCC;
    opacity: 0.9;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.bc-analysis-content {
    margin: 0;
    line-height: 1.5;
    color: var(--fg);
}

.bc-effectiveness-factors {
    padding: 24px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.03), rgba(251, 146, 60, 0.02));
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
}

.bc-effectiveness-factors h4 {
    margin: 0 0 12px 0;
    color: #f59e0b;
    font-size: 1em;
    font-weight: 600;
}

.bc-effectiveness-factors ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: none;
}

.bc-effectiveness-factors li {
    margin-bottom: 8px;
    color: var(--fg);
    position: relative;
    padding-left: 20px;
}

.bc-effectiveness-factors li::before {
    content: '•';
    color: #f59e0b;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Dark theme adjustments */
.bc-theme-dark .bc-effectiveness-score-main {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(34, 197, 94, 0.2);
}

.bc-theme-dark .bc-effectiveness-bar {
    background: rgba(255, 255, 255, 0.1);
}

.bc-theme-dark .bc-effectiveness-analysis {
    background: rgba(59, 130, 246, 0.1);
}

.bc-theme-dark .bc-effectiveness-factors {
    background: rgba(245, 158, 11, 0.1);
}

/* Enhanced factors section styles */
.bc-factors-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.bc-factors-header h4 {
    margin: 0 0 12px 0;
    color: #CCCCCC;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bc-algorithm-info {
    background: #15152A;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #2D2D3D;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bc-algorithm-icon {
    font-size: 16px;
}

.bc-algorithm-text {
    color: #4CAF50;
    font-size: 14px;
    line-height: 1.4;
}

.bc-algorithm-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
}

.bc-algorithm-info small {
    color: #1e40af;
    font-weight: 500;
    font-style: normal;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bc-algorithm-info small::before {
    content: '🔬';
    font-size: 1.1em;
}

.bc-factors-list {
    margin: 16px 0;
}

.bc-factor-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin: 6px 0;
    background: #2A2A36;
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.bc-factor-item:hover {
    background: #333340;
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
}

.bc-factor-name {
    flex: 1;
    color: var(--fg);
    font-weight: 600;
    font-size: 0.95em;
    line-height: 1.4;
    margin-right: 12px;
}

.bc-factor-details-btn {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 20px;
    width: auto;
    height: 32px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
    flex-shrink: 0;
}

.bc-details-icon {
    font-size: 12px;
}

.bc-details-text {
    font-size: 12px;
    color: #2196F3;
}

.bc-factor-details-btn:hover {
    background: #2196F3;
    border-color: #2196F3;
    color: white;
    transform: translateY(-1px);
    animation: pulse 0.6s ease-in-out;
}


.bc-factor-details-active {
    margin: 12px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(37, 99, 235, 0.04));
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    animation: slideDown 0.3s ease-out;
    position: relative;
}

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

.bc-factor-details-content {
    color: white;
}

.bc-factor-details-content h5 {
    margin: 0 0 12px 0;
    color: white;
    font-size: 1em;
    font-weight: 600;
}

.bc-factor-details-content ul {
    margin: 0 0 12px 0;
    padding-left: 20px;
}

.bc-factor-details-content li {
    color: white;
    margin-bottom: 4px;
    font-size: 0.9em;
}

.bc-close-details {
    background: #6b7280;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8em;
    cursor: pointer;
    transition: background-color 0.2s;
}

.bc-close-details:hover {
    background: #4b5563;
}

.bc-show-all-factors {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.bc-show-all-factors::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.bc-show-all-factors:hover::before {
    left: 100%;
}

.bc-show-all-factors:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #1976D2, #1565C0);
}

.bc-btn-icon {
    font-size: 1.4em;
    margin-bottom: 2px;
}

.bc-btn-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.bc-btn-subtitle {
    font-size: 1em;
    opacity: 0.9;
    font-weight: 400;
}

/* Factors modal styles */
.bc-factors-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}

.bc-factors-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalZoom 0.3s ease-out;
}

@keyframes modalZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bc-factors-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 30px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.bc-modal-title-section {
    flex: 1;
    margin-right: 20px;
}

.bc-factors-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.bc-factors-modal-header h3 {
    margin: 0 0 6px 0;
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bc-modal-subtitle {
    font-size: 0.9em;
    opacity: 0.9;
    font-weight: 400;
    font-style: italic;
}

.bc-factors-modal-close {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.2s;
}

.bc-factors-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.bc-factors-modal-body {
    padding: 25px;
}

.bc-factors-intro {
    margin-bottom: 25px;
    padding: 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.bc-factors-intro p {
    margin: 0 0 8px 0;
    color: #374151;
}

.bc-factors-intro p:last-child {
    margin-bottom: 0;
}

.bc-factors-categories {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.bc-factors-category {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.bc-factors-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.bc-factors-category h4 {
    margin: 0 0 20px 0;
    color: #1e293b;
    font-size: 1.15em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.bc-factors-category ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bc-factors-category li {
    margin-bottom: 12px;
    color: #334155;
    line-height: 1.6;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95em;
}

.bc-factors-category li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.bc-factors-category li strong {
    color: #0f172a;
    font-weight: 600;
}

.bc-factors-note {
    margin-top: 25px;
    padding: 16px;
    background: rgba(245, 158, 11, 0.08);
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.bc-factors-note p {
    margin: 0;
    color: #374151;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Responsive modal improvements */
@media (max-width: 768px) {
    .bc-factors-modal {
        padding: 16px;
    }
    
    .bc-factors-modal-content {
        max-height: 85vh;
    }
    
    .bc-factors-modal-header {
        padding: 20px;
    }
    
    .bc-factors-modal-header h3 {
        font-size: 1.2em;
    }
    
    .bc-factors-modal-body {
        padding: 20px;
    }
    
    .bc-factors-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bc-factors-category {
        padding: 20px;
    }
    
    .bc-factors-category h4 {
        font-size: 1.1em;
    }
}

/* Competitive Comparison - REDESIGNED FOR IMPACT */
.bc-benchmarks-comparison {
    margin-top: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    border: 2px solid #dc2626;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.bc-benchmarks-comparison.bc-below-average {
    animation: none;
}

.bc-benchmarks-comparison h4 {
    margin: 0 0 20px 0;
    color: #374151;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    text-align: left;
}

.bc-competitive-gap {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.bc-gap-visualization {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bc-competitor-performance {
    padding: 15px;
    border-radius: 8px;
    border: 2px solid transparent;
}

.bc-competitor-performance:nth-child(1) {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.05));
    border-color: #f59e0b;
}

.bc-competitor-performance:nth-child(2) {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    border-color: #f59e0b;
}

.bc-competitor-performance.bc-your-performance {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
    border-color: #dc2626;
    position: relative;
}

.bc-competitor-performance.bc-your-performance::before {
    content: '😞';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 2em;
    opacity: 0.3;
}

.bc-competitor-label {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bc-competitor-bar {
    height: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin: 8px 0;
}

.bc-competitor-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease-out;
}

.bc-leader-fill {
    background: linear-gradient(90deg, #f59e0b 0%, #16a34a 100%);
    animation: none;
}

.bc-average-fill {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.bc-user-fill {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

.bc-user-fill.bc-underperforming {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    animation: none;
}

.bc-competitor-value {
    font-weight: bold;
    font-size: 1.1em;
    color: #374151;
}

.bc-competitor-impact {
    font-size: 0.9em;
    color: var(--muted);
    font-weight: 500;
}

.bc-lost-opportunity {
    padding: 20px;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1), rgba(75, 85, 99, 0.05));
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 12px;
    text-align: left;
}

.bc-opportunity-header {
    font-size: 1.1em;
    font-weight: 600;
    color: #374151;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 15px;
}

.bc-loss-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.bc-loss-label {
    font-weight: 500;
    color: #374151;
}

.bc-loss-value {
    font-weight: 600;
    color: #3b82f6;
    font-size: 1em;
}

.bc-loss-total {
    margin-top: 15px;
    padding: 15px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    font-size: 1.1em;
    color: #374151;
    font-weight: 600;
}

.bc-analysis-disclaimer {
    margin-top: 8px;
}

.bc-analysis-disclaimer small {
    color: var(--muted);
    font-weight: normal;
    font-style: italic;
    font-size: 0.8em;
}

.bc-benchmarks-comparison h4 {
    margin: 0 0 16px 0;
    color: #6366f1;
    font-size: 1em;
    font-weight: 600;
}

.bc-benchmark-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.bc-benchmark-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bc-benchmark-label {
    min-width: 100px;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--fg);
}

.bc-benchmark-bar {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.bc-benchmark-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease-out;
}

.bc-benchmark-user {
    background: var(--primary);
}

.bc-benchmark-average {
    background: #f59e0b;
}

.bc-benchmark-top {
    background: #f59e0b;
}

.bc-benchmark-value {
    min-width: 45px;
    text-align: right;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--fg);
}

.bc-benchmark-insight {
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    font-size: 0.9em;
    line-height: 1.4;
    color: var(--fg);
    font-weight: 500;
    text-align: center;
}

/* Dark theme adjustments for benchmarks */
.bc-theme-dark .bc-benchmarks-comparison {
    background: rgba(99, 102, 241, 0.1);
}

.bc-theme-dark .bc-benchmark-bar {
    background: rgba(255, 255, 255, 0.1);
}

.bc-theme-dark .bc-benchmark-insight {
    background: rgba(0, 0, 0, 0.3);
}

/* Improvement CTA Section */
.bc-improvement-cta {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.05));
    border: 2px solid #f59e0b;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bc-improvement-cta::before {
    display: none;
}

.bc-cta-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.bc-cta-icon {
    font-size: 2em;
    animation: none;
}

.bc-cta-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #374151;
    text-transform: none;
    letter-spacing: 0;
    text-shadow: none;
}

.bc-cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.bc-benefit-item {
    font-size: 1.1em;
    font-weight: 600;
    color: #374151;
    padding: 8px 0;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.bc-cta-urgency {
    font-size: 1em;
    color: var(--muted);
    text-transform: none;
    letter-spacing: 0;
    animation: none;
    position: relative;
    z-index: 1;
    font-style: italic;
}

/* Blurred keywords and unlock section */
.bc-keyword-blurred {
    filter: blur(5px) !important;
    pointer-events: none !important;
    opacity: 0.4 !important;
    cursor: default !important;
    user-select: none !important;
    position: relative;
}

.bc-keyword-blurred::after {
    content: '🔒 ZABLOKOWANE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

.bc-keyword-blurred:hover {
    background: rgba(59, 130, 246, 0.05) !important;
    border-color: var(--border) !important;
    box-shadow: none !important;
}

.bc-unlock-section {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    text-align: center;
}

.bc-unlock-info {
    margin-bottom: 16px;
}

.bc-unlock-info p {
    margin: 0 0 8px 0;
    color: var(--fg);
}

.bc-unlock-info p:first-child {
    color: var(--primary);
    font-size: 20px;
}

.bc-unlock-info p:last-child {
    color: var(--muted);
    font-size: 17px;
}

.bc-btn--primary {
    background: var(--primary);
    color: white;
    border: none;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.bc-btn--primary:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Survey popup styles */
.bc-survey-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bc-survey-open .bc-survey-overlay {
    opacity: 1;
    visibility: visible;
}

.bc-survey-popup {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.8),
        0 12px 24px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-width: 480px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: #1f2937;
    position: relative;
    padding: 0;
}

.bc-survey-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(99, 102, 241, 0.02) 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 1;
}

.bc-survey-open .bc-survey-popup {
    transform: scale(1) translateY(0);
    animation: surveyPopupAppear 0.4s ease-out;
}

@keyframes surveyPopupAppear {
    0% {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
    50% {
        transform: scale(1.02) translateY(-5px);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.bc-survey-header {
    display: flex;
    align-items: center;
    padding: 28px 28px 16px 28px;
    background: transparent;
    border-bottom: none;
}

.bc-survey-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: none;
}

.bc-survey-description {
    padding: 0 28px 24px 28px;
    background: transparent;
}

.bc-survey-description p {
    margin: 0;
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.bc-survey-form {
    padding: 0 28px 28px 28px;
    background: transparent;
}

.bc-survey-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    padding: 8px 12px;
    line-height: 1;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: bold;
}

.bc-survey-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    transform: scale(1.1);
}

.bc-survey-content {
    padding-top: 24px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 10px;
    background: transparent;
}

.bc-survey-content p {
    margin: 0 0 24px 0;
    color: #4b5563;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 500;
}

.bc-survey-field {
    margin-bottom: 24px;
}

.bc-survey-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: normal;
}

.bc-survey-field input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #333333;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-weight: 400;
    backdrop-filter: blur(10px);
}

.bc-survey-field input:hover {
    border-color: #9ca3af;
    background: #ffffff;
}

.bc-survey-field input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: #ffffff;
}

.bc-survey-field input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.bc-survey-actions {
    display: flex !important;
    gap: 16px;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 0;
    border-top: none;
    visibility: visible !important;
}

.bc-survey-actions .bc-btn {
    min-width: 100px;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-decoration: none;
}

.bc-survey-actions .bc-btn--ghost,
.bc-survey-footer .bc-btn--ghost {
    background: transparent;
    color: #a0a0a0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bc-survey-actions .bc-btn--ghost:hover,
.bc-survey-footer .bc-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #a0a0a0;
    border-color: rgba(255, 255, 255, 0.3);
}

.bc-survey-actions .bc-btn--secondary,
.bc-survey-footer .bc-btn--secondary {
    background: transparent;
    color: #a0a0a0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bc-survey-actions .bc-btn--secondary:hover,
.bc-survey-footer .bc-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e5e5e5;
    border-color: rgba(255, 255, 255, 0.3);
}

.bc-survey-actions .bc-btn--primary,
.bc-survey-footer .bc-btn--primary {
    background: #3b82f6;
    color: white;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.bc-survey-actions .bc-btn--primary:hover:not(:disabled),
.bc-survey-footer .bc-btn--primary:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.bc-survey-actions .bc-btn--primary:disabled,
.bc-survey-footer .bc-btn--primary:disabled {
    background: #6b7280;
    cursor: not-allowed;
    transform: none;
}


/* Responsive adjustments */
@media (max-width: 640px) {
    .bc-survey-popup {
        width: 98%;
        margin: 0 5px;
        max-width: 100vw;
    }
    
    .bc-survey-header {
        padding: 20px 20px 12px 20px;
    }
    
    .bc-survey-description {
        padding: 0 20px 16px 20px;
    }
    
    .bc-survey-form {
        padding: 0 20px 20px 20px;
    }
    
    .bc-survey-content {
        padding: 16px;
    }
    
    .bc-survey-field label {
        font-size: 13px;
        line-height: 1.4;
        word-wrap: break-word;
        white-space: normal;
    }
    
    .bc-survey-select {
        font-size: 14px;
        padding: 10px 12px;
        padding-right: 35px;
    }
    
    .bc-survey-actions {
        flex-direction: column;
    }
    
    .bc-survey-actions .bc-btn {
        width: 100%;
        min-width: auto;
        display: block !important;
        visibility: visible !important;
    }
    
    .bc-unlock-section {
        padding: 16px;
    }
    
    .bc-unlock-info p:first-child {
        font-size: 20px;
    }
    
}

/* Prevent body scroll when survey is open */
.bc-survey-open {
    overflow: hidden;
}

/* Enhanced survey styles for multi-step form */
.bc-survey-progress {
    margin-top: 16px;
    margin-bottom: 8px;
}

.bc-survey-progress-bar {
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bc-survey-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 5px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.3);
}

.bc-survey-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

.bc-survey-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
}

.bc-survey-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    right: 25%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.bc-survey-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 3px solid var(--border);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bc-survey-step.active {
    background: #3b82f6;
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.bc-survey-step.completed {
    background: #10b981;
    color: white;
    border-color: #10b981;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.bc-survey-step-description {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
    font-style: italic;
}

.bc-survey-field-description {
    color: #6b7280;
    font-size: 13px;
    margin: 4px 0 8px 0;
    line-height: 1.4;
    font-style: italic;
}

/* Survey form input styles */
.bc-survey-input,
.bc-survey-textarea,
.bc-survey-select {
    width: 100%;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2937;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-weight: 500;
    font-family: inherit;
    min-width: 0;
    max-width: 100%;
}

.bc-survey-input:hover,
.bc-survey-textarea:hover,
.bc-survey-select:hover {
    border-color: #9ca3af;
}

.bc-survey-input:focus,
.bc-survey-textarea:focus,
.bc-survey-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: #ffffff;
}

.bc-survey-input::placeholder,
.bc-survey-textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.bc-survey-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.bc-survey-select {
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="%236b7280" d="M8 11L3 6h10l-5 5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    min-height: 44px;
    box-sizing: border-box;
    overflow: visible;
    white-space: normal;
    word-wrap: normal;
}

.bc-survey-select option {
    padding: 8px 12px;
    white-space: normal;
    word-wrap: break-word;
}

/* Radio button styling */
.bc-survey-radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.bc-survey-radio-label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 4px;
}

.bc-survey-radio-label:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bc-survey-radio {
    position: relative;
    width: 20px;
    height: 20px;
    margin: 0;
    appearance: none;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.bc-survey-radio::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    transition: transform 0.2s ease;
}

.bc-survey-radio:checked {
    border-color: #3b82f6;
    background: #ffffff;
}

.bc-survey-radio:checked::before {
    transform: translate(-50%, -50%) scale(1);
}

.bc-survey-radio-text {
    color: #1f2937;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    flex: 1;
}

.bc-survey-radio-label:has(.bc-survey-radio:checked) {
    background: rgba(59, 130, 246, 0.08);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.bc-survey-radio-label:has(.bc-survey-radio:checked) .bc-survey-radio-text {
    color: #3b82f6;
    font-weight: 600;
}

/* Fallback for browsers that don't support :has() */
.bc-survey-radio-label.selected {
    background: rgba(59, 130, 246, 0.08);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.bc-survey-radio-label.selected .bc-survey-radio-text {
    color: #3b82f6;
    font-weight: 600;
}

/* Required field indicator */
.required {
    color: #ef4444;
    font-weight: bold;
    margin-left: 2px;
}

/* Better responsive design for survey */
@media (max-width: 640px) {
    .bc-survey-radio-group {
        gap: 8px;
    }
    
    .bc-survey-radio-label {
        padding: 10px;
    }
    
    .bc-survey-radio-text {
        font-size: 13px;
    }
    
    .bc-survey-step {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .bc-survey-progress-bar {
        height: 6px;
    }
    
    .bc-survey-footer {
        padding: 16px 20px 20px 20px;
        flex-direction: column;
        gap: 12px;
    }
}

/* Keywords Shortcode Styles - bc_user_keywords */
.bc-keywords-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Keywords Grid Layout */
.bc-keywords-container .bc-keywords-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
}

/* Keyword Item Styling */
.bc-keywords-container .bc-keyword-item {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    background: var(--card-bg) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    transition: all 0.3s ease !important;
    min-height: 120px !important;
    gap: 0 !important;
}

.bc-keywords-container .bc-keyword-item:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15) !important;
    transform: translateY(-4px) !important;
}

/* Keyword Header Row */
.bc-keywords-container .bc-keyword-header {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 12px !important;
}

.bc-keywords-container .bc-keyword-number {
    font-weight: 700 !important;
    color: var(--primary) !important;
    min-width: 30px !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
    margin-right: 8px !important;
}

.bc-keywords-container .bc-keyword-text {
    flex: 1 !important;
    color: var(--fg) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-right: 8px !important;
}

/* Copy Button */
.bc-keywords-container .bc-keyword-copy {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: rgba(59, 130, 246, 0.1) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
    color: var(--primary) !important;
    opacity: 0.8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    z-index: 10 !important;
}

.bc-keywords-container .bc-keyword-copy:hover {
    opacity: 1 !important;
    background: rgba(59, 130, 246, 0.2) !important;
    border-color: var(--primary) !important;
}

.bc-keywords-container .bc-keyword-item:hover .bc-keyword-copy {
    opacity: 1 !important;
}

/* Costs Section */
.bc-keywords-container .bc-keyword-costs {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: auto !important;
}

.bc-keywords-container .bc-keyword-cpc,
.bc-keywords-container .bc-keyword-cpl {
    font-size: 12px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    display: inline-block !important;
}

.bc-keywords-container .bc-keyword-cpc {
    background: linear-gradient(135deg, #059669, #047857) !important;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.3) !important;
}

.bc-keywords-container .bc-keyword-cpl {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3) !important;
}

/* Responsive Design for Keywords Shortcode */
@media (max-width: 768px) {
    .bc-keywords-container {
        padding: 16px !important;
    }
    
    .bc-keywords-container .bc-keywords-info {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .bc-keywords-container .bc-keywords-info .bc-row {
        min-height: 50px !important;
        padding: 10px 12px !important;
    }
    
    .bc-keywords-container .bc-keywords-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .bc-keywords-container .bc-keyword-item {
        min-height: 100px !important;
        padding: 14px !important;
    }
    
    .bc-keywords-container .bc-keyword-text {
        font-size: 14px !important;
    }
    
    .bc-keywords-container .bc-keyword-copy {
        top: 10px !important;
        right: 10px !important;
        padding: 5px 8px !important;
        font-size: 10px !important;
    }
    
    .bc-keywords-container .bc-keyword-cpc,
    .bc-keywords-container .bc-keyword-cpl {
        font-size: 11px !important;
        padding: 5px 8px !important;
    }
    
    .bc-keywords-container .bc-page-recommendation {
        margin-top: 20px !important;
        padding-top: 16px !important;
    }
    
    .bc-keywords-container .bc-recommendation-header h4 {
        font-size: 18px !important;
    }
    
    .bc-keywords-container .bc-recommendation-content {
        padding: 16px !important;
    }
    
    .bc-keywords-container .bc-recommendation-loading p {
        font-size: 15px !important;
    }
    
    .bc-keywords-container .bc-recommendation-note {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .bc-keywords-container {
        padding: 12px !important;
    }
    
    .bc-keywords-container .bc-keywords-info .bc-row {
        min-height: 45px !important;
        padding: 8px 10px !important;
    }
    
    .bc-keywords-container .bc-keywords-info span {
        font-size: 11px !important;
    }
    
    .bc-keywords-container .bc-keywords-info strong {
        font-size: 13px !important;
    }
    
    .bc-keywords-container .bc-keyword-item {
        min-height: 90px !important;
        padding: 12px !important;
    }
    
    .bc-keywords-container .bc-keyword-text {
        font-size: 13px !important;
    }
    
    .bc-keywords-container .bc-keyword-costs {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
    
    .bc-keywords-container .bc-keyword-cpc,
    .bc-keywords-container .bc-keyword-cpl {
        font-size: 10px !important;
        padding: 4px 6px !important;
    }
    
    .bc-keywords-container .bc-page-recommendation {
        margin-top: 16px !important;
        padding-top: 12px !important;
    }
    
    .bc-keywords-container .bc-recommendation-header h4 {
        font-size: 16px !important;
    }
    
    .bc-keywords-container .bc-recommendation-content {
        padding: 12px !important;
    }
    
    .bc-keywords-container .bc-loading-spinner {
        width: 24px !important;
        height: 24px !important;
        border-width: 2px !important;
    }
    
    .bc-keywords-container .bc-recommendation-loading p {
        font-size: 14px !important;
    }
    
    .bc-keywords-container .bc-recommendation-note {
        font-size: 12px !important;
    }
}

/* Keywords Header Styling */
.bc-keywords-container .bc-keywords-header {
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid var(--border) !important;
}

.bc-keywords-container .bc-keywords-header h3 {
    margin: 0 0 12px 0 !important;
    color: var(--primary) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

.bc-keywords-container .bc-keywords-info {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin-top: 16px !important;
}

.bc-keywords-container .bc-keywords-info .bc-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    min-height: 60px !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.bc-keywords-container .bc-keywords-info .bc-row:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px) !important;
}

.bc-keywords-container .bc-keywords-info span {
    color: var(--muted) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 4px !important;
}

.bc-keywords-container .bc-keywords-info strong {
    color: var(--fg) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
}

.bc-keywords-container .bc-keywords-summary {
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--border) !important;
}

.bc-keywords-container .bc-keywords-stats {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.bc-keywords-container .bc-keywords-stats .bc-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
}

.bc-keywords-container .bc-keywords-stats span {
    color: var(--muted) !important;
    font-size: 14px !important;
}

.bc-keywords-container .bc-keywords-stats strong {
    color: var(--primary) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

/* Page Recommendation Section */
.bc-keywords-container .bc-page-recommendation {
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--border) !important;
}

.bc-keywords-container .bc-recommendation-header {
    margin-bottom: 16px !important;
}

.bc-keywords-container .bc-recommendation-header h4 {
    margin: 0 !important;
    color: var(--primary) !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.bc-keywords-container .bc-recommendation-content {
    background: rgba(59, 130, 246, 0.05) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.bc-keywords-container .bc-recommendation-loading {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
}

.bc-keywords-container .bc-loading-spinner {
    width: 32px !important;
    height: 32px !important;
    border: 3px solid rgba(59, 130, 246, 0.3) !important;
    border-top: 3px solid var(--primary) !important;
    border-radius: 50% !important;
    animation: bc-spin 1s linear infinite !important;
}

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

.bc-keywords-container .bc-recommendation-loading p {
    margin: 0 !important;
    color: var(--fg) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

.bc-keywords-container .bc-recommendation-note {
    color: var(--muted) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    max-width: 400px !important;
}

.bc-keywords-header h3 {
    margin: 0 0 12px 0;
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

.bc-keywords-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.bc-keywords-info p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.bc-keywords-info strong {
    color: var(--fg);
    font-weight: 600;
}

.bc-keywords-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.bc-keyword-item {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
    gap: 12px;
    color: var(--fg);
}

.bc-keyword-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.bc-keyword-number {
    font-weight: 600;
    color: var(--primary);
    min-width: 30px;
    font-size: 13px;
    flex-shrink: 0;
}

.bc-keyword-text {
    flex: 1;
    color: var(--fg);
    font-weight: 500;
    font-size: 14px;
}

.bc-keyword-costs {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.bc-keyword-cpc,
.bc-keyword-cpl {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
    white-space: nowrap;
    color: #ffffff;
    border: none;
    display: inline-block;
}

.bc-keyword-cpc {
    background: #059669;
}

.bc-keyword-cpl {
    background: #dc2626;
}

.bc-keyword-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bc-keyword-cost {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.bc-keyword-volume {
    color: var(--muted);
    font-size: 12px;
}

.bc-keyword-copy {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    opacity: 0.6;
    color: var(--fg);
    z-index: 10;
}

.bc-keyword-copy:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.bc-keyword-item:hover .bc-keyword-copy {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.bc-keywords-summary {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 20px;
}

.bc-keywords-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bc-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.bc-stat-item:last-child {
    border-bottom: none;
}

.bc-stat-label {
    color: var(--muted);
    font-size: 14px;
}

.bc-stat-value {
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
}

.bc-keywords-login-required,
.bc-keywords-no-data {
    text-align: center;
    padding: 40px 20px;
}

.bc-keywords-login-required h3,
.bc-keywords-no-data h3 {
    margin: 0 0 16px 0;
    color: var(--fg);
    font-size: 24px;
}

.bc-keywords-login-required p,
.bc-keywords-no-data p {
    margin: 0 0 24px 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
}

.bc-keywords-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.bc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.bc-btn--primary {
    background: var(--primary);
    color: white;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.bc-btn--primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.bc-btn--secondary {
    background: var(--card-bg);
    color: var(--fg);
    border: 1px solid var(--border);
}

.bc-btn--secondary:hover {
    background: var(--hover-bg);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* Disable hover color changes for login-required keywords actions */
.bc-keywords-actions .bc-btn--primary:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: none !important;
    box-shadow: none !important;
}

.bc-keywords-actions .bc-btn--secondary:hover {
    background: var(--card-bg) !important;
    color: var(--fg) !important;
    border: 1px solid var(--border) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .bc-keywords-container {
        padding: 16px;
    }
    
    .bc-keywords-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .bc-keywords-container .bc-keyword-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 16px !important;
    }
    
    .bc-keywords-container .bc-keyword-costs {
        align-items: center !important;
        flex-direction: row !important;
        gap: 8px !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }
    
    .bc-keywords-container .bc-keyword-copy {
        opacity: 1 !important;
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
        margin-top: 0 !important;
    }
    
    .bc-keyword-number {
        align-self: flex-start;
    }
    
    .bc-keywords-info {
        grid-template-columns: 1fr;
    }
    
    .bc-keywords-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .bc-keywords-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .bc-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Survey error states */
.bc-survey-field.error .bc-survey-input,
.bc-survey-field.error .bc-survey-textarea,
.bc-survey-field.error .bc-survey-select {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Input field error states */
.bc-survey-input.error,
.bc-survey-textarea.error,
.bc-survey-select.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
    background-color: rgba(239, 68, 68, 0.05);
}

.bc-survey-input.error:focus,
.bc-survey-textarea.error:focus,
.bc-survey-select.error:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

.bc-survey-field-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

/* Survey success state */
.bc-survey-field.success .bc-survey-input,
.bc-survey-field.success .bc-survey-textarea,
.bc-survey-field.success .bc-survey-select {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Loading state for survey buttons */
.bc-survey-actions .bc-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Survey completion animation */
@keyframes surveyComplete {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.bc-survey-completed {
    animation: surveyComplete 0.6s ease-out;
}

/* Survey footer with visual progress */
.bc-survey-footer {
    padding: 20px 28px 28px 28px;
    border-top: none;
    background: transparent;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-top: 0;
}

.bc-visual-progress {
    display: flex;
    align-items: center;
    position: relative;
}

.bc-visual-progress-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.bc-visual-progress-fill {
    height: 100%;
    width: 33.33%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Effectiveness responsive styles */
@media (max-width: 640px) {
    .bc-effectiveness-score-main {
        flex-direction: column;
        gap: 15px;
        padding: 16px;
    }
    
    .bc-score-circle {
        min-width: auto;
    }
    
    .bc-score-number {
        font-size: 2em;
    }
    
    .bc-effectiveness-analysis,
    .bc-effectiveness-factors {
        padding: 12px;
    }
    
    .bc-benchmarks-comparison {
        padding: 16px;
    }
    
    .bc-benchmark-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .bc-benchmark-label {
        min-width: auto;
        width: 100%;
    }
    
    .bc-benchmark-bar {
        width: 100%;
    }
    
    .bc-benchmark-value {
        min-width: auto;
        text-align: left;
    }
    
    /* Responsive effectiveness redesign */
    .bc-effectiveness-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .bc-effectiveness-score-main {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .bc-score-circle {
        min-width: auto;
        padding: 15px;
    }
    
    .bc-score-number {
        font-size: 2.5em;
    }
    
    .bc-money-lost {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .bc-money-icon {
        font-size: 2.5em;
    }
    
    .bc-competitive-gap {
        gap: 20px;
    }
    
    .bc-competitor-performance {
        padding: 12px;
    }
    
    .bc-loss-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .bc-cta-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .bc-cta-icon {
        font-size: 2em;
    }
    
    .bc-cta-title {
        font-size: 1.2em;
    }
}

/* Extra small screens - ensure no text truncation */
@media (max-width: 480px) {
    .bc-survey-popup {
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .bc-survey-header {
        padding: 16px 16px 8px 16px;
    }
    
    .bc-survey-description {
        padding: 0 16px 12px 16px;
    }
    
    .bc-survey-form {
        padding: 0 16px 16px 16px;
    }
    
    .bc-survey-content {
        padding: 12px;
    }
    
    .bc-survey-footer {
        padding: 12px 16px 16px 16px;
        flex-direction: column;
        gap: 10px;
    }
    
    .bc-survey-field label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .bc-survey-select {
        font-size: 13px;
        padding: 8px 10px;
        padding-right: 32px;
        min-height: 40px;
    }
}

/* Facebook Ads Library Scraper */
.bc-ads-scraper {
    --bg: #0f0f23;
    --fg: #ffffff;
    --muted: #a1a1aa;
    --border: #2d2d44;
    --ok: #06ffa5;
    --bad: #ff6b9d;
    --primary: #8b5cf6;
    --secondary: #a855f7;
    --accent: #06ffa5;
    --terminal-green: #00ff88;
    
    font: 14px/1.5 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
    max-width: 900px;
    margin: 40px auto 0;
    background: linear-gradient(135deg, var(--bg) 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--fg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 25px 50px -12px rgba(139, 92, 246, 0.25),
        0 25px 25px -5px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.bc-scraper-content {
    padding-top: 0;
}

.bc-scraper-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bc-scraper-description {
    color: var(--muted);
    margin: 0 0 32px 0;
    font-size: 16px;
}

.bc-scraper-form {
    display: grid;
    gap: 24px;
}

.bc-scraper-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bc-scraper-input-group label {
    font-weight: 600;
    color: var(--fg);
    font-size: 14px;
}

.bc-scraper-input,
.bc-scraper-select {
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    color: var(--fg);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.bc-scraper-input::placeholder {
    color: var(--muted);
    font-style: italic;
}

.bc-scraper-input:focus,
.bc-scraper-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

.bc-scraper-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.bc-scraper-section h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
}

.bc-checkbox-grid {
    display: grid;
    gap: 12px;
}

.bc-scraper-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.bc-scraper-checkbox:hover {
    background: rgba(255, 255, 255, 0.05);
}

.bc-scraper-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.bc-scraper-checkbox span {
    font-size: 14px;
    color: var(--fg);
}

.bc-scraper-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.bc-scraper-search-btn {
    justify-self: center;
    min-width: 200px;
    position: relative;
}

.bc-btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bc-scraper-results {
    margin-top: 32px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
}

.bc-scraper-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.bc-scraper-results-header h4 {
    margin: 0;
    font-size: 18px;
    color: var(--fg);
}

.bc-btn-secondary {
    background: linear-gradient(135deg, var(--muted) 0%, #6b7280 100%);
    font-size: 14px;
    padding: 12px 20px;
}

.bc-btn-secondary:hover {
    background: linear-gradient(135deg, #6b7280 0%, var(--muted) 100%);
}

.bc-ad-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.bc-ad-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.bc-ad-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.bc-ad-title {
    font-weight: 600;
    color: var(--accent);
    margin: 0;
    font-size: 16px;
}

.bc-ad-date {
    color: var(--muted);
    font-size: 12px;
}

.bc-ad-content {
    display: grid;
    gap: 12px;
}

.bc-ad-field {
    display: flex;
    gap: 12px;
}

.bc-ad-field-label {
    font-weight: 600;
    color: var(--muted);
    min-width: 120px;
    font-size: 13px;
}

.bc-ad-field-value {
    color: var(--fg);
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
}

.bc-ad-link {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.bc-ad-link:hover {
    border-bottom-color: var(--primary);
}

/* Loading state */
.bc-scraper-loading {
    text-align: center;
    padding: 40px;
    color: var(--muted);
}

.bc-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design for scraper */
@media (max-width: 768px) {
    .bc-ads-scraper {
        margin: 20px auto 0;
        padding: 20px;
        border-radius: 16px;
    }
    
    .bc-scraper-options {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    .bc-scraper-settings {
        grid-template-columns: 1fr;
    }
    
    .bc-scraper-results-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .bc-ad-field {
        flex-direction: column;
        gap: 4px;
    }
    
    .bc-ad-field-label {
        min-width: auto;
    }
}

/* Website Role Detection Styles */
.bc-role-detection-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid #2d2d44;
    margin-bottom: 20px;
}

.bc-role-detection-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bc-role-detection-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #FFB800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bc-role-detection-content {
    padding: 0;
}

.bc-role-detected {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    animation: fadeIn 0.5s ease-out;
}

.bc-role-not-detected {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 12px;
    animation: fadeIn 0.5s ease-out;
}

.bc-role-icon {
    font-size: 32px;
    flex-shrink: 0;
    margin-top: 4px;
}

.bc-role-info {
    flex: 1;
}

.bc-role-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--fg);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bc-role-description {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.bc-role-type {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #FFB800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.bc-role-cta-example {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 8px;
    font-size: 13px;
    color: #2196F3;
    font-weight: 500;
    font-style: italic;
}

.bc-role-recommendation {
    margin-top: 12px;
    padding: 12px;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.bc-role-recommendation strong {
    color: #FF9800;
    font-weight: 600;
}

.bc-role-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.bc-loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #FFB800;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.bc-role-loading p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.bc-role-error {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 12px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Fix Plan Section Styles */
.bc-fix-plan-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.bc-fix-plan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.bc-fix-plan-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 32px;
}

.bc-fix-plan-header h3 {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.bc-fix-plan-description {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bc-fix-plan-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.bc-fix-plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.bc-fix-plan-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.bc-feature-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 4px;
}

.bc-feature-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bc-feature-content p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.bc-fix-plan-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

.bc-btn--large {
    padding: 20px 40px;
    font-size: 18px;
    min-height: 80px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    color: white;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: bottomCtaPulse 3s infinite;
}

.bc-btn--large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
}

.bc-btn--large:hover::before {
    left: 100%;
}

.bc-btn--large:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.6);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.bc-btn--large:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
}

.bc-btn-icon {
    font-size: 20px;
}

.bc-btn--large .bc-btn-icon {
    font-size: 28px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
    animation: iconFloat 2s ease-in-out infinite;
}

.bc-generate-fix-plan-btn .bc-btn-icon {
    font-size: 28px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
    animation: iconFloat 2s ease-in-out infinite;
}

.bc-btn-text {
    font-weight: 600;
    font-size: 18px;
}

.bc-btn--large .bc-btn-text {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bc-generate-fix-plan-btn .bc-btn-text {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bc-btn-subtitle {
    font-size: 16px;
    opacity: 0.8;
    font-weight: 400;
}

.bc-btn--large .bc-btn-subtitle {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.bc-generate-fix-plan-btn .bc-btn-subtitle {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

/* Fix Plan Button in Effectiveness Section - Enhanced CTA */
.bc-generate-fix-plan-btn {
    width: 100%;
    padding: 20px 40px;
    font-size: 18px;
    min-height: 80px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    color: white;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: bottomCtaPulse 3s infinite;
}

.bc-generate-fix-plan-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.bc-generate-fix-plan-btn:hover::before {
    left: 100%;
}

.bc-generate-fix-plan-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.6);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}


@keyframes ctaPulse {
    0% {
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6), 0 0 0 10px rgba(255, 107, 53, 0.1);
    }
    100% {
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    }
}

@keyframes bottomCtaPulse {
    0% {
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.6), 0 0 0 15px rgba(102, 126, 234, 0.1);
    }
    100% {
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.bc-generate-fix-plan-btn:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
}

.bc-show-all-factors:focus,
.bc-generate-fix-plan-btn:focus {
    outline: 2px solid #FFB800;
    outline-offset: 2px;
}

/* Responsive Design for Fix Plan Section */
@media (max-width: 768px) {
    .bc-fix-plan-header h3 {
        font-size: 20px;
    }
    
    .bc-fix-plan-description {
        font-size: 14px;
    }
    
    .bc-fix-plan-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bc-fix-plan-feature {
        padding: 16px;
    }
    
    .bc-btn--large {
        padding: 16px 28px;
        font-size: 16px;
        min-height: 70px;
    }
    
    .bc-btn--large .bc-btn-icon {
        font-size: 24px;
    }
    
    .bc-btn--large .bc-btn-text {
        font-size: 18px;
    }
    
    .bc-btn--large .bc-btn-subtitle {
        font-size: 16px;
    }
    
    .bc-btn-text {
        font-size: 18px;
    }
    
    .bc-btn-subtitle {
        font-size: 16px;
    }
}

/* Fix Plan Modal Styles */
.bc-fix-plan-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.bc-fix-plan-modal-content {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.bc-fix-plan-modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.bc-fix-plan-modal-header h2 {
    margin: 0 0 8px 0;
    color: var(--fg);
    font-size: 24px;
    font-weight: 600;
}

.bc-modal-subtitle {
    color: var(--muted);
    font-size: 14px;
}

.bc-fix-plan-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.bc-fix-plan-modal-close:hover {
    color: var(--fg);
    background: var(--border);
}

.bc-fix-plan-modal-body {
    padding: 24px;
}

/* Fix Plan Overview */
.bc-fix-plan-overview {
    margin-bottom: 32px;
}

.bc-current-performance h3 {
    margin: 0 0 16px 0;
    color: var(--fg);
    font-size: 18px;
}

.bc-performance-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.bc-metric {
    background: var(--border);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bc-metric-label {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bc-metric-value {
    color: var(--fg);
    font-size: 20px;
    font-weight: 600;
}

.bc-current-score {
    color: var(--primary);
}

.bc-industry-avg {
    color: var(--accent);
}

.bc-industry-top {
    color: var(--ok);
}

.bc-potential-analysis {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 20px;
    border-radius: 12px;
    color: white;
}

.bc-potential-analysis h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.bc-potential-analysis p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Funnel Recommendations */
.bc-funnel-recommendations {
    margin-bottom: 32px;
}

.bc-funnel-recommendations h3 {
    margin: 0 0 20px 0;
    color: var(--fg);
    font-size: 18px;
}

.bc-funnel-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.bc-funnel-stage {
    background: var(--border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    border-left: 4px solid var(--primary);
}

.bc-stage-number {
    position: absolute;
    top: -8px;
    left: 16px;
    background: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.bc-stage-content h4 {
    margin: 8px 0 8px 0;
    color: var(--fg);
    font-size: 16px;
}

.bc-stage-content p {
    margin: 0 0 12px 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.bc-stage-channels,
.bc-stage-tools {
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--muted);
}

.bc-stage-channels strong,
.bc-stage-tools strong {
    color: var(--fg);
}

/* Step by Step Plan */
.bc-step-by-step-plan {
    margin-bottom: 32px;
}

.bc-step-by-step-plan h3 {
    margin: 0 0 20px 0;
    color: var(--fg);
    font-size: 18px;
}

.bc-plan-phase {
    margin-bottom: 24px;
}

.bc-plan-phase h4 {
    margin: 0 0 16px 0;
    color: var(--fg);
    font-size: 16px;
    padding: 12px 16px;
    background: var(--border);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.bc-plan-steps {
    display: grid;
    gap: 12px;
}

.bc-plan-step {
    background: var(--border);
    border-radius: 8px;
    padding: 16px;
    border-left: 4px solid var(--muted);
}

.bc-plan-step.bc-priority-high {
    border-left-color: var(--bad);
}

.bc-plan-step.bc-priority-medium {
    border-left-color: var(--accent);
}

.bc-plan-step.bc-priority-low {
    border-left-color: var(--ok);
}

.bc-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bc-step-header h5 {
    margin: 0;
    color: var(--fg);
    font-size: 14px;
}

.bc-step-priority {
    background: var(--muted);
    color: var(--bg);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.bc-plan-step.bc-priority-high .bc-step-priority {
    background: var(--bad);
}

.bc-plan-step.bc-priority-medium .bc-step-priority {
    background: var(--accent);
}

.bc-plan-step.bc-priority-low .bc-step-priority {
    background: var(--ok);
}

.bc-plan-step p {
    margin: 0 0 12px 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.bc-step-details {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.bc-step-details span {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.bc-step-impact {
    color: var(--fg);
    font-size: 12px;
}

/* Priority Recommendations */
.bc-priority-recommendations {
    margin-bottom: 32px;
}

.bc-priority-recommendations h3 {
    margin: 0 0 20px 0;
    color: var(--fg);
    font-size: 18px;
}

.bc-priority-list {
    display: grid;
    gap: 16px;
}

.bc-priority-item {
    background: var(--border);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--muted);
}

.bc-priority-item.bc-priority-critical {
    border-left-color: var(--bad);
    background: rgba(255, 107, 157, 0.05);
}

.bc-priority-item.bc-priority-high {
    border-left-color: var(--bad);
}

.bc-priority-item.bc-priority-medium {
    border-left-color: var(--accent);
}

.bc-priority-item.bc-priority-low {
    border-left-color: var(--ok);
}

.bc-priority-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.bc-priority-type {
    background: var(--primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.bc-priority-level {
    background: var(--muted);
    color: var(--bg);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.bc-priority-item.bc-priority-critical .bc-priority-level {
    background: var(--bad);
}

.bc-priority-item.bc-priority-high .bc-priority-level {
    background: var(--bad);
}

.bc-priority-item.bc-priority-medium .bc-priority-level {
    background: var(--accent);
}

.bc-priority-item.bc-priority-low .bc-priority-level {
    background: var(--ok);
}

.bc-priority-item h4 {
    margin: 0 0 8px 0;
    color: var(--fg);
    font-size: 16px;
}

.bc-priority-item p {
    margin: 0 0 12px 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.bc-priority-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.bc-priority-details span {
    color: var(--muted);
    font-size: 12px;
}

/* Budget Recommendations */
.bc-budget-recommendations {
    margin-bottom: 32px;
}

.bc-budget-recommendations h3 {
    margin: 0 0 20px 0;
    color: var(--fg);
    font-size: 18px;
}

.bc-budget-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.bc-budget-option {
    background: var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.bc-budget-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.bc-budget-option h4 {
    margin: 0 0 12px 0;
    color: var(--fg);
    font-size: 16px;
}

.bc-budget-amount {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.bc-budget-option p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

/* Implementation Timeline */
.bc-implementation-timeline {
    margin-bottom: 32px;
}

.bc-implementation-timeline h3 {
    margin: 0 0 20px 0;
    color: var(--fg);
    font-size: 18px;
}

.bc-timeline {
    display: grid;
    gap: 20px;
}

.bc-timeline-item {
    background: var(--border);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--primary);
}

.bc-timeline-item h4 {
    margin: 0 0 12px 0;
    color: var(--fg);
    font-size: 16px;
}

.bc-timeline-item ul {
    margin: 0;
    padding-left: 20px;
}

.bc-timeline-item li {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 4px;
}

/* Fix Plan Actions */
.bc-fix-plan-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.bc-fix-plan-actions .bc-btn {
    min-width: 160px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bc-fix-plan-modal {
        padding: 10px;
    }
    
    .bc-fix-plan-modal-content {
        max-height: 95vh;
    }
    
    .bc-fix-plan-modal-header,
    .bc-fix-plan-modal-body {
        padding: 16px;
    }
    
    .bc-performance-metrics {
        grid-template-columns: 1fr;
    }
    
    .bc-funnel-stages {
        grid-template-columns: 1fr;
    }
    
    .bc-budget-options {
        grid-template-columns: 1fr;
    }
    
    .bc-fix-plan-actions {
        flex-direction: column;
    }
    
    .bc-fix-plan-actions .bc-btn {
        width: 100%;
    }
}

/* User Info Shortcode Styles - Matching Keywords Architecture */
.bc-user-info-container {
    max-width: 100%;
    margin: 0 auto;
}

.bc-user-info-container .bc-card {
    margin-bottom: 0;
}

.bc-user-info-header {
    margin-bottom: 20px;
}

.bc-user-info-header h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--fg);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bc-user-info-description {
    margin-top: 16px;
}

.bc-user-info-description p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.bc-user-info-section {
    margin-top: 20px;
}

.bc-user-info-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.bc-user-info-field {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    min-height: 120px;
    gap: 0;
}

.bc-user-info-field:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

.bc-user-info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--fg);
    font-size: 14px;
    width: 100%;
}

.bc-field-icon {
    font-size: 16px;
}

.bc-field-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
}

/* Input styling matching login page */
.bc-user-info-field .bc-form-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid #2d2d44;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff !important; /* Ensure text stays white */
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.bc-user-info-field .bc-form-input::placeholder {
    color: #9ca3af;
}

.bc-user-info-field .bc-form-input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff !important; /* Ensure text stays white when focused */
}

.bc-user-info-field .bc-form-input[readonly] {
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    border-color: #2d2d44;
    color: #ffffff !important; /* Ensure text stays white when readonly */
}

/* Editing state styling */
.bc-user-info-field .bc-form-input.bc-editing {
    background: rgba(0, 0, 0, 0.6);
    border-color: #8b5cf6;
    color: #ffffff !important; /* Ensure text stays white when editing */
    cursor: text;
}

/* Edit button styles removed - using click-to-edit instead */

.bc-user-info-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* Use standard bc-btn styling for consistency */
.bc-user-info-actions .bc-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.bc-user-info-actions .bc-btn--primary {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.3);
}

.bc-user-info-actions .bc-btn--primary:hover:not(:disabled) {
    /* Keep original colors on hover */
    background: linear-gradient(135deg, #059669, #047857) !important;
    transform: none !important;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.3) !important;
    color: white !important;
    text-decoration: none;
}

.bc-user-info-actions .bc-btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.bc-user-info-actions .bc-btn--secondary {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

.bc-user-info-actions .bc-btn--secondary:hover {
    /* Keep original colors on hover */
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    transform: none !important;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3) !important;
    color: white !important;
    text-decoration: none;
}

.bc-user-info-messages {
    margin-top: 20px;
}

.bc-message {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.bc-message-success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.bc-message-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.bc-message .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.bc-user-info-login-required {
    text-align: center;
    padding: 40px 20px;
}

.bc-user-info-login-required h3 {
    margin: 0 0 16px 0;
    color: var(--fg);
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bc-user-info-login-required p {
    margin: 0 0 20px 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Use standard bc-btn styling for login links */
.bc-user-info-login-required .bc-btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 8px;
}

.bc-user-info-login-required .bc-btn--primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
}

.bc-user-info-login-required .bc-btn--primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(139, 92, 246, 0.4);
    color: white;
    text-decoration: none;
}

.bc-user-info-login-required .bc-btn--secondary {
    background: linear-gradient(135deg, #374151, #4b5563);
    color: white;
    box-shadow: 0 2px 4px rgba(55, 65, 81, 0.3);
}

.bc-user-info-login-required .bc-btn--secondary:hover {
    background: linear-gradient(135deg, #4b5563, #6b7280);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(55, 65, 81, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design for User Info Shortcode */
@media (max-width: 768px) {
    .bc-user-info-container {
        margin: 0 10px;
        padding: 16px;
    }

    .bc-result {
        margin-top: 24px;
        padding: 0px;
        backdrop-filter: blur(10px);
    }

    .bc-card {
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 20px;
        background: var(--bg);
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
        margin-bottom: 16px;
    }
    
    .bc-user-info-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .bc-user-info-field {
        min-height: 100px;
        padding: 14px;
    }
    
    .bc-user-info-header h2 {
        font-size: 20px;
    }
    
    .bc-user-info-input {
        font-size: 14px;
    }
    
    /* Edit button styles removed - using click-to-edit instead */
    
    .bc-user-info-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .bc-save-btn,
    .bc-cancel-btn {
        width: 100%;
        min-width: auto;
    }
}