/* Planner specific overrides and additions */

.panel-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.panel-section:last-child {
    border-bottom: none;
}

.panel-section h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tool Grid Override for cleaner look */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.tool-btn {
    padding: 8px;
    font-size: 1.2rem;
    color: var(--text);
    transition: all 0.2s;
}

.tool-btn:hover {
    background: #f0f0f0;
}

.btn-text {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.text-danger {
    color: var(--accent);
}

/* Canvas specific */
#planner-canvas {
    display: block;
    background: white;
    /* Actual canvas bg, container has grid bg */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Layer Properties */
.layer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    margin-bottom: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.layer-item:hover {
    background: #f8f9fa;
}

.layer-item.active {
    border-color: var(--primary);
    background: #e8f5e9;
    font-weight: 500;
}

.layer-controls i {
    margin-left: 8px;
    cursor: pointer;
    color: #95a5a6;
    font-size: 0.9em;
}

.layer-controls i:hover {
    color: var(--secondary);
}

.layer-controls i.active {
    color: var(--secondary);
}

/* Property Inputs */
.prop-row {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prop-row label {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-bottom: 0;
    flex: 1;
}

.prop-row input,
.prop-row select {
    width: 60%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.prop-row input[type="color"] {
    padding: 2px;
    height: 30px;
}

.color-picker-row {
    display: flex;
    align-items: center;
    gap: 10px;
}