:root {
    --primary-color: #54185F;
    --secondary-color: #50e3c2;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --text-color: #34495e;
    --border-color: #dfe4ea;
    --hover-bg-color: #f1f3f5;
    --canvas-bg-color: #eef1f4;
    --stage-bg-color: #ffffff;
    --guide-color: #65499f;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--canvas-bg-color);
    color: var(--text-color);
    font-size: 14px;
    min-height: 100vh;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    overflow-x: hidden;
}

body.mobile-panel-open {
    overflow-y: hidden;
}

.editor-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    /*max-width: 1700px;*/
    height: calc(100vh - 40px);
    margin: 0px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.editor-toolbar {
    padding: 0.75rem 1rem;
    background-color: var(--light-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
    position: relative;
    z-index: 99;
}

.main-container {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
}

#sidebar {
    width: 280px;
    background-color: white;
    border-right: 1px solid var(--border-color);
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: auto;
}

.sidebar-section {
    border-bottomf: 1px solid var(--border-color);
}

.section-header {
    padding: 0.9rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    transition: background-color 0.2s ease;
    font-weight: 500;
    color: var(--dark-color);
}

.section-header:hover {
    background-color: var(--hover-bg-color);
}

.section-header i {
    margin-right: 0.8rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.section-header .toggle-icon::before {
    font-family: 'bootstrap-icons';
    content: "\f282"; /* bi-caret-down */
    font-size: 1.2rem;
    color: #aaa;
    transition: transform .8s cubic-bezier(.25,.8,.25,1);
    display: inline-block;
    transform-origin: 60% 50%;
}

.sidebar-section.open .section-header .toggle-icon::before {
    transform: rotate(-180deg);
}

.section-content {
    padding: 1rem;
    background-color: #fdfdfd;
    display: none;
    border-top: 1px solid var(--border-color);
    max-height: 300px;
    overflow-y: auto;
}

.sidebar-section.open .section-content {
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.8rem;
}

.gallery-item {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    background-color: #F7F7FA;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.gallery-item:hover {
    background-color: var(--hover-bg-color);
    border-color: #ccc;
}

.gallery-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.gallery-item .color-preview {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    margin-bottom: 0.3rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
}

.gallery-item span {
    word-break: break-word;
}

.section-content button.tool-btn-inner {
    width: 100%;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.5rem;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
    color: var(--text-color);
    text-align: left;
    font-size: 0.85rem;
}

.section-content button.tool-btn-inner:hover {
    background-color: var(--hover-bg-color);
}

.section-content button.tool-btn-inner i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
    color: var(--primary-color);
}

.medidas-form .form-group {
    margin-bottom: 0.8rem;
}

.medidas-form label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
}

.medidas-form input {
    width: 100%;
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

#workspace {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--canvas-bg-color);
    position: relative;
    padding: 80px 5px 10px 5px;
}

#canvas-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#container {
    max-width: 100%;
    max-height: 100%;
    background-color: var(--stage-bg-color);
    overflow: hidden;
}

#text-editor-textarea {
    position: absolute;
    z-index: 1001;
    border: 1px solid var(--primary-color);
    margin: 0;
    padding: 5px;
    overflow: hidden;
    background-color: white;
    line-height: 1.2;
    resize: none;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    text-align: inherit;
    white-space: pre-wrap;
}

.toolbar-btn {
    padding: 0rem 0.4rem;
    border-radius: 4px;
    border: 1px solid #bfc2d9;
    background-color: #d9d9ed;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3a2354;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.toolbar-btn:hover {
    background-color: #c7c7e4;
    border-color: #a7a8c8;
}

.toolbar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #e6e6f3;
}

.toolbar-btn i {
    font-size: 1rem;
    color: #3a2354;
}

.toolbar-btn:hover i {
    color: #5a3b7d;
}

.toolbar-separator {
    width: 2px;
    height: 20px;
    background-color: var(--primary-color);
    margin: 0 0.5rem;
}

.properties-panel {
    width: 280px;
    background-color: white;
    border-left: 1px solid var(--border-color);
    padding: 1rem;
    overflow-y: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.properties-panel i {
    color: var(--primary-color);
}

.properties-panel h3 {
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-header {
    padding: 1rem 1rem 0 1rem;
    flex-shrink: 0;
}

.sidebar-content-wrapper {
    flex-grow: 1;
    overflow-y: auto;
}

.sidebar-header i {
    color: var(--primary-color);
}

.sidebar-header h3 {
    font-size: 1.1rem;
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


#properties-placeholder,
#properties-multiple {
    text-align: center;
    color: #aaa;
    margin-top: 2rem;
    font-size: 0.9rem;
    padding: 0 1rem;
}

#properties-content {
    display: none;
}

.property-group {
    margin-bottom: 1.5rem;
}

.property-group h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.form-control {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

input[type="color"].form-control {
    padding: 0.2rem;
    height: 38px;
    cursor: pointer;
}

input[type="range"].form-control {
    padding: 0;
    accent-color: #9092ff;
    background-color: #e7e7ff;
}

.form-control-sm {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
}

.form-select.form-control-sm {
    padding: 0.4rem 1.6rem 0.4rem 0.6rem;
}

.text-style-btns button,
.text-align-btns button {
    margin-right: 0.3rem;
    padding: 0.3rem 0.6rem;
}

.text-style-btns button.active,
.text-align-btns button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.text-style-btns button.active i,
.text-align-btns button.active i {
    color: white;
}

.properties-panel .form-control:disabled,
.properties-panel .toolbar-btn.disabled {
    background-color: #e9ecef;
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
    width: 100%;
    margin-top: 1.5rem;
}

.btn-danger:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

.context-menu {
    position: absolute;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    padding: 0.5rem 0;
    min-width: 180px;
}

.context-menu-item {
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    transition: background-color 0.15s ease;
}

.context-menu-item:hover {
    background-color: var(--hover-bg-color);
    color: var(--primary-color);
}

.context-menu-item i {
    font-size: 1rem;
    color: #666;
    width: 18px;
}

.context-menu-item:hover i {
    color: var(--primary-color);
}

.context-menu-item.disabled {
    color: #aaa;
    cursor: not-allowed;
    background-color: transparent !important;
}

.context-menu-item.disabled:hover {
    color: #aaa;
}

.context-menu-item.disabled i {
    color: #aaa !important;
}

#image-upload-input {
    display: none;
}

@media (max-width: 992px) {
    .editor-card {
        height: 100%;
        max-height: 100%;
        margin: 0;
        border-radius: 0;
        border: none;
    }
    .main-container {
        flex-direction: column;
        overflow: visible;
    }
    #sidebar,
    .properties-panel {
        position: absolute;
        top: 10vh;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        max-height: none;
        background-color: white;
        z-index: 1050;
        overflow-y: auto;
        transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        border-radius: 20px 20px 15px 15px;
        transform: translateY(100%);
        border: none;
        padding: 1rem 1rem 3rem 1rem;
    }
    #sidebar.open-mobile,
    .properties-panel.open-mobile {
        transform: translateY(0);
    }
    .properties-panel {
        right: 0;
        left: auto;
    }
    #workspace {
        flex: 1;
        width: 100%;
        padding-bottom: 65px;
    }
    #canvas-container {
        width: 100%;
        height: 100%;
    }
    .toolbar-btn.d-lg-none {
        display: inline-flex !important;
    }
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0s 0.3s linear;
    }
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease-in-out, visibility 0s 0s linear;
    }
    .editor-toolbar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0.5rem 0.75rem;
        -webkit-overflow-scrolling: touch;
        align-items: center;
    }
    .toolbar-center-group {
        display: flex;
        align-items: center;
        margin: 0 auto;
    }
    .toolbar-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    .toolbar-btn span {
        display: none;
    }
    .toolbar-btn i {
        font-size: 0.9rem;
    }
    .toolbar-separator {
        margin: 0 0.3rem;
        height: 16px;
    }
    #toggle-sidebar-mobile-btn {
        order: -1;
    }
    #toggle-properties-mobile-btn {
        order: 1;
    }
    .section-content {
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 992px) {
    #toggle-sidebar-mobile-btn,
    #toggle-properties-mobile-btn {
        display: none !important;
    }
    
    /* SOLUCIÓN AL PROBLEMA DE RESPONSIVO */
    .toolbar-popover-btn,
    .popover-header-title,
    .vertical-divider {
        display: none !important;
    }
    
    .custom-popover-wrapper {
        display: block !important;
        position: static !important;
    }

    .custom-popover-content {
        display: block !important;
        position: static !important;
        transform: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }
    
    .custom-popover-content::before {
        display: none !important;
    }
    /* FIN SOLUCIÓN */
}

#mobile-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding-top: 8px;
    z-index: 10;
}

.mobile-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    color: #555;
    padding: 0;
    flex: 1;
    transition: color 0.2s ease;
}

.mobile-nav-btn i {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.mobile-nav-btn.active,
.mobile-nav-btn:hover {
    color: var(--primary-color);
}

.mobile-nav-btn.active i,
.mobile-nav-btn:hover i {
    color: var(--primary-color);
}

.color-swatches-container {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0.5rem;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.color-swatch[title="Blanco"] {
    border-color: #ccc;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border-color: var(--primary-color);
    transform: scale(1.15);
    box-shadow: 0 0 0 3px var(--primary-color);
}

@media (max-width: 992px) {
    .panel-drag-handle {
        width: 40px;
        height: 5px;
        background-color: #d0d0d0;
        border-radius: 3px;
        margin: -8px auto 8px auto;
        flex-shrink: 0;
        cursor: grab;
    }
}

.on-canvas-price-display {
    bottom: 15px;
    right: 15px;
    background-color: #000000;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.8rem;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {

    .form-actions-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .price-center-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        order: -1;
        margin-bottom: 10px;
    }

    .on-canvas-price-display {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        font-size: 1.3rem;
        padding: 10px 20px;
        margin: 0 auto;
    }
}


#price-details-modal .remove-item-btn {
    cursor: pointer;
    transition: transform 0.2s ease;
}

#price-details-modal .remove-item-btn:hover {
    transform: scale(1.2);
}

@media (min-width: 993px) {

    .properties-panel {
        position: absolute;
        top: 10px;
        left: calc(50% + 160px); 
        transform: translateX(-50%);
        max-width: calc(100% - 340px);
        width: auto !important;
        height: 60px !important;
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 4px 25px rgba(0,0,0,0.15);
        border: 1px solid #e0e0e0;
        z-index: 1000;
        padding: 0 20px;
        
        display: none;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        white-space: nowrap;
        overflow: visible !important;
    }

    .properties-panel.visible {
        display: flex !important;
        animation: slideDownPanel 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    
    @keyframes slideDownPanel { 
        from { top: -20px; opacity: 0; } 
        to { top: 20px; opacity: 1; } 
    }

    .properties-panel h3, 
    .properties-panel h4, 
    .properties-panel label, 
    .properties-panel .panel-drag-handle, 
    .properties-panel #properties-placeholder, 
    .properties-panel #properties-multiple,
    .properties-panel #text-content { 
        display: none !important;
    }

    .properties-panel #properties-content,
    .properties-panel .property-group,
    .properties-panel .form-group,
    .properties-panel .row,
    .properties-panel .col-6,
    .properties-panel .d-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 5px !important;
        border: none !important;
    }

    .properties-panel .property-group[style*="display: none"],
    .properties-panel #text-properties[style*="display: none"] {
        display: none !important;
    }

    .properties-panel #font-family {
        display: block !important;
        width: 130px !important;
        height: 38px !important;
        margin: 0;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 13px;
        background-color: #f9f9f9;
        cursor: pointer;
    }

    .properties-panel #font-size {
        display: block !important;
        width: 55px !important;
        height: 38px !important;
        margin: 0;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 13px;
    }

    .properties-panel #rotation {
        display: block !important;
        width: 55px !important;
        height: 38px !important;
        margin: 0;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 13px;
    }

    .properties-panel .text-style-btns, 
    .properties-panel .text-align-btns {
        display: flex !important;
        gap: 2px !important;
        margin: 0 5px !important;
    }

    .properties-panel #portrait-actions button, 
    .properties-panel #portrait-shapes button {
        height: 38px !important;
        padding: 0 12px !important;
        border-radius: 6px !important;
        border: 1px solid #ddd !important;
        background: #f9f9f9 !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        white-space: nowrap !important;
        width: auto !important;
    }

    .properties-panel .toolbar-popover-btn,
    .properties-panel .text-style-btns button, 
    .properties-panel .text-align-btns button {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: transparent !important;
        border: 1px solid transparent !important;
        color: #555 !important;
        font-size: 1.2rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.2s !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .properties-panel .toolbar-popover-btn:hover,
    .properties-panel .text-style-btns button:hover,
    .properties-panel .text-align-btns button:hover {
        background-color: #f5f5f5 !important;
        color: #54185F !important;
    }
    
    .properties-panel .toolbar-popover-btn.active,
    .properties-panel .text-style-btns button.active,
    .properties-panel .text-align-btns button.active {
        background-color: #f3eef5 !important;
        color: #54185F !important;
    }

    .custom-popover-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }

    .custom-popover-content {
        position: absolute;
        top: 55px;
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.2);
        border: 1px solid #eee;
        
        display: none !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        z-index: 1100;
        min-width: 220px;
    }

    .custom-popover-content.show {
        display: flex !important;
        animation: popIn 0.2s ease-out;
    }

    @keyframes popIn { from { transform: translate(-50%, -10px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

    .custom-popover-content::before {
        content: ''; position: absolute; top: -6px; left: 50%; margin-left: -6px;
        width: 12px; height: 12px; background: #fff; transform: rotate(45deg);
        border-top: 1px solid #eee; border-left: 1px solid #eee;
    }

    .popover-header-title {
        display: block !important; width: 100%; text-align: center;
        font-size: 0.75rem; font-weight: bold; color: #999;
        text-transform: uppercase; border-bottom: 1px solid #eee;
        padding-bottom: 8px; margin-bottom: 5px;
    }

    .custom-popover-content .row,
    .custom-popover-content .form-group {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    .custom-popover-content .col-6 {
        width: 45% !important;
        display: block !important;
    }

    .custom-popover-content input[type="number"] {
        display: block !important;
        width: 100% !important;
        height: 36px !important;
        text-align: center !important;
        border: 1px solid #ddd !important;
        border-radius: 6px;
    }
    
    .custom-popover-content #fill-color-swatches,
    .custom-popover-content #width, .custom-popover-content #height, 
    .custom-popover-content #pos-x, .custom-popover-content #pos-y, 
    .custom-popover-content #props-duplicate-btn,
    .custom-popover-content #props-front-btn, .custom-popover-content #props-back-btn {
         display: flex !important;
    }
    
    .custom-popover-content .d-grid {
        display: block !important; width: 100% !important;
    }
    .custom-popover-content .d-grid button { width: 100% !important; }

    .vertical-divider {
        width: 1px; height: 24px; background: #ddd; margin: 0 5px; display: block;
    }

    .properties-panel #delete-selected-btn {
        width: 40px !important; 
        height: 40px !important; 
        border-radius: 50% !important; 
        padding: 0 !important; 
        margin: 0 !important;
        flex-shrink: 0 !important;
        /*display: flex !important;*/ 
        align-items: center !important; 
        justify-content: center !important;
        background: #e02e2a !important; 
        border: none !important; 
        color: #e74c3c !important; 
        font-size: 0 !important;
    }
    .properties-panel #delete-selected-btn i { font-size: 1.2rem !important; margin: 0 !important; }
    .properties-panel #delete-selected-btn:hover { background-color: #911e1b !important; }
}