/* Toggle switch styles */
.toggle-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: #d1d5db;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.toggle-switch.active {
    background-color: #059669;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(20px);
}

/* Hover effects */
.toggle-switch:hover {
    background-color: #9ca3af;
}

.toggle-switch.active:hover {
    background-color: #047857;
}

/* Card hover effects */
.card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease-in-out;
}

/* Button hover effects */
button:hover {
    background-color: #f3f4f6 !important;
    transition: background-color 0.2s ease-in-out;
}

/* Dropdown customization */
.Select-control {
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 14px !important;
}

.Select-control:hover {
    border-color: #9ca3af !important;
}

.Select-control--is-focused {
    border-color: #059669 !important;
    box-shadow: 0 0 0 1px #059669 !important;
}

/* Table styling */
.summary-table-row:hover {
    background-color: #f9fafb;
    transition: background-color 0.2s ease-in-out;
}

/* Responsive design */
@media (max-width: 768px) {
    .toggle-switches-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .toggle-container {
        margin-right: 0 !important;
        margin-bottom: 8px;
    }
}

/* Custom checkbox styles for comparison */
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #059669;
    cursor: pointer;
}

/* Map controls styling */
.map-controls button:hover {
    background-color: #f3f4f6 !important;
    border-color: #9ca3af !important;
}

.map-type-selector:hover {
    background-color: #f3f4f6 !important;
    border-color: #9ca3af !important;
}