/* Main Container */
.cscf-settings-wrap {
    margin: 20px 20px 0 0;
    font-family: 'Inter', sans-serif;
}

/* Header */
.cscf-header {
    margin-bottom: 20px;
}

.cscf-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.cscf-header p {
    color: #6b7280;
    margin: 5px 0 0;
    font-size: 14px;
}

/* Layout */
.cscf-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.cscf-main-content {
    flex: 1;
    /* max-width: 800px; */
}

.cscf-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* Cards */
.cscf-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
}

/* Tabs */
.cscf-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.cscf-tab {
    padding: 10px 20px;
    background: #fff;
    border-radius: 8px;
    color: #4b5563;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.cscf-tab.active {
    background: #6167F8;
    color: #fff;
}

.cscf-tab:hover:not(.active) {
    background: #f9fafb;
    color: #111827;
}

/* Analytics Header */
.cscf-analytics-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cscf-analytics-icon {
    color: #6167F8;
    font-size: 24px;
}

.cscf-analytics-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.cscf-analytics-subtitle {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Feature List */
.cscf-feature-rows {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.cscf-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #4b5563;
}

.cscf-check-circle {
    width: 30px;
    height: 30px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    font-size: 20px;
    flex-shrink: 0;
}

/* Privacy Box */
.cscf-privacy-box {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.cscf-privacy-icon {
    color: #2563eb;
    font-size: 18px;
}

.cscf-privacy-text {
    font-size: 16px;
    color: #1e40af;
    font-weight: 600;
}

/* Status Section */
.cscf-status-section {
    margin-bottom: 25px;
}

.cscf-status-label {
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 10px;
    display: block;
}

.cscf-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.cscf-status-badge.disabled {
    background: #fee2e2;
    color: #991b1b;
}

.cscf-status-badge.enabled {
    background: #dcfce7;
    color: #166534;
}

/* Action Buttons */
.cscf-action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
}

.cscf-btn-enable {
    background: linear-gradient(135deg, #6167F8 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(97, 103, 248, 0.5);
    animation: strong-pulse 1.5s infinite;
    position: relative;
    overflow: hidden;
}

.cscf-btn-enable::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer-sweep 2s infinite;
}

@keyframes shimmer-sweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes strong-pulse {

    0%,
    100% {
        box-shadow: 0 6px 25px rgba(97, 103, 248, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 8px 35px rgba(97, 103, 248, 0.7);
        transform: scale(1.02);
    }
}

.cscf-btn-enable:hover {
    background: linear-gradient(135deg, #4f54e6 0%, #7c3aed 100%);
    color: white;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 40px rgba(97, 103, 248, 0.6);
}

.cscf-btn-enable:active {
    transform: translateY(0) scale(1);
}

.cscf-btn-enable .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.cscf-btn-disable {
    background: transparent;
    color: #9ca3af;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    text-decoration: underline;
    opacity: 0.7;
}

.cscf-btn-disable:hover {
    color: #6b7280;
    opacity: 1;
}

.cscf-btn-disable .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Secondary Button (Disabled state when tracking is ON) */
.cscf-btn-secondary {
    background: #e5e7eb;
    color: #6b7280;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
    cursor: not-allowed;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.6;
}

.cscf-btn-secondary .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Active Disable Button (When tracking is ON) */
.cscf-btn-disable-active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.cscf-btn-disable-active:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.cscf-btn-disable-active .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Simple Text Link Button (for disable when ENABLED) */
.cscf-btn-text-link {
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px;
    text-decoration: underline;
}

.cscf-btn-text-link:hover {
    color: #dc2626;
}

/* CTA Block */
.cscf-cta-block {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border: 2px solid #c4b5fd;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: center;
}

.cscf-cta-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cscf-cta-star {
    color: #f59e0b;
    font-size: 24px !important;
    animation: star-pulse 1.5s ease-in-out infinite;
}

@keyframes star-pulse {

    0%,
    100% {
        transform: scale(1);
        color: #f59e0b;
    }

    50% {
        transform: scale(1.2);
        color: #fbbf24;
    }
}

.cscf-cta-title {
    font-size: 20px;
    font-weight: 800;
    color: #5b21b6;
}

.cscf-cta-text {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.cscf-cta-block .cscf-btn-enable {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

/* Premium CTA Block */
.cscf-premium-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.cscf-premium-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.cscf-cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.cscf-cta-headline {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cscf-cta-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.cscf-trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.cscf-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
}

.cscf-trust-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Mega Button with Shimmer */
.cscf-mega-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    color: #764ba2;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cscf-mega-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.cscf-btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.cscf-btn-icon {
    font-size: 22px;
}

.cscf-btn-text {
    position: relative;
    z-index: 1;
}

.cscf-social-proof {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

/* Skip Action */
.cscf-skip-action {
    text-align: center;
    margin-top: 15px;
}

.cscf-btn-skip {
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    padding: 8px 16px;
}

.cscf-btn-skip:hover {
    color: #6b7280;
}

/* Sidebar New Design */
.cscf-sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.cscf-star-icon {
    color: #f59e0b;
    font-size: 20px !important;
}

.cscf-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.cscf-sidebar-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 20px 0;
}

/* Plugin Card */
.cscf-plugin-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 25px 20px;
    margin-bottom: 15px;
    text-align: center;
    transition: all 0.2s;
}

.cscf-plugin-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cscf-plugin-card.featured {
    border-color: #c4b5fd;
    background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
}

.cscf-plugin-icon-large {
    margin-bottom: 15px;
}

.cscf-plugin-icon-large img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.cscf-plugin-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.cscf-plugin-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.cscf-plugin-badge.free {
    background: #dcfce7;
    color: #166534;
}

.cscf-plugin-badge.featured {
    background: #6167F8;
    color: white;
}

.cscf-plugin-description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.cscf-plugin-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #6167F8 0%, #8b5cf6 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(97, 103, 248, 0.3);
}

.cscf-plugin-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(97, 103, 248, 0.4);
    color: white;
}

.cscf-plugin-cta .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}