#col_right .col_right_inner {
    margin-left: 0;
  }

 @media only screen and (min-width: 985px) {
    #col_left {
        display: none !important;
    }
 }

.SumoSelect > .optWrapper > .options li.opt.selected {
    color: #004494;
    background: #f5f5f5;
}
     
.holder-configurator * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.holder-configurator {
    display: flex;
    flex-direction: column;
    min-height: 600px;ar
    background: rgb(255, 255, 255);
    position: relative;
}

.config-preview-area {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    background-size: 20px 20px;
    overflow: hidden;
}

.license-plate-assembly {
    border-radius: 15px;
    padding: 5px;
    width: 100%;
    position: relative;
}

.outer-holder-frame {
    width: 100%;
    background: #000;
    border-radius: 22px;
    position: relative;
    border: 6px solid #111;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.license-plate-img {
    width: 100%;
    display: block;
    zoom: 2.4;
    border: none;
    z-index: 10;
    box-sizing: border-box;
    background: black;
        border-radius: 7px;
}

.holder-frame {
    width: 96%;
    max-width: 96%;
    height: 35.79px;
    position: relative;
    overflow: visible;
    border: none;
    box-shadow: none;
    margin: 0;
    min-height: 38px;
    background: transparent;
    /*Test für bessere Sichtbarkeit*/
      border: 1px solid #333;
}

.holder-canvas {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.holder-ui-layer {
    position: absolute;
    inset: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 50;
}

.holder-bar {
    width: 100%;
    height: 38px;
    /*margin-top: -6px;*/
    z-index: 2;
}

.holder-text-element,
.holder-image-element {
    position: absolute;
    cursor: move;
    user-select: none;
    z-index: 60;
    border: 2px solid transparent;
    padding: 0;
    pointer-events: auto;
    overflow: visible;
    background: transparent;
}

.holder-text-element {
    display: inline-block;
    min-width: 20px;
    min-height: 20px;
}

.element-clip {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
}

.holder-text-element .element-clip {
    display: inline-block;
    white-space: nowrap;
    line-height: 1.2;
    overflow: visible;
    padding: 2px 4px;
}

.holder-text-element.selected,
.holder-image-element.selected {
    outline: 2px dashed #004494;
    outline-offset: 2px;
    border-color: #004494;
    background: rgba(33, 150, 243, 0.1);
}

.holder-image-element img {
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    pointer-events: none;
}

.bottom-dock-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    overflow: visible;
    z-index: 500;
}

.floating-toolbar {
    background: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    z-index: 100;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.floating-toolbar.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.toolbar-group {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-right: 15px;
    border-right: 1px solid #eee;
}

.toolbar-group:last-child {
    border-right: none;
}

.toolbar-label {
    font-size: 11px;
    color: #888;
    margin-right: 5px;
}

.main-dock {
    background: #fff;
    padding: 10px;
    display: flex;
    gap: 10px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    position: relative;
    overflow: visible;
    z-index: 5;
}

.dock-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    color: #555;
}

.dock-btn:hover {
    background: #eef1f5;
    color: #004494;
}

.dock-btn.active {
    background: #e3f2fd;
    color: #004494;
}

.dock-btn-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.dock-btn-text {
    font-size: 11px;
    font-weight: 500;
}

.dock-separator {
    width: 1px;
    background: #eee;
    margin: 0 5px;
}

     .dock-btn svg {
    vertical-align: middle;
    text-align: center;
    width: 19px;
    height: 19px;
    color: #555;
}
.popup-menu {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 610;
    min-width: 180px;
}

.popup-menu.visible {
    opacity: 1;
    z-index: 620;
    pointer-events: all;
    transform: translateX(-50%) scale(1);
}

.popup-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
    font-size: 14px;
    color: #444;
}

.popup-item:hover {
    background: #f5f5f5;
}

.side-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 200;
    display: flex;
    flex-direction: column;
}

.side-panel.visible {
    right: 0;
}

.panel-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
}

.panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.grid-item {
    font-size: 24px;
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.grid-item:hover {
    background: #e3f2fd;
    transform: scale(1.1);
}

.element-list {
    display: flex;
    flex-direction: row;
    gap: 5px;
    padding: 10px;
    max-height: 400px;
    overflow-y: auto;
    border-top: 1px solid #eee;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    background: #f8f8f8;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.1s;
}

.item-label {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.delete-btn {
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    font-size: 16px;
    padding: 0 5px;
    opacity: 0.6;
}

.empty-state {
    text-align: center;
    padding: 20px 0;
    color: #999;
    font-style: italic;
}

.cssButtonText {
    font-size: 11.5px !important;
}

.corner-toolbar-btn {
    position: absolute;
    width: 34px;
    height: 34px;
    background: #004494;
    color: #fff;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
    padding: 2px;
}

.corner-toolbar-btn:hover {
    background: #1565c0;
}

#license-plate-holder-configurator {
    margin: 30px auto;
    padding: 0;
    overflow: visible;
    max-width: 1200px;
    position: relative;
}

@media (max-width: 700px) {
    .holder-configurator {
        min-height: 550px;
    }

    .config-preview-area {
        padding: 15px;
    }

    .license-plate-assembly {
        width: 95%;
        max-width: 400px;
        padding: 3px;
    }

    .floating-toolbar {
        width: 95%;
        max-width: 500px;
        padding: 8px;
        gap: 10px;
        flex-wrap: wrap;
        left: 50%;
        transform: translateX(-50%) translateY(0);
    }

    .add-to-cart-btn {
        display: none !important;
    }

    .toolbar-group {
       /* width: calc(50% - 8px);*/
        padding-right: 0;
        border-right: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 5px 0;
    }

    .toolbar-group:nth-child(odd) {
        border-right: 1px solid #eee;
        padding-right: 15px;
    }

    .toolbar-group:last-child {
        border-right: none;
        padding-right: 0;
    }

    .main-dock {
        width: 90%;
        padding: 8px;
        gap: 8px;
        justify-content: center;
    }

    .dock-btn {
        width: 50px;
        height: 50px;
    }

    .dock-btn-icon {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .dock-btn-text {
        font-size: 10px;
    }

    .dock-separator {
        display: none;
    }

    .popup-menu {
        bottom: 60px;
    }

    .side-panel {
        width: 100%;
        right: -100%;
    }

    .side-panel.visible {
        right: 0;
    }

    .item-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .grid-item {
        font-size: 20px;
        padding: 8px;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.element-action-buttons {
    position: absolute;
    inset: -18px -18px -18px -18px;
    pointer-events: none;
    z-index: 200;
}

.corner-toolbar-btn {
    position: absolute;
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: #004494;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    padding: 2px;
}

.corner-btn-move {
    top: 0;
    left: 0;
    cursor: move;
}

.corner-btn-resize {
    top: 0;
    right: 0;
    cursor: nwse-resize;
}

.corner-btn-copy {
    bottom: 0;
    left: 0;
    padding: 4px;
}

.corner-btn-delete {
    bottom: 0;
    right: 0;
    background: #c40000;
}
