/* Campaign Creator Wizard */
.cc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background, #0f172a);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cc-overlay.active {
    opacity: 1;
}

.cc-modal {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Nav */
.cc-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.cc-nav h3 {
    font-size: 18px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
    white-space: nowrap;
}

.cc-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cc-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

/* Steps indicator */
.cc-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.cc-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #475569;
    transition: all 0.2s ease;
}

.cc-step-item.active {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.cc-step-item.done {
    color: #10b981;
}

.cc-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    color: #64748b;
    flex-shrink: 0;
}

.cc-step-item.active .cc-step-num {
    background: rgba(139, 92, 246, 0.3);
    color: #a78bfa;
}

.cc-step-item.done .cc-step-num {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

/* Body */
.cc-body {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    display: flex;
    justify-content: center;
}

.cc-step-content {
    max-width: 800px;
    width: 100%;
}

.cc-step-header {
    margin-bottom: 32px;
}

.cc-step-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 8px 0;
}

.cc-step-header p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

/* Footer */
.cc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.cc-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.cc-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.4);
}

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

.cc-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cc-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

.cc-btn-launch {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.cc-btn-launch:hover {
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}

/* Objective Cards */
.cc-objectives-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cc-objective-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cc-objective-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.cc-objective-card.selected {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.08);
}

.cc-objective-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    font-size: 18px;
    flex-shrink: 0;
}

.cc-objective-card.selected .cc-objective-icon {
    background: rgba(139, 92, 246, 0.25);
}

.cc-objective-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 2px 0;
}

.cc-objective-info p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.cc-objective-check {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.08);
    font-size: 20px;
    flex-shrink: 0;
}

.cc-objective-card.selected .cc-objective-check {
    color: #8b5cf6;
}

/* Form Fields */
.cc-field {
    margin-bottom: 20px;
}

.cc-field label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cc-optional {
    font-weight: 400;
    text-transform: none;
    color: #475569;
    font-size: 12px;
}

.cc-char-count {
    font-weight: 400;
    text-transform: none;
    color: #475569;
    font-size: 12px;
}

.cc-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.cc-input:focus {
    border-color: rgba(139, 92, 246, 0.5);
}

.cc-input::placeholder {
    color: #475569;
}

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

select.cc-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.cc-input-icon {
    position: relative;
}

.cc-input-prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
}

.cc-input-with-prefix {
    padding-left: 32px;
}

.cc-fields-row {
    display: flex;
    gap: 16px;
}

.cc-fields-row .cc-field {
    flex: 1;
}

/* Budget */
.cc-budget-presets {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.cc-preset {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cc-preset:hover {
    background: rgba(255, 255, 255, 0.08);
}

.cc-preset.active {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
}

.cc-budget-estimate {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 10px;
    margin-top: 20px;
}

.cc-budget-estimate i {
    color: #8b5cf6;
    font-size: 14px;
}

.cc-budget-estimate span {
    font-size: 14px;
    color: #94a3b8;
}

.cc-budget-estimate strong {
    color: #f1f5f9;
}

/* Tags Input */
.cc-tags-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    transition: border-color 0.2s ease;
}

.cc-tags-input:focus-within {
    border-color: rgba(139, 92, 246, 0.5);
}

.cc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cc-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 6px;
    font-size: 13px;
    color: #a78bfa;
}

.cc-tag i {
    cursor: pointer;
    font-size: 10px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.cc-tag i:hover {
    opacity: 1;
}

.cc-tag-input {
    flex: 1;
    min-width: 120px;
    background: none;
    border: none;
    outline: none;
    color: #f1f5f9;
    font-size: 14px;
    padding: 4px 0;
}

.cc-tag-input::placeholder {
    color: #475569;
}

.cc-field-hint {
    font-size: 12px;
    color: #475569;
    margin-top: 6px;
}

/* AI Suggest Button */
.cc-ai-suggest-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: #a78bfa;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.cc-ai-suggest-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(99, 102, 241, 0.25));
}

.cc-ai-suggest-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Ad Copy Section */
.cc-adcopy-section {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.cc-adcopy-form {
    min-width: 0;
}

/* Ad Preview */
.cc-ad-preview {
    position: sticky;
    top: 0;
}

.cc-preview-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.cc-preview-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.cc-preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
}

.cc-preview-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
}

.cc-preview-page {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}

.cc-preview-meta {
    font-size: 11px;
    color: #65676b;
}

.cc-preview-body {
    padding: 0 14px 12px;
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.4;
}

.cc-preview-image {
    width: 100%;
    height: 160px;
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #65676b;
    font-size: 14px;
}

.cc-preview-image i {
    font-size: 32px;
    opacity: 0.4;
}

.cc-preview-bottom {
    padding: 12px 14px;
    background: #f0f2f5;
    border-top: 1px solid #e4e6eb;
}

.cc-preview-link {
    font-size: 11px;
    color: #65676b;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cc-preview-headline {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.cc-preview-cta {
    display: inline-block;
    padding: 6px 16px;
    background: #e4e6eb;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Review */
.cc-review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
}

.cc-review-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.cc-review-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    flex-shrink: 0;
    width: 140px;
}

.cc-review-value {
    font-size: 14px;
    color: #f1f5f9;
    text-align: right;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.cc-review-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 10px;
    margin-top: 20px;
}

.cc-review-note i {
    color: #3b82f6;
    font-size: 14px;
    flex-shrink: 0;
}

.cc-review-note span {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

/* Success */
.cc-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px;
}

.cc-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #10b981;
    margin-bottom: 24px;
}

.cc-success h2 {
    font-size: 28px;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 12px 0;
}

.cc-success p {
    font-size: 15px;
    color: #64748b;
    max-width: 400px;
    line-height: 1.5;
    margin: 0 0 32px 0;
}

.cc-success-actions {
    display: flex;
    gap: 12px;
}

/* Create Campaign Button */
.btn-create-campaign {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
}

/* Creative Upload */
.cc-creative-section {
    max-width: 560px;
}

.cc-upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.cc-upload-area:hover {
    border-color: rgba(139, 92, 246, 0.4);
}

.cc-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    cursor: pointer;
    text-align: center;
}

.cc-upload-placeholder i {
    font-size: 40px;
    color: #8b5cf6;
    margin-bottom: 16px;
    opacity: 0.7;
}

.cc-upload-placeholder h4 {
    font-size: 16px;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 6px 0;
}

.cc-upload-placeholder p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.cc-upload-formats {
    margin-top: 8px !important;
    font-size: 12px !important;
    color: #475569 !important;
}

.cc-upload-preview {
    position: relative;
}

.cc-upload-preview img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

.cc-remove-image {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cc-remove-image:hover {
    background: rgba(239, 68, 68, 0.8);
}

.cc-upload-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}

.cc-upload-divider::before,
.cc-upload-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.cc-upload-divider span {
    font-size: 13px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cc-url-input-row {
    display: flex;
    gap: 8px;
}

.cc-url-input-row .cc-input {
    flex: 1;
}

.cc-load-url-btn {
    padding: 12px 18px !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.cc-creative-tips {
    margin-top: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.cc-creative-tips h4 {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-creative-tips h4 i {
    color: #eab308;
}

.cc-creative-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cc-creative-tips li {
    font-size: 13px;
    color: #64748b;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.cc-creative-tips li::before {
    content: '•';
    position: absolute;
    left: 6px;
    color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
    .cc-nav {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .cc-steps {
        order: 3;
        width: 100%;
        overflow-x: auto;
        margin-left: 0;
    }
    
    .cc-step-item span {
        display: none;
    }
    
    .cc-body {
        padding: 24px 16px;
    }
    
    .cc-step-header h2 {
        font-size: 22px;
    }
    
    .cc-footer {
        padding: 12px 16px;
    }
    
    .cc-adcopy-section {
        grid-template-columns: 1fr;
    }
    
    .cc-ad-preview {
        position: static;
    }
    
    .cc-fields-row {
        flex-direction: column;
        gap: 0;
    }
    
    .cc-budget-presets {
        flex-wrap: wrap;
    }
    
    .cc-success-actions {
        flex-direction: column;
    }
    
    .cc-review-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .cc-review-value {
        text-align: left;
        justify-content: flex-start;
    }
    
    .cc-toggle-group {
        flex-direction: column;
    }
}

/* Toggle Group (CBO/ABO, Daily/Lifetime, Automatic/Manual) */
.cc-toggle-group {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.cc-toggle-btn {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cc-toggle-btn:hover {
    background: rgba(255,255,255,0.06);
    color: #e2e8f0;
}

.cc-toggle-btn.active {
    background: rgba(139,92,246,0.12);
    border-color: rgba(139,92,246,0.4);
    color: #a78bfa;
}

/* Checkbox Group (Special Ad Categories) */
.cc-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.1s;
    font-size: 13px;
    color: #cbd5e1;
}

.cc-checkbox-label:hover {
    background: rgba(255,255,255,0.04);
}

.cc-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #8b5cf6;
    cursor: pointer;
    flex-shrink: 0;
}

/* Placements */
.cc-placements-section {
    max-width: 600px;
}

.cc-placement-auto-info {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: rgba(16,185,129,0.06);
    border: 1px solid rgba(16,185,129,0.15);
    border-radius: 12px;
}

.cc-placement-auto-info h4 {
    margin: 0 0 4px;
    font-size: 14px;
    color: #f1f5f9;
}

.cc-placement-auto-info p {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

.cc-placement-manual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cc-placement-group {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 16px;
}

.cc-placement-platform {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8b5cf6;
}

/* Interest Search Results Dropdown */
.cc-interest-results {
    background: rgba(30,41,59,0.98);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-top: 4px;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.cc-interest-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.1s;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cc-interest-result-item:last-child {
    border-bottom: none;
}

.cc-interest-result-item:hover {
    background: rgba(139,92,246,0.1);
}

.cc-interest-result-name {
    font-size: 13px;
    color: #e2e8f0;
    font-weight: 500;
}

.cc-interest-result-size {
    font-size: 11px;
    color: #64748b;
}

/* Ad Setup Step */
.cc-adsetup-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 640px;
}

.cc-setup-card {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    background: rgba(255,255,255,0.02);
}

.cc-setup-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-setup-card-title i {
    color: #8b5cf6;
    font-size: 14px;
}

/* AI Help Button */
.cc-ai-help-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

.cc-ai-help-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    color: #c4b5fd;
}

.cc-ai-help-btn i {
    font-size: 14px;
}

/* Pages Error / Reconnect */
.cc-pages-error {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    font-size: 12px;
    color: #fca5a5;
    flex-wrap: wrap;
}

.cc-pages-error i {
    color: #f87171;
    flex-shrink: 0;
}

.cc-reconnect-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: auto;
}

.cc-reconnect-btn:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Fields Row */
.cc-fields-row {
    display: flex;
    gap: 16px;
}

@media (max-width: 600px) {
    .cc-fields-row {
        flex-direction: column;
    }
}
