/* ===============================
   EDUCATION & COURSES STYLES
   =============================== */

.edu-header {
  border-bottom: 1px solid #222;
  padding-bottom: .75rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* mobilde taşmayı önlemek için */
  gap: .75rem;
}

.edu-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.edu-sub {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: #bbb;
  margin-top: 2px;
}

/* Buttons (Header) */
.edu-top-actions {
  display: flex;
  gap: .6rem; /* butonlar arası boşluk */
  flex-wrap: wrap;
}
.edu-top-actions .btn {
  border-radius: 6px;
  padding: .45rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: .2s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.edu-top-actions .btn i {
  font-size: 1rem;
}
#eduSaveOrder {
  background: #fff;
  color: #111;
  border: none;
}
#eduSaveOrder:hover { background: #ddd; }
#eduAddBtn {
  background: #d90404;
  color: #fff;
  border: none;
}
#eduAddBtn:hover { background: #b10303; }

/* List */
#eduList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.edu-item {
  background: linear-gradient(180deg,#1a1a1a 0%,#111 100%);
  border-radius: 10px;
  padding: 1rem;
  color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.edu-item:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.edu-item.dragging { opacity: 0.6; }

/* Item head */
.edu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  gap: .5rem;
  flex-wrap: wrap;
}
.edu-title-text {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.edu-meta {
  font-size: 0.85rem;
  color: #bbb;
}

/* Actions */
.edu-actions {
  display: flex;
  gap: .5rem; /* butonlar arası boşluk */
}
.edu-actions .btn {
  border-radius: 6px;
  padding: .3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}
.edu-actions .btn i {
  font-size: 1rem;
  line-height: 1;
}
.edu-actions .btn-outline-danger {
  border: 1px solid #d90404;
  color: #d90404;
}
.edu-actions .btn-outline-danger:hover {
  background: #d90404;
  color: #fff;
}
.edu-actions .btn-outline-light {
  border: 1px solid #fff;
  color: #fff;
}
.edu-actions .btn-outline-light:hover {
  background: #fff;
  color: #111;
}

/* Modal */
.edu-modal {
  background: #111;
  color: #fff;
  border-radius: 12px;
}
.edu-modal .modal-header,
.edu-modal .modal-body,
.edu-modal .modal-footer {
  background: transparent;
  border: none;
}
.edu-modal .modal-title {
  font-size: 1.2rem;
  font-weight: 600;
}
.edu-modal .form-label {
  font-size: .9rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: .4rem;
}
.edu-input {
  background: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #333 !important;
  border-radius: 8px;
}
.edu-input:focus {
  border-color: #d90404 !important;
  box-shadow: 0 0 0 2px rgba(217,4,4,.4) !important;
}

/* Description textarea yüksekliği */
.edu-modal textarea.edu-input {
  min-height: 120px;
  resize: vertical;
}

/* Alerts */
#eduAlertBox .alert {
  margin-bottom: 1rem;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 575.98px) {
  .edu-title { font-size: 1.1rem; }

  .edu-top-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .edu-top-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .edu-actions {
    gap: .4rem;
  }
  .edu-actions .btn {
    width: 30px;
    height: 30px;
  }
  .edu-actions .btn i {
    font-size: .85rem;
  }
}
