body.wk-ve-active * {
    cursor: crosshair;
}

.wk-ve-editable {
    outline: 2px dashed rgba(227, 27, 35, .55) !important;
    outline-offset: 4px !important;
    transition: outline .2s ease, box-shadow .2s ease;
}

.wk-ve-editable:hover,
.wk-ve-selected {
    outline: 2px solid #e31b23 !important;
    box-shadow: 0 0 0 6px rgba(227, 27, 35, .10) !important;
}

.wk-ve-hidden {
    display: none !important;
}

.wk-ve-glow {
    box-shadow: 0 0 18px rgba(227, 27, 35, .45) !important;
}

.wk-ve-pulse {
    animation: wkVePulse 1.6s infinite ease-in-out;
}

@keyframes wkVePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

#wk-ve-panel {
    position: fixed;
    z-index: 999999;
    top: 46px;
    right: 18px;
    width: 390px;
    max-width: calc(100vw - 36px);
    max-height: calc(100vh - 72px);
    background: #ffffff;
    border: 1px solid rgba(20,20,20,.08);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    font-family: Inter, Arial, sans-serif;
    color: #202124;
    display: none;
    overflow: hidden;
}

#wk-ve-panel.open {
    display: flex;
    flex-direction: column;
}

.wk-ve-panel-header,
.wk-ve-panel-footer {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}

.wk-ve-panel-footer {
    border-top: 1px solid #f0f0f0;
    border-bottom: 0;
    gap: 8px;
}

.wk-ve-panel-body {
    padding: 14px 16px;
    overflow: auto;
}

.wk-ve-close {
    border: 0;
    background: #f4f4f5;
    border-radius: 10px;
    font-size: 22px;
    width: 36px;
    height: 36px;
    line-height: 1;
}

.wk-ve-selected-info {
    padding: 10px 12px;
    background: #fafafa;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 12px;
}

.wk-ve-group {
    margin-bottom: 14px;
}

.wk-ve-group label,
.wk-ve-grid-2 label,
.wk-ve-grid-3 label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #333;
}

#wk-ve-panel input[type="text"],
#wk-ve-panel input[type="number"],
#wk-ve-panel select,
#wk-ve-panel textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 11px;
    padding: 9px 10px;
    font-size: 13px;
    box-sizing: border-box;
}

#wk-ve-panel input[type="color"] {
    width: 100%;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

.wk-ve-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.wk-ve-grid-2.compact {
    margin-top: 8px;
}

.wk-ve-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.wk-ve-rich-toolbar,
.wk-ve-tabs,
.wk-ve-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

#wk-ve-panel button {
    cursor: pointer;
}

.wk-ve-rich-toolbar button,
.wk-ve-tabs button,
.wk-ve-actions button,
#wk-ve-pick-image,
#wk-ve-pick-bg,
#wk-ve-save,
#wk-ve-reset {
    border: 0;
    border-radius: 12px;
    padding: 9px 11px;
    background: #f1f2f4;
    color: #202124;
    font-size: 13px;
    font-weight: 700;
}

.wk-ve-tabs button.active,
#wk-ve-save {
    background: #e31b23;
    color: #fff;
}

#wk-ve-reset {
    background: #222;
    color: #fff;
}

@media (max-width: 767px) {
    #wk-ve-panel {
        right: 10px;
        left: 10px;
        width: auto;
        top: 58px;
    }
}
