﻿.wcm-admin-page {
    max-width: 1200px;
    margin: 20px 0;
}

.wcm-header {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    margin-bottom: 20px;
    position: relative;
}

.wcm-header h1 {
    margin: 0 0 10px 0;
    color: #23282d;
}

.wcm-header p {
    margin: 0;
    color: #666;
}

/* Donate button */
.wcm-donate-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ff6f00 !important;
    border-color: #ff6f00 !important;
    box-shadow: none !important;
}
.wcm-donate-btn:hover { background:#e65100 !important; border-color:#e65100 !important; }

.wcm-messages {
    margin-bottom: 20px;
}

.wcm-message {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.wcm-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wcm-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wcm-category-list {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 0;
    list-style: none;
    margin: 0;
    min-height: 100px;
}

.wcm-category-item {
    border-bottom: 1px solid #f0f0f1;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
    position: relative;
    border-left: 6px solid transparent; /* JS ile renk atanÄ±r */
}
.wcm-category-item.wcm-selected { background: #fff9e6; }
.wcm-category-item.wcm-selected .wcm-drag-handle { border-color:#e0c36e; }

.wcm-category-item:hover {
    background: #f9f9f9;
}

.wcm-category-item:last-child {
    border-bottom: none;
}

.wcm-category-item.ui-sortable-helper {
    background: #e3f2fd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: rotate(1deg);
    opacity: .85; /* sÃ¼rÃ¼kleme sÄ±rasÄ±nda alttaki metinleri gÃ¶rebilin */
}

.wcm-category-item.wcm-dragging {
    opacity: 0.8;
    background: #e3f2fd;
}

.wcm-drag-handle {
    cursor: move;
    color: #666;
    font-size: 16px;
    padding: 8px;
    border-radius: 3px;
    transition: all 0.2s ease;
    background: #f5f5f5;
    border: 1px solid #ddd;
    min-width: 30px;
    text-align: center;
}

.wcm-drag-handle:hover {
    background: #e0e0e0;
    color: #333;
    border-color: #bbb;
}

.wcm-drag-handle:active {
    background: #0073aa;
    color: white;
    border-color: #005a87;
}

.wcm-category-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* AÄŸaÃ§ gÃ¶rÃ¼nÃ¼mÃ¼ iÃ§in sol oluk */
.wcm-tree-gutter {
    --wcm-unit: 16px;
    flex: 0 0 calc(var(--wcm-level, 0) * var(--wcm-unit));
    width: calc(var(--wcm-level, 0) * var(--wcm-unit));
    align-self: stretch;
    position: relative;
    background-image: repeating-linear-gradient(
        to right,
        transparent 0,
        transparent calc(var(--wcm-unit) - 2px),
        #e6edf5 calc(var(--wcm-unit) - 2px),
        #e6edf5 calc(var(--wcm-unit) - 1px)
    );
}

.wcm-tree-gutter::after {
    content: "";
    position: absolute;
    left: calc(100% - var(--wcm-unit));
    top: 0;
    width: var(--wcm-unit);
    height: 100%;
    border-left: 2px solid #c1d4ea;
    border-bottom: 2px solid #c1d4ea;
    
}

.wcm-category-name {
    font-weight: 600;
    color: #23282d;
    font-size: 16px;
}

.wcm-category-level {
    color: #666;
    font-size: 12px;
    background: #f0f0f1;
    padding: 2px 8px;
    border-radius: 12px;
}

.wcm-category-count {
    color: #666;
    font-size: 14px;
}

.wcm-category-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wcm-parent-select {
    min-width: 200px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.wcm-toggle-children {
    background: #0073aa;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.wcm-toggle-children:hover {
    background: #005a87;
}

.wcm-children {
    margin-left: 40px;
    border-left: 2px solid #e0e0e0;
    padding-left: 20px;
}

.wcm-placeholder {
    background: #f0f8ff;
    border: 2px dashed #0073aa;
    height: 60px;
    margin: 5px 0;
    border-radius: 4px;
    position: relative;
}

/* legacy placeholder label disabled in favor of ghost preview */
.wcm-placeholder:before { content: none !important; }

.wcm-loading {
    opacity: 0.6;
    pointer-events: none;
}

.wcm-no-categories {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.wcm-help-text {
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    color: #0066cc;
}

.wcm-help-text h3 {
    margin: 0 0 10px 0;
    color: #0066cc;
}

.wcm-help-text ul {
    margin: 10px 0;
    padding-left: 20px;
}

.wcm-help-text li {
    margin: 5px 0;
}

/* SÃ¼rÃ¼kle-bÄ±rak iÃ§in Ã¶zel stiller */
.wcm-category-item.drag-over {
    background: #e8f5e8;
    border-left: 4px solid #4caf50;
}

.wcm-category-item.drag-over-child {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
}

.wcm-drop-zone {
    height: 20px;
    background: #0073aa;
    border-radius: 2px;
    margin: 2px 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.wcm-drop-zone.active {
    opacity: 1;
}

/* Responsive tasarÄ±m */
@media (max-width: 768px) {
    .wcm-category-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .wcm-category-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .wcm-parent-select {
        min-width: 150px;
    }
}

/* SÃ¼rÃ¼kleme sÄ±rasÄ±nda hedef kategoriler iÃ§in gÃ¶rsel geri bildirim */
.wcm-category-item.wcm-drop-target {
    border-left: 8px solid #2e7d32;
    position: relative;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.25) inset, 0 2px 6px rgba(46,125,50,0.25);
    transform: translateX(0);
    animation: wcm-accept-breathe 1.15s ease-in-out infinite;
}

/* Alt kategori olarak bÄ±rakÄ±lacak hedef satÄ±r, altÄ±na boÅŸluk aÃ§ar (gÃ¶rsel ipucu) */
.wcm-category-item.wcm-opening-child {
    margin-bottom: 12px;
}

.wcm-category-list.wcm-dragging-mode .wcm-category-item.wcm-opening-child::after {
    content: "";
    position: absolute;
    left: calc(20px + var(--wcm-next-indent, 20px));
    right: 20px;
    bottom: -8px;
    height: 18px;
    background: linear-gradient(to bottom, rgba(67,160,71,0.12), rgba(67,160,71,0.20));
    border: 2px dashed #43a047;
    border-top: none;
    border-radius: 0 0 6px 6px;
    pointer-events: none;
    animation: wcm-slot-pulse 900ms ease-in-out infinite;
}

/* Drag modunda, inline arka planÄ± bastÄ±rmak iÃ§in overlay kullan */
.wcm-category-list.wcm-dragging-mode .wcm-category-item.wcm-drop-target::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(76, 175, 80, 0.14);
    border: 2px solid #43a047;
    border-radius: 4px;
    pointer-events: none;
    box-shadow: 0 0 0 3px rgba(67,160,71,.18) inset;
}

.wcm-category-list.wcm-dragging-mode .wcm-category-item.wcm-drop-target::before {
    content: "AltÄ±na bÄ±rak";
    position: absolute;
    right: 12px;
    top: 8px;
    background: #2e7d32;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.6;
}

.wcm-category-item.wcm-drop-child {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.2);
}

.wcm-category-item.wcm-drop-sibling {
    border-left: 8px solid #1976d2;
    position: relative;
    box-shadow: 0 0 0 2px rgba(25,118,210,0.25) inset, 0 2px 6px rgba(25,118,210,0.25);
}

.wcm-category-list.wcm-dragging-mode .wcm-category-item.wcm-drop-sibling::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(33,150,243,0.12);
    border: 2px dashed #2196f3;
    border-radius: 4px;
    pointer-events: none;
}

/* SÃ¼rÃ¼kleme ipuÃ§larÄ± */
.wcm-drop-hint {
    color: #666;
    font-size: 12px;
    font-weight: normal;
    font-style: italic;
    margin-left: 8px;
}

.wcm-drop-target .wcm-drop-hint {
    color: #4caf50;
}

.wcm-drop-child .wcm-drop-hint {
    color: #ff9800;
}

.wcm-drop-sibling .wcm-drop-hint {
    color: #2196f3;
}

/* Merkezde beliren toast bildirimleri */
/* Toast stack at bottom-right for better visibility */
.wcm-toast-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100000;
    pointer-events: none;
}

.wcm-toast {
    position: relative; /* inside stack */
    transform: scale(0.96);
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease;
    background: rgba(50, 50, 50, 0.95);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    max-width: 420px;
    text-align: center;
    font-size: 14px;
}

.wcm-toast.visible { opacity: 1; transform: scale(1); }

.wcm-toast-success { background: #2e7d32; }
.wcm-toast-error { background: #c62828; }
.wcm-toast-info { background: #455a64; }

/* Ek gÃ¶rselleÅŸtirme ve dÃ¼zeltmeler */
.wcm-placeholder {
    height: 48px;
    background: #eef6ff;
    border: 2px dashed #2196f3;
    margin: 0;
}

.wcm-placeholder:before { content: none !important; }

.wcm-drag-preview {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.3;
    max-width: 320px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.wcm-placeholder {
    height: 48px;
    background: #eef6ff;
    border: 2px dashed #2196f3;
    margin: 0;
}

.wcm-placeholder.as-child {
    background: rgba(76, 175, 80, 0.12);
    border-color: #4caf50;
    border-left-width: 6px;
    height: 110px;
}

.wcm-placeholder.as-sibling {
    background: #eef6ff;
    border-color: #2196f3;
}

/* Ã‡ocuk bÄ±rakma iÃ§in hedef etiketi (parent adÄ±nÄ± gÃ¶ster) */
.wcm-category-list .wcm-placeholder.as-child:before { content: none !important; }

.wcm-drag-preview {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.3;
    max-width: 320px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.wcm-category-list.wcm-dragging-mode .wcm-category-item.wcm-drop-target .wcm-category-name::before {
    content: "â†³";
    display: inline-block;
    margin-right: 6px;
    color: #2e7d32;
    opacity: 0.9;
    animation: wcm-arrow-in 700ms ease-in-out infinite alternate;
}

.wcm-category-list.wcm-dragging-mode .wcm-category-item.wcm-drop-target .wcm-tree-gutter {
    background-image: repeating-linear-gradient(
        to right,
        rgba(67, 160, 71, .18) 0,
        rgba(67, 160, 71, .18) calc(var(--wcm-unit) - 2px),
        #43a047 calc(var(--wcm-unit) - 2px),
        #43a047 calc(var(--wcm-unit) - 1px)
    );
}

@keyframes wcm-accept-breathe {
  0%   { box-shadow: 0 0 0 2px rgba(46,125,50,0.25) inset, 0 2px 6px rgba(46,125,50,0.25); }
  50%  { box-shadow: 0 0 0 3px rgba(67,160,71,0.35) inset, 0 4px 10px rgba(67,160,71,0.35); }
  100% { box-shadow: 0 0 0 2px rgba(46,125,50,0.25) inset, 0 2px 6px rgba(46,125,50,0.25); }
}

@keyframes wcm-arrow-in {
  0%   { transform: translateX(-6px); opacity: .6; }
  100% { transform: translateX(0);    opacity: 1; }
}

@keyframes wcm-slot-pulse {
  0%   { opacity: .5; }
  50%  { opacity: 1; }
  100% { opacity: .5; }
}

/* BasitleÅŸtirilmiÅŸ vurgular: karmaÅŸÄ±k overlay yerine tek renkli ÅŸerit/arka plan */
.wcm-parent-target {
    background: rgba(76,175,80,0.08) !important;
    border-left: 6px solid #2e7d32 !important;
    box-shadow: none !important;
    animation: none !important;
}
.wcm-sibling-target {
    background: rgba(33,150,243,0.08) !important;
    border-left: 6px solid #1976d2 !important;
    box-shadow: none !important;
    animation: none !important;
}

.wcm-category-list.wcm-dragging-mode .wcm-category-item.wcm-drop-target::after,
.wcm-category-list.wcm-dragging-mode .wcm-category-item.wcm-drop-target::before { content: none !important; }
.wcm-category-item.wcm-drop-target { box-shadow: none !important; animation: none !important; }
.wcm-category-item.wcm-opening-child { margin-bottom: 0 !important; }
.wcm-category-list.wcm-dragging-mode .wcm-category-item.wcm-opening-child::after { content: none !important; }

/* Liste alanını daralt ve ortala */
.wcm-category-container { max-width: 980px; margin: 0 auto; }

/* Drag modunda kutuları daralt ve dikey boşluğu artır (titremeyi azaltır) */
.wcm-category-list.wcm-dragging-mode .wcm-category-item {
    width: 42%;
    margin: 10px 0; /* öğeler arası dikey boşluk */
    transition: none; /* sürüklemede animasyonları kapat */
}
.ui-sortable-helper.wcm-category-item { /* helper body'ye taşındığı için ayrı kural */
    width: 280px !important;
    max-width: 280px !important;
}
.wcm-category-list.wcm-dragging-mode .wcm-placeholder {
    margin: 12px 0; /* bırakma boşluğunu daha da büyüt */
}
.wcm-category-list.wcm-dragging-mode .wcm-category-actions {
    pointer-events: none; /* sürüklemede gereksiz etkileşimi kapat */
    opacity: .7;
}

/* Küçük ekranlarda daraltmayı biraz daha yumuşat */
@media (max-width: 1024px) {
    .ui-sortable-helper.wcm-category-item { width: 240px !important; max-width: 240px !important; }
}

/* Varsayılan satır genişliğini koru; yalnızca helper dar olsun */
.wcm-category-list.wcm-dragging-mode .wcm-category-item { width: auto !important; }

/* Normal satirlarin genisligini koru; sadece helper dar olsun */
.wcm-category-list.wcm-dragging-mode .wcm-category-item { width: auto; }



/* --- Compactness tweaks for better drag control and readability --- */
.wcm-category-item { padding: 8px 10px; gap: 10px; }
.wcm-category-info { gap: 10px; }
.wcm-category-name { font-size: 14px; }
.wcm-placeholder { height: 36px; }
.wcm-placeholder.as-child { height: 64px; }
.ui-sortable-helper.wcm-category-item { width: 240px !important; max-width: 240px !important; }

/* --- Minimal drag UI (no animations/overlays) --- */
.wcm-category-item.ui-sortable-helper { background: #fff; box-shadow: none; transform: none; opacity: 1; }
.wcm-category-list.wcm-dragging-mode .wcm-category-item.wcm-drop-target::after,
.wcm-category-list.wcm-dragging-mode .wcm-category-item.wcm-drop-target::before { content: none !important; }
.wcm-category-item.wcm-drop-target,
.wcm-category-item.wcm-drop-sibling,
.wcm-parent-target,
.wcm-sibling-target { background: none !important; border-left-color: transparent !important; box-shadow: none !important; animation: none !important; }
.wcm-category-item.wcm-opening-child { margin-bottom: 0 !important; }

/* Simple placeholder ghost row */
.wcm-placeholder { display: flex !important; align-items: center; gap: 10px; padding: 8px 10px; margin: 6px 0 !important; background: rgba(30,136,229,0.06) !important; border: 1px dashed #1e88e5 !important; border-radius: 4px !important; opacity: .85; }
.wcm-placeholder.as-child { background: rgba(67,160,71,0.06) !important; border-color: #43a047 !important; }
.wcm-placeholder .wcm-category-info { display:flex; align-items:center; gap:10px; width:100%; }
.wcm-placeholder .wcm-tree-gutter { --wcm-unit: 16px; flex: 0 0 calc(var(--wcm-level, 0) * var(--wcm-unit)); width: calc(var(--wcm-level, 0) * var(--wcm-unit)); background-image: none; border-left: 2px dashed rgba(0,0,0,0.08); }
.wcm-placeholder .wcm-category-name { color: #333; opacity: .9; }

/* Placeholder mini-badge: As child / As sibling */
.wcm-placeholder { position: relative; }
.wcm-placeholder::after {
    content: attr(data-label);
    position: absolute;
    right: 8px;
    top: 4px;
    background: #eceff1;
    color: #37474f;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.6;
}

/* Disable any legacy before-content on placeholder */
.wcm-category-list .wcm-placeholder.as-child:before { content: none !important; }

/* Minimal dot helper that follows cursor */
/* no cursor ghost; helper stays invisible via inline styles */

/* When dropping as child, make a little space under target */
.wcm-category-item.wcm-opening-child { margin-bottom: 8px; }


/* Modern Header Styles */
.wcm-header-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.wcm-header-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width=\"60\" height=\"60\" viewBox=\"0 0 60 60\" xmlns=\"http://www.w3.org/2000/svg\"%3E%3Cg fill=\"none\" fill-rule=\"evenodd\"%3E%3Cg fill=\"%23ffffff\" fill-opacity=\"0.05\"%3E%3Ccircle cx=\"30\" cy=\"30\" r=\"4\"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}

.wcm-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.wcm-header-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wcm-header-icon {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wcm-header-icon svg {
    color: white;
}

.wcm-header-text h1 {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wcm-header-subtitle {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.wcm-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wcm-donate-btn-modern {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wcm-donate-btn-modern:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.wcm-header-features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.wcm-feature-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wcm-feature-badge svg {
    color: white;
}

/* Modern No Categories State */
.wcm-no-categories {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.wcm-no-categories-icon {
    margin-bottom: 24px;
    color: #6c757d;
}

.wcm-no-categories h3 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: #495057;
    font-weight: 600;
}

.wcm-no-categories p {
    margin: 0 0 24px 0;
    color: #6c757d;
    font-size: 16px;
}

.button-hero {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Modern Help Section */
.wcm-help-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    margin-top: 24px;
    overflow: hidden;
}

.wcm-help-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    transition: all 0.3s ease;
}

.wcm-help-summary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.wcm-help-summary svg {
    color: white;
}

.wcm-help-content {
    padding: 24px;
    background: white;
}

.wcm-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.wcm-help-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.wcm-help-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.wcm-help-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: white;
}

.wcm-help-card h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

.wcm-help-card p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
    font-size: 14px;
}

/* View Toggle Buttons */
.wcm-view-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.wcm-view-toggle .button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.wcm-view-toggle .button.is-active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.wcm-view-toggle .button:not(.is-active):hover {
    background: #f8f9fa;
    border-color: #dee2e6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wcm-header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .wcm-header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .wcm-header-features {
        justify-content: flex-start;
    }
    
    .wcm-help-grid {
        grid-template-columns: 1fr;
    }
}



/* Modern Header Styles */
.wcm-header-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.wcm-header-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width=\"60\" height=\"60\" viewBox=\"0 0 60 60\" xmlns=\"http://www.w3.org/2000/svg\"%3E%3Cg fill=\"none\" fill-rule=\"evenodd\"%3E%3Cg fill=\"%23ffffff\" fill-opacity=\"0.05\"%3E%3Ccircle cx=\"30\" cy=\"30\" r=\"4\"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}

.wcm-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.wcm-header-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wcm-header-icon {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wcm-header-icon svg {
    color: white;
}

.wcm-header-text h1 {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wcm-header-subtitle {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.wcm-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wcm-donate-btn-modern {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wcm-donate-btn-modern:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.wcm-header-features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.wcm-feature-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wcm-feature-badge svg {
    color: white;
}

/* Modern Help Section */
.wcm-help-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    margin-top: 24px;
    overflow: hidden;
}

.wcm-help-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    transition: all 0.3s ease;
}

.wcm-help-summary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.wcm-help-summary svg {
    color: white;
}

.wcm-help-content {
    padding: 24px;
    background: white;
}

.wcm-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.wcm-help-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.wcm-help-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.wcm-help-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: white;
}

.wcm-help-card h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

.wcm-help-card p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wcm-header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .wcm-header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .wcm-header-features {
        justify-content: flex-start;
    }
    
    .wcm-help-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional Modern Header Enhancements */
.wcm-header-modern {
    position: relative;
}

.wcm-header-modern::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.wcm-header-modern h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wcm-header-modern p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Feature badges for header */
.wcm-header-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.wcm-feature-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.wcm-feature-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.wcm-feature-badge svg {
    width: 14px;
    height: 14px;
    color: white;
}

/* Modern donate button */
.wcm-donate-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.wcm-donate-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    color: white !important;
    text-decoration: none !important;
}

/* Enhanced help section */
.wcm-help-section {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.wcm-help-summary {
    border: none;
    outline: none;
}

.wcm-help-summary::-webkit-details-marker {
    display: none;
}

.wcm-help-summary::marker {
    display: none;
}

/* View toggle buttons enhancement */
.wcm-view-toggle {
    margin-bottom: 24px;
}

.wcm-view-toggle .button {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wcm-view-toggle .button.is-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.wcm-view-toggle .button:not(.is-active) {
    background: white;
    border-color: #dee2e6;
    color: #495057;
}

.wcm-view-toggle .button:not(.is-active):hover {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Performance Optimizations */
.wcm-performance-optimized {
    /* Enable hardware acceleration */
    transform: translateZ(0);
    will-change: transform;
}

/* Virtual scrolling for large lists */
.wcm-virtual-scroll {
    overflow-y: auto;
    height: 600px;
}

.wcm-virtual-item {
    position: absolute;
    width: 100%;
    transform: translateZ(0);
}

/* Optimized animations */
.wcm-smooth-transition {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduce repaints */
.wcm-no-repaint {
    contain: layout style paint;
}

/* Optimized drag performance */
.wcm-drag-optimized {
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform;
}

/* Memory efficient markers */
.wcm-marker {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    transform: translateZ(0);
}

/* Batch DOM updates */
.wcm-batch-update {
    display: none;
}

.wcm-batch-update.active {
    display: block;
}

