/* Ayarlar ve Kısıtlamalar CSS */

/* Settings Grid - Accordion için optimize */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 8px;
}

/* Accordion içinde settings grid */
.accordion-content .settings-grid {
  padding: 8px 0;
}

.setting-group {
  background: #f8f9fa;
  /* border: 1px solid #e9ecef; */
  /* border-radius: 2px; */
  padding: 5px;
  margin-bottom: 8px;
}

.setting-title {
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e9ecef;
}

.setting-item {
  margin-bottom: 12px;
}

.setting-item:last-child {
  margin-bottom: 16px;
}

.setting-item label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #495057;
  margin-bottom: 4px;
}

.setting-item input[type="time"],
.setting-item input[type="number"] {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ced4da;
  border-radius: 2px;
  font-size: 12px;
}

.setting-item input[type="checkbox"] {
  margin-right: 6px;
}

/* Restrictions Grid - Accordion için optimize */
.restrictions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 8px;
}

/* Öğrenci kısıtlamaları için 2 kolonlu grid */
.restriction-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.restriction-subgroup {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 12px;
}

.restriction-subgroup h5 {
  font-size: 13px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 12px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid #e9ecef;
}

/* Accordion içinde restrictions grid */
.accordion-content .restrictions-grid {
  padding: 8px 0;
}

.restriction-group {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 2px;
  padding: 12px;
  margin-bottom: 8px;
}

.restriction-title {
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e9ecef;
}

.restriction-item {
  margin-bottom: 12px;
}

.restriction-item:last-child {
  margin-bottom: 16px;
}

.restriction-item label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #495057;
  margin-bottom: 4px;
}

.restriction-item input[type="number"] {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ced4da;
  border-radius: 2px;
  font-size: 12px;
}

.restriction-item input[type="checkbox"] {
  margin-right: 6px;
}

/* Tab navigation düzenlemesi */
.tab-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  border-bottom: 2px solid #e9ecef;
  padding: 0 8px;
  background: #f8f9fa;
}

.tab-btn {
  padding: 8px 12px;
  background: transparent;
  border: none;
  font-size: 11px;
  font-weight: 500;
  color: #6c757d;
  cursor: pointer;
  border-radius: 2px 2px 0 0;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-btn.active {
  background: white;
  color: #2c3e50;
  border-bottom: 2px solid #007bff;
}

.tab-btn:hover:not(.active) {
  background: #e9ecef;
  color: #495057;
}

/* Form elements responsive */
@media (max-width: 768px) {
  .settings-grid,
  .restrictions-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 8px;
  }
  
  .setting-group,
  .restriction-group {
    padding: 12px;
  }
  
  .tab-btn {
    font-size: 10px;
    padding: 6px 8px;
  }
}