/* Text Behind Image — Editor Styles */
.editor-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
    align-items: start;
}

.editor-canvas-panel {
    padding: 1rem;
}

.editor-controls {
    padding: 1.25rem;
    max-height: 85vh;
    overflow-y: auto;
    position: sticky;
    top: 80px;
}

.editor-controls h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent, #10b981);
}

.control-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.control-row label {
    font-size: 0.8rem;
    color: var(--text-muted, #888);
    min-width: 60px;
    white-space: nowrap;
}

.control-row input[type="range"] {
    -webkit-appearance: none;
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.15);
    outline: none;
}

.control-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent, #10b981);
    cursor: pointer;
}

.control-row input[type="color"] {
    width: 36px;
    height: 30px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    padding: 2px;
}

.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text, #f1f5f9);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent, #10b981);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}

.form-select {
    flex: 1;
    padding: 0.4rem 0.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: var(--text, #f1f5f9);
    font-size: 0.8rem;
    outline: none;
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--accent, #10b981);
}

/* Tool mode radios */
.tool-modes {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tool-radio {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted, #888);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.15s;
}

.tool-radio:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text, #f1f5f9);
}

.tool-radio input[type="radio"] {
    accent-color: var(--accent, #10b981);
}

.w-100 { width: 100%; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }

@media (max-width: 768px) {
    .editor-layout {
        grid-template-columns: 1fr;
    }
    .editor-controls {
        position: static;
        max-height: none;
    }
}
