.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  font-weight: 600;
  color: #b0b8c8;
  font-size: 1em;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #3a7bd5;
  border-radius: 5px;
  font-size: 1em;
  font-family: inherit;
  transition: all 0.3s ease;
  background: rgba(50, 55, 70, 0.7);
  color: #e0e6f0;
}

.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5a9fd4;
  background: rgba(50, 55, 70, 0.95);
  box-shadow: 0 0 10px rgba(90, 159, 212, 0.5);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
  justify-content: flex-end;
}

.form-btn-submit {
  padding: 8px 18px;
  background: rgba(76, 175, 80, 0.3);
  color: #7ed321;
  border: 1.5px solid #4caf50;
  border-radius: 5px;
  font-size: 0.9em;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 0 0 auto;
}

.form-btn-submit:hover {
  background: rgba(76, 175, 80, 0.5);
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.form-btn-submit:active {
  transform: scale(0.98);
}

.form-btn-cancel {
  padding: 8px 18px;
  background: rgba(100, 110, 130, 0.3);
  color: #b0b8c8;
  border: 1.5px solid #3a7bd5;
  border-radius: 5px;
  font-size: 0.9em;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 0 0 auto;
}

.form-btn-cancel:hover {
  background: rgba(100, 110, 130, 0.5);
  border-color: #5a9fd4;
  box-shadow: 0 2px 8px rgba(90, 159, 212, 0.2);
}

.form-btn-cancel:active {
  transform: scale(0.98);
}

/* ===== НАСТРОЙКИ ===== */
.custom-select {
  position: relative;
  width: 100%;
}

.select-selected {
  background-color: rgba(50, 55, 70, 0.7);
  border: 2px solid #3a7bd5;
  border-radius: 5px;
  padding: 8px;
  font-size: 0.95em;
  color: #e0e6f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.select-selected:after {
  content: "▼";
  position: absolute;
  right: 10px;
  color: #e0e6f0;
  pointer-events: none;
}

.select-items {
  position: absolute;
  background-color: rgba(40, 44, 54, 0.95);
  border: 1px solid #3a7bd5;
  border-radius: 5px;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

.select-items div {
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e0e6f0;
}

.select-items div:hover {
  background-color: rgba(58, 123, 213, 0.3);
}

.select-hide {
  display: none;
}

.mini-preview {
  width: 30px;
  height: 30px;
  object-fit: contain;
  background: rgba(224, 230, 240, 0.5);
  border-radius: 3px;
}

.team-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(30, 34, 45, 0.98);
  border: 1px solid rgba(90, 159, 212, 0.3);
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.team-suggestion-item {
  padding: 10px 12px;
  cursor: pointer;
  color: #e0e6f0;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(90, 159, 212, 0.1);
}

.team-suggestion-item:last-child {
  border-bottom: none;
}

.team-suggestion-item:hover,
.team-suggestion-item.active {
  background: rgba(90, 159, 212, 0.2);
}

.team-suggestion-item.active {
  background: rgba(90, 159, 212, 0.3);
}

/* Кнопка dropdown для команд */
button[onclick^="toggleTeamDropdown"]:hover {
  color: #7ab0e0 !important;
}

/* Анимация пульсации для бейджа NEW */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}


/* ===== LIVE СЕКЦИЯ ===== */
