
/* New Checkout Design */

/* Preloader overlay */
.vcm-checkout-preloader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: inherit;
}
.vcm-spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #e9ecef;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: vcm-spin 0.7s linear infinite;
}
@keyframes vcm-spin {
    to { transform: rotate(360deg); }
}

#vcCheckoutWindow {
    width: 100%;
    max-width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 24px;
}

.vcCheckoutSignInWindow .vcm-welcome-title {
    display: block;
    width: 100%;
}

.vcm-compact-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.vcm-user-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vcm-user-name {
    font-size: 16px;
    font-weight: 600;
}

.vcm-cashback-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.vcm-disconnect-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.vcm-disconnect-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.vcm-compact-stats {
    padding: 12px 20px;
    background: #f8f9fa;
    display: flex;
    gap: 20px;
    font-size: 13px;
    border-bottom: 1px solid #e9ecef;
}

.vcm-stat-item {
    display: flex;
    gap: 6px;
}

.vcm-stat-label {
    color: #666;
}

.vcm-stat-value {
    font-weight: 600;
    color: #333;
}

.vcm-content-compact {
    padding: 16px 20px;
}

/* Benefit Card with Image */
        
.vcm-benefits-inline { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 16px; }


.vcm-benefit-card {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.vcm-benefit-card:hover {
    background: #fff;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.vcm-benefit-card.selected {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-color: #667eea;
}

.vcm-benefit-image-wrapper {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
}

.vcm-benefit-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vcm-benefit-image-wrapper.placeholder {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.vcm-benefit-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.vcm-benefit-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vcm-info-icon {
    color: #667eea;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

.vcm-info-icon:hover {
    transform: scale(1.2);
}

.vcm-benefit-description {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vcm-benefit-description.has-more {
    cursor: pointer;
}

.vcm-benefit-price {
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
    margin-top: auto;
}

.vcm-benefit-checkbox-wrapper {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.vcm-benefit-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.vcm-benefit-card.selected .vcm-benefit-checkbox {
    background: #667eea;
    border-color: #667eea;
}

.vcm-benefit-card.selected .vcm-benefit-checkbox::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.vcm-benefit-checkbox-input {
    display: none;
}

.vcm-promo-popup-image {
      width: 452px;
    height: 310px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}


.vcm-promo-popup-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

.vcm-clean-style .popbox-wrapper button, .vcm-clean-style .popbox-wrapper [type="button"].vcm-promo-popup-select-btn {
    width: 100%;
    padding: 14px;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.vcm-benefit-image-wrapper .default-promo-img {
    background: none;
}

.vcm-benefit-image-wrapper .default-promo-img::before {
    width: 30px;
    height: 30px;
}

.vcm-promo-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.vcm-promo-popup-image .default-promo-img {
    background: none;
}
.vcm-promo-popup-image .default-promo-img::before {
    width: 85px;
    height: 85px;
}

.vcm-budget-inline {
    display: flex;
    gap: 12px;
    align-items: center;
}

.vcm-budget-label {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.vcm-budget-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.vcm-budget-input {
    flex: 1;
    max-width: 150px;
    padding: 10px 14px;
    font-size: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s;
    font-weight: 600;
    text-align: center;
}

.vcm-budget-input:focus {
    border-color: #667eea;
}

.vcm-user-section .vcm-currency {
    color: inherit;
}

.vcm-currency {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.vcm-calculate-btn, .vcm-btn-send-auth {
    padding: 10px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.vcm-calculate-btn:hover, .vcm-btn-send-auth:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.vcm-calculate-btn:active, .vcm-btn-send-auth:active {
    transform: translateY(0);
}

.loading .spinner {
    display: inline-block;
    margin-left: 6px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.vcm-general-note {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Collapsible variant */
.vcm-toggle-benefits {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #667eea;
    font-weight: 600;
    transition: all 0.2s;
}

.vcm-toggle-benefits:hover {
    background: #f8f9fa;
}

.vcm-toggle-icon {
    transition: transform 0.3s;
}

.vcm-benefits-collapsed .vcm-toggle-icon {
    transform: rotate(180deg);
}

.vcm-collapsible-content {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.vcm-benefits-collapsed .vcm-collapsible-content {
    max-height: 0;
}

@media (max-width: 768px) {
    .vcm-compact-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .vcm-user-section {
        justify-content: space-between;
    }

    .vcm-compact-stats {
        flex-wrap: wrap;
    }

    .vcm-budget-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .vcm-budget-input {
        max-width: 100%;
    }

    .vcm-calculate-btn {
        width: 100%;
    }
}

@media (prefers-color-scheme: dark) {
    .vcm-benefits-container {
        background: #1a1a1a;
    }

    .vcm-compact-stats {
        background: #2a2a2a;
        border-bottom-color: #333;
    }

    .vcm-stat-label {
        color: #aaa;
    }

    .vcm-stat-value {
        color: #f0f0f0;
    }

    .vcm-benefit-tag {
        background: #2a2a2a;
        border-color: #333;
    }

    .vcm-benefit-name {
        color: #f0f0f0;
    }

    .vcm-budget-input {
        background: #2a2a2a;
        border-color: #333;
        color: #f0f0f0;
    }

    .vcm-budget-label {
        color: #aaa;
    }
}

/* ADMIN */

.wp-admin #vcCheckoutWindow {
    max-width: 1120px;
    margin: auto;
}

.wp-admin .vcm-benefit-checkbox-input {
    display: none!important;
}

/* Editable Elements */
.wp-admin .vcm-settings_wrap .editable-element, .wp-admin .vcm-settings_wrap #vcCheckoutWindow {
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.wp-admin .vcm-settings_wrap  .editable-element:hover {
    outline: 2px dashed #667eea;
    outline-offset: 2px;
}

.wp-admin .vcm-settings_wrap  .editable-element.selected {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

.wp-admin .vcm-settings_wrap  .editable-element .edit-indicator {
    position: absolute;
    top: -10px;
    left: -10px;
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.wp-admin .vcm-settings_wrap  .editable-element:hover .edit-indicator,
.wp-admin .vcm-settings_wrap  .editable-element.selected .edit-indicator {
    opacity: 1;
}

/* Customization Panel */
.wp-admin .vcm-settings_wrap [contenteditable="true"]:hover {
    outline: 2px dashed #667eea;
    outline-offset: 2px;
}

/* ── Design-editor tab bar ────────────────── */
.wp-admin .vcmde-tabs {
    display: flex;
    gap: 0;
    max-width: 1120px;
    margin: 0 auto 0;
    border-bottom: 2px solid #e9ecef;
}

.wp-admin .vcmde-tab {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
}

.wp-admin .vcmde-tab:hover {
    color: #333;
    background: #f8f9fa;
}

.wp-admin .vcmde-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.wp-admin .vcmde-tab-pane {
    animation: fadeIn 0.3s ease-out;
}

.wp-admin .vcm-settings_wrap .customization-panel {
       max-width: 1120px;
    margin: auto;
    width: 100%;
    margin-bottom: 15px;
}

.wp-admin .vcm-settings_wrap .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wp-admin .vcm-settings_wrap .panel-title {
 font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    margin-bottom: 10px;
}

.wp-admin .vcm-settings_wrap .toggle-panel-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.wp-admin .vcm-settings_wrap .toggle-panel-btn:hover { background: #5568d3; }

.wp-admin .vcm-settings_wrap .panel-collapsed .customization-content{ display: none; }

.wp-admin .vcm-settings_wrap .customization-content {
    margin-bottom: 10px;
    margin-top: 10px;
}

.wp-admin .vcm-settings_wrap .no-selection {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.wp-admin .vcm-settings_wrap .no-selection-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.wp-admin .vcm-settings_wrap .element-config {
    display: none;
}

.wp-admin .vcm-settings_wrap .element-config.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* ── Floating popover ─────────────────────── */
.wp-admin .vcmde-popover {
    display: none;
    position: absolute;
    z-index: 100000;
    width: 250px;
    max-height: 460px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 18px;
}

.wp-admin .vcmde-popover.active {
    display: block;
    animation: popoverIn 0.22s ease-out;
}

.wp-admin .vcmde-popover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    cursor: move;
    user-select: none;
}

.wp-admin .vcmde-popover-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
}

.wp-admin .vcmde-popover-close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #aaa;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.15s;
}

.wp-admin .vcmde-popover-close:hover {
    color: #333;
    background: #f0f0f0;
}

.wp-admin .vcmde-popover .config-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wp-admin .vcmde-popover .config-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.wp-admin .vcmde-edit-popover {
    width: 260px;
}

.wp-admin .vcmde-edit-input:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.12);
}

.wp-admin .vcmde-popover::-webkit-scrollbar {
    width: 6px;
}
.wp-admin .vcmde-popover::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 3px;
}

@keyframes popoverIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Highlight clicked element */
.wp-admin .editable-element.selected {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    border-radius: 4px;
}

.wp-admin .vcmde-inline-editor-wrap {
    position: relative;
    z-index: 100;
    min-width: 350px;
}
.wp-admin .vcmde-inline-done-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 8px 20px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.wp-admin .vcmde-inline-done-btn:hover {
    background: #5a6fd6;
}
.wp-admin .vcmde-inline-editor-wrap .wp-editor-wrap {
    border: 2px solid #667eea;
    border-radius: 6px;
    overflow: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wp-admin .vcm-settings_wrap .config-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e9ecef;
}

.wp-admin .vcm-settings_wrap .config-icon {
    font-size: 32px;
}

.wp-admin .vcm-settings_wrap .config-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.wp-admin .vcm-settings_wrap .config-description {
    font-size: 13px;
    color: #666;
}

.wp-admin .vcm-settings_wrap .config-grid {
        display: flex;
    gap: 16px;
    flex-direction: row;
    flex-wrap: wrap;
}

.wp-admin .vcm-settings_wrap .config-item {
        display: flex;
    flex-direction: column;
    gap: 3px;
    width: 270px;
}

.wp-admin .vcm-settings_wrap .config-item.flx-row {
    flex-direction: row;
}

.wp-admin .vcm-settings_wrap .config-section-title {
       margin: 0;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1pt solid #efefef;
    margin-bottom: 10px;
    margin-top: 14px;
}

.wp-admin .vcm-settings_wrap .config-label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.wp-admin .vcmde-section {
    max-width: 1120px;
    margin: auto;
}

.wp-admin .vcm-settings_wrap .config-input {
    padding: 3px 4px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.wp-admin .vcm-settings_wrap .config-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.wp-admin .vcm-settings_wrap .color-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wp-admin .vcm-settings_wrap .color-picker, .wp-admin .vcm-settings_wrap .vcmde-colornone-picker {
    border-radius: 50%;
  inline-size: 30px;
  block-size: 30px;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(187 187 187);
}


.wp-admin .vcm-settings_wrap .color-picker::-webkit-color-swatch,
.wp-admin .vcm-settings_wrap .vcmde-colornone-picker::-webkit-color-swatch {
  border-radius: 50%; /* Make the actual color indicator round */
  border: none; /* Remove default swatch border */
  padding: 0;
}

.wp-admin .vcm-settings_wrap .color-picker:hover,
.wp-admin .vcm-settings_wrap .vcmde-colornone-picker:hover {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.wp-admin .vcm-settings_wrap .color-picker.selected, 
.wp-admin .vcm-settings_wrap .vcmde-colornone-picker.selected {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.2);
}


.wp-admin .vcm-settings_wrap .reset-btn,
.wp-admin .vcm-settings_wrap .save-btn,
.wp-admin .vcm-settings_wrap .export-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.wp-admin .vcm-settings_wrap .reset-btn {
    background: #e9ecef;
    color: #333;
}

.wp-admin .vcm-settings_wrap .reset-btn:hover { background: #dee2e6; }

.wp-admin .vcm-settings_wrap .save-btn {
    background: #28a745;
    color: white;
    flex: 1;
}

.wp-admin .vcm-settings_wrap .save-btn:hover { background: #218838; }

.wp-admin .vcm-settings_wrap .export-btn {
    background: #17a2b8;
    color: white;
    flex: 1;
}

.wp-admin .vcm-settings_wrap .export-btn:hover { background: #138496; }

.wp-admin .preset-colors {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-top: 8px;
        }

.wp-admin .preset-color {
               width: 27px;
    height: 27px;
    border-radius: 50%;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s;
        }

        .wp-admin .preset-color.preset-text {
               width: auto;
    height: 27px;
    border-radius: 6px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s;
        }

.wp-admin .preset-color:hover {
            transform: scale(1.1);
            border-color: #333;
        }

.wp-admin .vcmde-align-buttons {
    display: flex;
    gap: 4px;
}

.wp-admin .vcmde-align-btn {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #f8f9fa;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.wp-admin .vcmde-align-btn:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.wp-admin .vcmde-align-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: #fff;
}

.wp-admin .vcm-settings_wrap .color-picker {
    padding: 0;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
}




.wp-admin .vcmde-popover .color-picker.vcmde-input {
    border-radius: 50%;
  inline-size: 30px;
  block-size: 30px;
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
border: 2px solid #e9ecef;
}

.wp-admin .vcmde-popover .color-picker.vcmde-input:hover {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.wp-admin .vcmde-popover .color-picker.vcmde-input::-webkit-color-swatch {
  border-radius: 50%; /* Make the actual color indicator round */
  border: none; /* Remove default swatch border */
  padding: 0;
}

.wp-admin .vcmde-popover .color-input-wrapper {
    display: flex;
    gap: 3px;
    margin-top: 7px;
}

.wp-admin .vcmde-popover .color-input-wrapper .config-input {
    border-radius: 6px;
border: 2px solid #e9ecef;}

.wp-admin #vcmde-pane-sign {
    max-width: 1120px;
    margin: auto;
}

/* ── VCM Top Banner ── */
.vcm-top-banner {
    position: relative;
    width: 100%;
    padding: 10px 40px 10px 15px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    z-index: 99999;
    box-sizing: border-box;
}
.vcm-top-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.vcm-top-banner__inner p {
    margin: 0;
}
.vcm-top-banner__close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    opacity: .7;
}
.vcm-top-banner__close:hover {
    opacity: 1;
}
/* Placeholder insertion toolbar */
.wp-admin .vcmde-placeholder-toolbar {
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 6px;
    z-index: 10;
    animation: placeholderToolbarIn 0.18s ease;
    position: absolute;
    top: -45px;
    right: 0;
    left: 0;
    width: auto;
    margin: auto;
}

.wp-admin .vcmde-placeholder-toolbar.active {
    display: flex;
}

@keyframes placeholderToolbarIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wp-admin .vcmde-placeholder-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: #f0f4ff;
    color: #4a5aba;
    border: 1px solid #c9d2f0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    line-height: 1.4;
    white-space: nowrap;
}

.wp-admin .vcmde-placeholder-btn:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.wp-admin .vcmde-placeholder-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* color-none toggle */
.wp-admin .vcmde-none-toggle {
    padding: 4px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: #f8f9fa;
    color: #555;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    line-height: 1.4;
}

.wp-admin .vcmde-none-toggle:hover {
    border-color: #dc3545;
    color: #dc3545;
}

.wp-admin .vcmde-none-toggle.active {
    border-color: #dc3545;
    background: #dc3545;
    color: #fff;
}

.wp-admin .vcmde-colornone-picker.is-none {
    opacity: 0.3;
    pointer-events: none;
}

.vcm-top-banner-join-login {
    font-weight: 400;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}