/* Bulk Availability Modal Stilleri */
.bulk-availability-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
}

.bulk-availability-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bulk-modal-content {
  background-color: var(--white);
  margin: auto;
  padding: 0;
  border-radius: 15px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bulk-modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
  color: var(--white);
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px 15px 0 0;
}

.bulk-modal-header h2 {
  margin: 0;
  font-size: 22px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.bulk-modal-header h2 i {
  font-size: 20px;
}

.bulk-modal-close {
  color: var(--white);
  font-size: 30px;
  font-weight: 300;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.8;
  transition: all 0.2s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.bulk-modal-close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.bulk-modal-body {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

/* Form Stilleri */
.bulk-form-section {
  margin-bottom: 25px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
}

.bulk-form-section:last-child {
  margin-bottom: 0;
}

.bulk-form-section h3 {
  color: var(--dark-color);
  font-size: 18px;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bulk-form-section h3 i {
  color: var(--primary-color);
  font-size: 16px;
}

.bulk-form-section h4 {
  color: var(--gray-700);
  font-size: 16px;
  margin: 15px 0 10px 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-700);
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.1);
}

/* Tekrar Seçenekleri */
.repeat-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.repeat-option {
  position: relative;
}

.repeat-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.repeat-option label {
  display: block;
  padding: 12px 20px;
  background-color: var(--white);
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  font-size: 14px;
}

.repeat-option label:hover {
  border-color: var(--primary-color);
  background-color: rgba(106, 90, 205, 0.05);
}

.repeat-option input[type="radio"]:checked + label {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(106, 90, 205, 0.3);
}

/* Gün Seçimi */
#daySelectionSection {
  margin-top: 20px;
  padding: 15px;
  background-color: rgba(106, 90, 205, 0.05);
  border-radius: 8px;
}

.day-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}

.day-checkbox {
  position: relative;
}

.day-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.day-checkbox label {
  display: block;
  padding: 10px 15px;
  background-color: var(--white);
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 500;
}

.day-checkbox label:hover {
  border-color: var(--primary-color);
  background-color: rgba(106, 90, 205, 0.05);
}

.day-checkbox input[type="checkbox"]:checked + label {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(106, 90, 205, 0.3);
}

/* Özel Saat Dilimleri */
.custom-slots-section {
  background-color: rgba(106, 90, 205, 0.05);
  padding: 20px;
  border-radius: 10px;
}

#customSlotsContainer {
  margin-bottom: 15px;
}

.custom-slot {
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 2px solid #e0e0e0;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.custom-slot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.custom-slot-header h4 {
  margin: 0;
  font-size: 16px;
  color: var(--dark-color);
}

.btn-remove {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 20px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.btn-remove:hover {
  background-color: rgba(231, 76, 60, 0.1);
  transform: scale(1.1);
}

/* Önizleme Bölümü */
.preview-section {
  background-color: rgba(52, 152, 219, 0.05);
  padding: 20px;
  border-radius: 10px;
  border: 2px dashed var(--info);
}

.preview-container {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.preview-empty {
  text-align: center;
  color: var(--gray-600);
}

.preview-empty i {
  font-size: 48px;
  color: var(--gray-400);
  margin-bottom: 15px;
  display: block;
}

.preview-summary {
  background-color: var(--white);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.preview-summary h4 {
  margin-bottom: 15px;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  transition: all 0.2s;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
}

.preview-calendar {
  background-color: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.preview-calendar h4 {
  margin-bottom: 20px;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-dates {
  display: grid;
  gap: 15px;
}

.preview-date {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  background-color: #f8f9fa;
  transition: all 0.2s;
}

.preview-date:hover {
  border-color: var(--primary-color);
  background-color: rgba(106, 90, 205, 0.05);
}

.date-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.date-day {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 16px;
}

.date-number {
  color: var(--gray-700);
  font-size: 14px;
}

.slot-count {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.date-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-slot {
  background-color: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--gray-700);
  border: 1px solid #e0e0e0;
  font-weight: 500;
}

.preview-more {
  text-align: center;
  color: var(--gray-600);
  padding: 20px;
  font-style: italic;
  border-top: 1px dashed #e0e0e0;
  margin-top: 15px;
}

/* Butonlar */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid #e0e0e0;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn i {
  font-size: 14px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn.primary-btn {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn.primary-btn:hover {
  background-color: var(--dark-color);
}

.btn.secondary-btn {
  background-color: #e0e0e0;
  color: var(--gray-700);
}

.btn.secondary-btn:hover {
  background-color: #d0d0d0;
}

.btn.info-btn {
  background-color: var(--info);
  color: var(--white);
}

.btn.info-btn:hover {
  background-color: #2980b9;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

#addCustomSlotBtn {
  background-color: transparent;
  border: 2px dashed var(--primary-color);
  color: var(--primary-color);
  width: 100%;
  margin-top: 15px;
  padding: 15px;
}

#addCustomSlotBtn:hover {
  background-color: rgba(106, 90, 205, 0.05);
  border-color: var(--dark-color);
  box-shadow: none;
  transform: none;
}

/* Responsive */
@media (max-width: 768px) {
  .bulk-modal-content {
    width: 95%;
    margin: 10px auto;
    max-height: 95vh;
  }
  
  .bulk-modal-header {
    padding: 20px;
  }
  
  .bulk-modal-header h2 {
    font-size: 18px;
  }
  
  .bulk-modal-body {
    padding: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .repeat-options {
    grid-template-columns: 1fr;
  }
  
  .day-selection {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  
  .summary-stats {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Animasyonlar */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Spinner animasyonu */
.fa-spinner.fa-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}