/* Controls Panel Styles */
.controls-section {
    background-color: #f5f5f5;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    display: flex;
    flex-direction: column;
}

.controls-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background-color: #e0e0e0;
    border-bottom: 1px solid #ccc;
}

.controls-title {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.controls-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    overflow-y: auto;
}

.control-button {
    padding: 8px 15px;
    background-color: #4a80f5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
    position: relative;
}

.control-button:hover {
    background-color: #3a6ea5;
}

/* Responsive adjustments will be handled in main.css */

/* Split Button Styles */
.split-button-container {
    position: relative;
    display: inline-flex;
    border-radius: 4px;
    overflow: hidden;
}

.split-button-main {
    padding: 8px 15px;
    background-color: #4a80f5;
    color: white;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
    flex-grow: 1;
}

.split-button-toggle {
    padding: 8px 10px;
    background-color: #4a80f5;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-button-main:hover,
.split-button-toggle:hover {
    background-color: #3a6ea5;
}

.split-button-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border: 2px solid #4a80f5;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    min-width: 150px;
    display: none;
    padding: 5px 0;
}

.split-button-dropdown.show {
    display: block;
}

.dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s;
    display: block;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}

.dropdown-item.selected {
    background-color: #e6f0ff;
    font-weight: 600;
    color: #4a80f5;
}
