/**** base style *****/
.form-inline {display: -ms-flexbox;display: flex;-ms-flex-flow: row wrap;flex-flow: row wrap;-ms-flex-align: center;align-items: center;}
.input-group-append .btn, .input-group-prepend .btn{position: relative;z-index: 2;}
/**** base style *****/
#systemForm {font-family: Arial, sans-serif;}
.section {background: #f8f9fa;border-radius: 8px;padding: 15px;margin-bottom: 20px;border: 1px solid #dee2e6;}
.section label{font-size:.75rem;}
.tile-group{font-size:1rem!important;font-weight:600;}
.section-title {margin-bottom: 25px;}
.form-podbor{float:left;}
/* Базовые стили для секций компонентов */
#heatingComponents,
#waterComponents {transition: max-height 1s ease, visibility 0.3s ease;position: relative;}
/* Плавное скрытие с минимальной высотой */
#heatingComponents[style*="max-height: 5px"],
#waterComponents[style*="max-height: 5px"] {opacity: 0;}
/* Контейнер для изображения */
#imageContainer {text-align: center;margin: 30px 0;}
#dynamicImage {max-width: 100%;height: auto;border-radius: 8px;box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);}
/* Стили для секций компонентов */
.components-section {opacity: 1;transition: opacity 1s ease;}
.components-section[style*="hidden"] {opacity: 0;}
/* Стили для радио‑кнопок и меток */
.form-check-input {margin-right: 8px;}
label {display: block;margin-bottom: 8px;cursor: pointer;}
/* Контейнер для изображения */
#imageContainer {text-align: center;margin: 30px 0;}
#dynamicImage {max-width: 100%;height: auto;margin:0 auto;border-radius: 8px;box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);}


/* Адаптивность */
@media (max-width: 768px) {
  .form-podbor {margin-bottom: 15px;} 
  .col-md-2 {flex: 0 0 100%;max-width: 100%;}
  .title-section h2 {font-size: 1.4rem;padding: 8px 0;}
}
.title-section {
    margin: 20px 0;
    padding: 5px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}
.title-section h2 {
    margin: 0;
    padding: 5px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.3;
    /*text-transform: uppercase;*/
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Плавная анимация при изменении заголовка */
.title-section h2 {
    transition: all 3s ease-in-out;
}
/***** table *****/
.water-supply-table {
  margin-top: 20px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.water-supply-table th {
  background-color: #4CAF50;
  color: white;
  padding: 12px;
  text-align: left;
}

.water-supply-table td {
  padding: 8px;
  border: 1px solid #ddd;
}

.water-supply-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.water-supply-table tr:hover {
  background-color: #f5f5f5;
}