/* Parameters Buttons CSS - Temizlenmiş Versiyon */

/* Parameters butonları için temel stiller */
.parameters {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    color: #212529;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 3px 8px;
    min-width: 40px;
    font-weight: 400;
    font-family: 'Inter', 'Poppins', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin: 2px;
    font-size: 11px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible !important;
    flex-shrink: 0;
    cursor: pointer;
    text-align: center;
    opacity: 1;
    visibility: visible;
}
.parameters:hover {
    background: linear-gradient(135deg, #4a90e2 0%, #1e3a8a 100%) !important;
    border-color: #1e3a8a !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3) !important;
  }

/* Parameters butonları active durumu */
.parameters.active {
    background: linear-gradient(135deg, #4a90e2 0%, #1e3a8a 100%) !important;
    border-color: #1e3a8a !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3) !important;
}
/* Graphics Container içindeki Parameters butonları için özel active stilleri */

/* Graphics Container içindeki Parameters butonları için özel active stilleri */
#graphics_container .parameters.active {
    background: linear-gradient(135deg, #4a90e2 0%, #1e3a8a 100%) !important;
    border-color: #1e3a8a !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3) !important;
    transform: scale(1.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Daha güçlü seçiciler - graphics container içindeki butonlar için */
#graphics_container button.parameters.active {
    background: linear-gradient(135deg, #4a90e2 0%, #1e3a8a 100%) !important;
    border-color: #1e3a8a !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3) !important;
    transform: scale(1.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* En güçlü seçici - tüm graphics container butonları için */
#graphics_container .parameters.active,
#graphics_container button.parameters.active,
#graphics_container [class*="parameters"].active {
    background: linear-gradient(135deg, #4a90e2 0%, #1e3a8a 100%) !important;
    border-color: #1e3a8a !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3) !important;
    transform: scale(1.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Parameters butonları nodata durumu */
.parameters.nodata {
    opacity: 0.6;
    pointer-events: none;
    background: #6c757d !important;
    color: #fff !important;
}

/* Graphics Container içindeki Parameters butonları için özel stiller */
#graphics_container .parameters:hover {
    background: linear-gradient(135deg, #4a90e2 0%, #1e3a8a 100%) !important;
    border-color: #1e3a8a !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3) !important;
}

#graphics_container .parameters.active {
    background: linear-gradient(135deg, #4a90e2 0%, #1e3a8a 100%) !important;
    border-color: #1e3a8a !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3) !important;
}
/* Submenu Parent (Manzara, Yollar) Hover Styles */
.submenu-parent {
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.submenu-parent:hover {
    background: linear-gradient(135deg, #4a90e2 0%, #1e3a8a 100%) !important;
    border-color: #1e3a8a !important;
    color: white !important;
}

/* Layer Group Button Styles */
[data-target="layerGroup"].active {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important;
    color: white !important;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3) !important;
    border-color: #1e7e34 !important;
}

/* Layer Group Button Hover Effect */
[data-target="layerGroup"]:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%) !important;
    transform: translateY(-1px);
    transition: all 0.2s ease;
    color: white !important;
    border-color: #1e7e34 !important;
}
