/**
 * Styles for the Sara AI Control Panel
 */

.control-panel {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: rgba(20, 33, 61, 0.95);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 15px;
    z-index: 1000;
    color: white;
    font-family: 'Montserrat', sans-serif;
    max-width: 300px;
    transform: translateX(-110%);
    transition: transform 0.3s ease-in-out;
}

.control-panel.visible {
    transform: translateX(0);
}

.control-panel-toggle {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3E6BB9;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s, transform 0.3s;
}

.control-panel-toggle:hover {
    background-color: #2E5BA9;
    transform: scale(1.05);
}

.control-panel h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #FCA311;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.control-panel-section {
    margin-bottom: 15px;
}

.control-panel-section h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 500;
}

.toggle-switch {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.toggle-switch label {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-right: 10px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #FCA311;
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.toggle-text {
    font-size: 13px;
}

.control-panel-footer {
    font-size: 11px;
    opacity: 0.7;
    text-align: center;
    margin-top: 15px;
}