﻿.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

    .editor-header h4 {
        margin: 0;
        border: none;
        padding: 0;
    }

.text-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
}

.form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.control-row {
    display: flex;
    gap: 15px;
}

.control-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .control-group label {
        font-size: 0.8rem;
        color: #666;
    }

    .control-group input[type="number"] {
        padding: 6px;
        border: 1px solid #ddd;
        border-radius: 4px;
        width: 100%;
        box-sizing: border-box;
    }

    .control-group input[type="color"] {
        width: 100%;
        height: 32px;
        padding: 0;
        border: none;
        background: none;
        cursor: pointer;
    }

.toolbar-row {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f9f9f9;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.btn-group-tight {
    display: flex;
    gap: 2px;
}

    .btn-group-tight button {
        padding: 6px 10px;
        border: 1px solid transparent;
        background: white;
        cursor: pointer;
        font-weight: bold;
        border-radius: 3px;
        min-width: 30px;
    }

        .btn-group-tight button:hover {
            background: #f0f0f0;
        }

        .btn-group-tight button.active {
            background: #333;
            color: white;
        }

.divider {
    width: 1px;
    height: 20px;
    background: #ddd;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.range-slider {
    width: 100%;
    cursor: pointer;
}

.btn-icon.delete {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    transition: transform 0.2s;
}

    .btn-icon.delete:hover {
        transform: scale(1.1);
        color: #dc3545;
    }

.empty-state {
    text-align: center;
    color: #999;
    padding: 30px;
    font-style: italic;
}
/* Floating Toolbox Text Editor Adjustments */
.floating-toolbox .form-control, 
.floating-toolbox .form-select, 
.floating-toolbox .form-control-color {
    border-radius: 8px;
    border: 1px solid #ced4da;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
}

.floating-toolbox .form-control:focus, 
.floating-toolbox .form-select:focus, 
.floating-toolbox .form-control-color:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.25);
}

.floating-toolbox .form-range {
    height: 1.5rem;
    padding: 0;
}
