/* Comment Image Boost admin styles. */

.ciboost-quality-slider {
                    width: 300px;
                    vertical-align: middle;
                    margin-right: 10px;
                }
                .ciboost-quality-value {
                    display: inline-block;
                    min-width: 40px;
                    padding: 4px 12px;
                    background: #667eea;
                    color: #fff;
                    border-radius: 4px;
                    font-weight: 600;
                    text-align: center;
                }

.ciboost-admin-wrap {
                    margin: 0 20px 0 0;
                }

                .ciboost-admin-header {
                    background:
                        linear-gradient(135deg, rgba(20, 184, 166, 0.18) 0%, rgba(20, 184, 166, 0) 36%),
                        linear-gradient(120deg, #0f172a 0%, #1d4ed8 58%, #0f766e 100%);
                    color: #fff;
                    padding: 42px 48px;
                    border-radius: 0 0 8px 8px;
                    margin: 2rem 0;
                    min-height: 118px;
                    display: flex;
                    align-items: center;
                    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22);
                }

                .ciboost-admin-header-content {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    gap: 22px;
                    width: 100%;
                    max-width: 1280px;
                }

                .ciboost-admin-header-title {
                    display: flex;
                    align-items: center;
                    gap: 22px;
                    min-width: 0;
                }

                .ciboost-admin-header h1 {
                    color: #fff;
                    font-size: 34px;
                    line-height: 1.15;
                    margin: 0 0 8px 0;
                    font-weight: 650;
                }

                .ciboost-admin-logo-wrap {
                    width: 64px;
                    height: 64px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background: rgba(255, 255, 255, 0.14);
                    border: 1px solid rgba(255, 255, 255, 0.28);
                    border-radius: 8px;
                    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 30px rgba(15, 23, 42, 0.22);
                }

                .ciboost-admin-logo {
                    width: 40px;
                    height: 40px;
                    display: block;
                    object-fit: contain;
                }

                .ciboost-admin-notices {
                    margin: 0 0 24px 0;
                }

                .ciboost-admin-notices:empty {
                    display: none;
                }

                .ciboost-admin-notices .notice,
                .ciboost-admin-notices .updated,
                .ciboost-admin-notices .error {
                    margin: 0 0 12px 0;
                }

                #setting-error-ciboost_comment_images_message p{
                    color: #111111;
                }

                .ciboost-pending-email-card {
                    display: flex;
                    gap: 20px;
                    align-items: flex-start;
                    background: #111827;
                    color: #fff;
                    border-radius: 8px;
                    border-left: 5px solid #3b82f6;
                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
                    margin: 0 0 24px 0;
                    padding: 28px 30px;
                }

                .ciboost-pending-email-icon {
                    width: 44px;
                    height: 44px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex: 0 0 44px;
                    background: rgba(59, 130, 246, 0.18);
                    color: #bfdbfe;
                    border-radius: 8px;
                }

                .ciboost-pending-email-icon .dashicons {
                    width: 24px;
                    height: 24px;
                    font-size: 24px;
                }

                .ciboost-pending-email-content h2 {
                    margin: 0 0 8px 0;
                    color: #fff;
                    font-size: 20px;
                    line-height: 1.25;
                }

                .ciboost-pending-email-content p {
                    margin: 0 0 10px 0;
                    color: #e5e7eb;
                    font-size: 14px;
                    line-height: 1.55;
                    max-width: 820px;
                }

                .ciboost-pending-email-content .ciboost-pending-email-note {
                    color: #cbd5e1;
                }

                .ciboost-pending-email-actions {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 10px;
                    margin-top: 14px;
                }

                .ciboost-pending-email-actions .button {
                    min-height: 40px;
                    padding: 6px 18px;
                    border-radius: 4px;
                    font-weight: 600;
                }

                .ciboost-pending-email-actions .button:not(.button-primary) {
                    border-color: rgba(255, 255, 255, 0.55);
                    background: transparent;
                    color: #fff;
                }

                .ciboost-pending-email-actions .button:not(.button-primary):hover,
                .ciboost-pending-email-actions .button:not(.button-primary):focus {
                    border-color: #fff;
                    background: rgba(255, 255, 255, 0.08);
                    color: #fff;
                }

                .ciboost-admin-subtitle {
                    margin: 0;
                    color: rgba(255, 255, 255, 0.88);
                    font-size: 16px;
                    max-width: 760px;
                }

                .ciboost-admin-container {
                    display: grid;
                    grid-template-columns: 1fr 380px;
                    gap: 30px;
                }

                .ciboost-settings-card {
                    background: #fff;
                    border-radius: 8px;
                    padding: 30px;
                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
                }

                .ciboost-upgrade-card {
                    background: #111827;
                    color: #fff;
                    border-radius: 8px;
                    padding: 28px 30px;
                    margin-bottom: 24px;
                    border-left: 5px solid #f59e0b;
                }

                .ciboost-upgrade-card h2 {
                    color: #fff;
                    margin: 0 0 8px 0;
                }

                .ciboost-upgrade-card p {
                    color: #e5e7eb;
                    margin: 0 0 18px 0;
                    max-width: 760px;
                }

                .ciboost-settings-card h2 {
                    margin-top: 0;
                    padding-bottom: 15px;
                    border-bottom: 2px solid #f0f0f1;
                    color: #1d2327;
                }

                .ciboost-settings-card table {
                    margin-top: 0;
                }

                .ciboost-settings-card .form-table th {
                    padding-left: 0;
                    font-weight: 600;
                    color: #1d2327;
                }

                .ciboost-settings-card .button-hero {
                    padding: 12px 30px !important;
                    height: auto !important;
                    font-size: 16px !important;
                    margin-top: 10px;
                }

                .ciboost-info-card {
                    background: #fff;
                    border-radius: 8px;
                    padding: 25px;
                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
                    margin-bottom: 20px;
                }

                .ciboost-info-card h3 {
                    margin: 0 0 20px 0;
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    color: #1d2327;
                    font-size: 18px;
                }

                .ciboost-info-card h3 .dashicons {
                    color: #667eea;
                }

                .ciboost-steps-list {
                    margin: 0;
                    padding-left: 20px;
                    counter-reset: step-counter;
                    list-style: none;
                }

                .ciboost-steps-list li {
                    position: relative;
                    margin-bottom: 20px;
                    padding-left: 15px;
                }

                .ciboost-steps-list li:before {
                    counter-increment: step-counter;
                    content: counter(step-counter);
                    position: absolute;
                    left: -20px;
                    top: 0;
                    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                    color: #fff;
                    width: 24px;
                    height: 24px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 12px;
                    font-weight: bold;
                }

                .ciboost-steps-list li strong {
                    display: block;
                    margin-bottom: 5px;
                    color: #1d2327;
                }

                .ciboost-steps-list li p {
                    margin: 0;
                    color: #646970;
                    font-size: 13px;
                    line-height: 1.5;
                }

                .ciboost-features-card {
                    background: linear-gradient(135deg, #f6f7fb 0%, #f0f0f5 100%);
                }

                .ciboost-features-list {
                    margin: 0;
                    padding: 0;
                    list-style: none;
                }

                .ciboost-features-list li {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    margin-bottom: 10px;
                    color: #1d2327;
                    font-size: 14px;
                }

                .ciboost-features-list li .dashicons {
                    color: #00a32a;
                    font-size: 18px;
                    width: 18px;
                    height: 18px;
                }

                .ciboost-diagnostics-list {
                    margin: 0 0 12px 0;
                    padding: 0;
                    list-style: none;
                }

                .ciboost-diagnostics-list li {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    margin-bottom: 8px;
                    color: #1d2327;
                    font-size: 13px;
                }

                .ciboost-diagnostics-list .dashicons-yes {
                    color: #00a32a;
                }

                .ciboost-diagnostics-list .dashicons-warning {
                    color: #dba617;
                }

                .ciboost-tabs-nav {
                    display: flex;
                    gap: 0;
                    border-bottom: 2px solid #e5e7eb;
                    margin: -30px -30px 24px -30px;
                    padding: 0 30px;
                }

                .ciboost-tab {
                    background: none;
                    border: none;
                    padding: 14px 24px;
                    font-size: 14px;
                    font-weight: 600;
                    color: #6b7280;
                    cursor: pointer;
                    border-bottom: 2px solid transparent;
                    margin-bottom: -2px;
                    transition: color 0.2s, border-color 0.2s;
                    white-space: nowrap;
                }

                .ciboost-tab:hover {
                    color: #1d2327;
                }

                .ciboost-tab.active {
                    color: #1d4ed8;
                    border-bottom-color: #1d4ed8;
                }

                .ciboost-tab-panel {
                    display: none;
                }

                .ciboost-tab-panel.active {
                    display: block;
                }

                .ciboost-compression-panel {
                    display: none;
                    margin-top: 24px;
                    padding-top: 24px;
                    border-top: 1px solid #e5e7eb;
                }

                .ciboost-compression-panel.active {
                    display: block;
                }

                /* PRO badge */
                .ciboost-pro-badge {
                    display: inline-block;
                    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
                    color: #fff;
                    font-size: 10px;
                    font-weight: 700;
                    line-height: 1;
                    padding: 3px 7px;
                    border-radius: 3px;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                    vertical-align: middle;
                    margin-left: 6px;
                }

                .ciboost-field-pro-locked {
                    opacity: 0.55;
                    cursor: default;
                }

                .ciboost-field-pro-locked input[disabled] {
                    cursor: default;
                }

                /* Pro locked overlay */
                .ciboost-pro-locked-overlay {
                    position: relative;
                    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
                    border: 2px dashed #cbd5e1;
                    border-radius: 8px;
                    padding: 48px 32px;
                    text-align: center;
                    margin-bottom: 24px;
                }

                .ciboost-pro-locked-content .dashicons-lock {
                    font-size: 40px;
                    width: 40px;
                    height: 40px;
                    color: #94a3b8;
                    margin-bottom: 12px;
                }

                .ciboost-pro-locked-content h3 {
                    margin: 0 0 8px 0;
                    font-size: 20px;
                    color: #1e293b;
                }

                .ciboost-pro-locked-content p {
                    color: #64748b;
                    margin: 0 0 20px 0;
                    max-width: 480px;
                    margin-left: auto;
                    margin-right: auto;
                    font-size: 14px;
                    line-height: 1.6;
                }

                .ciboost-pro-locked-overlay ~ * {
                    opacity: 0.3;
                    pointer-events: none;
                    user-select: none;
                }

                /* Pro disclaimer (Pro tab for free users) */
                .ciboost-pro-disclaimer {
                    text-align: center;
                    padding: 40px 24px;
                }

                .ciboost-pro-disclaimer .dashicons-lock {
                    font-size: 40px;
                    width: 40px;
                    height: 40px;
                    color: #94a3b8;
                    margin-bottom: 12px;
                }

                .ciboost-pro-disclaimer h3 {
                    margin: 0 0 8px 0;
                    font-size: 20px;
                    color: #1e293b;
                }

                .ciboost-pro-disclaimer p {
                    color: #64748b;
                    margin: 0 0 20px 0;
                    max-width: 520px;
                    margin-left: auto;
                    margin-right: auto;
                    font-size: 14px;
                    line-height: 1.6;
                }

                .ciboost-pro-disclaimer-list {
                    list-style: none;
                    margin: 0 auto 24px auto;
                    padding: 0;
                    max-width: 400px;
                    text-align: left;
                }

                .ciboost-pro-disclaimer-list li {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    padding: 6px 0;
                    font-size: 14px;
                    color: #1f2937;
                }

                .ciboost-pro-disclaimer-list li .dashicons {
                    color: #059669;
                    font-size: 18px;
                    width: 18px;
                    height: 18px;
                    flex-shrink: 0;
                }

                @media (max-width: 1280px) {
                    .ciboost-admin-container {
                        grid-template-columns: 1fr;
                    }

                    .ciboost-admin-sidebar {
                        display: grid;
                        grid-template-columns: repeat(2, 1fr);
                        gap: 20px;
                    }
                }

                @media (max-width: 782px) {
                    .ciboost-admin-header {
                        margin-left: -10px;
                        padding: 26px 22px;
                        min-height: auto;
                    }

                    .ciboost-admin-header-content {
                        flex-direction: column;
                        gap: 14px;
                        align-items: flex-start;
                    }

                    .ciboost-admin-header-title {
                        align-items: flex-start;
                        gap: 14px;
                    }

                    .ciboost-admin-logo-wrap {
                        width: 50px;
                        height: 50px;
                        flex: 0 0 50px;
                    }

                    .ciboost-admin-logo {
                        width: 32px;
                        height: 32px;
                    }

                    .ciboost-admin-header h1 {
                        font-size: 25px;
                    }

                    .ciboost-admin-subtitle {
                        font-size: 14px;
                    }

                    .ciboost-admin-sidebar {
                        grid-template-columns: 1fr;
                    }

                    .ciboost-tabs-nav {
                        margin: -30px -30px 20px -30px;
                        padding: 0 16px;
                        overflow-x: auto;
                        -webkit-overflow-scrolling: touch;
                    }

                    .ciboost-tab {
                        padding: 12px 16px;
                        font-size: 13px;
                    }
                }
