/* ============================================
   TALENT AUDIOS MODULE – FINAL FULL CSS v4
   Mobile: title+desc left, icons right
============================================ */

.aud-item {
  background: #111;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: #fff;
  transition: all .2s ease;
}
.aud-item:hover {
  background: #151515;
  border-color: #333;
}

/* === Başlık + açıklama + ikon alanı === */
.aud-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
}
.aud-info {
  flex: 1;
  text-align: left;
}
.aud-title-text {
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
}
.aud-title-text i { color: #fff; opacity: .9; }
.aud-desc {
  font-size: .9rem;
  color: #fff;
  opacity: .9;
  margin-top: .2rem;
  line-height: 1.4;
}
.aud-icons {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: .4rem;
}
.aud-icons button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.aud-icons button:hover {
  background: #2a2a2a;
  border-color: #555;
}

/* === Ses oynatıcı === */
.aud-player { margin-top: .7rem; }
.aud-player audio {
  width: 100%;
  height: 36px;
  border-radius: 8px;
  background: #fff !important;
}
.aud-player audio::-webkit-media-controls-enclosure {
  background-color: #fff !important;
  border-radius: 8px;
}

/* === Üst başlık ve aksiyonlar === */
.aud-header {
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.aud-title {
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.aud-title i { color: #fff; }
.aud-sub {
  color: #bfbfbf;
  font-size: .9rem;
  margin-top: 2px;
  margin-bottom: 1.2rem;
}
.aud-top-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 0; /* desktop varsayılan */
}
.aud-top-actions .btn {
  border-radius: 50px;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  transition: all .2s ease;
  padding: .45rem 1rem;
}
.aud-top-actions .btn:hover { background: #2a2a2a; }

/* === Scrollbar === */
#audList::-webkit-scrollbar { width: 10px; }
#audList::-webkit-scrollbar-thumb {
  background: #2b2b2b;
  border-radius: 10px;
}
#audList::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

/* === Drag state === */
.aud-item.dragging {
  opacity: .85;
  background: #181818;
  border-color: #3a3a3a;
  box-shadow: 0 0 0 2px rgba(255,255,255,.1);
}

/* === Form input (modal) === */
.aud-input {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
}
.aud-input:focus {
  border-color: #555;
  box-shadow: none;
}

/* === Modal genel === */
.aud-modal {
  background: #121212;
  color: #fff;
  border-radius: 12px;
  border: 1px solid #2b2b2b;
}
.aud-modal .modal-header {
  background: #141414;
  border-bottom: 1px solid #2a2a2a;
}
.aud-modal .modal-title { color: #fff; font-weight: 600; }
.aud-modal-footer {
  background: #0f0f0f;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.aud-btn-save, .aud-btn-cancel {
  border-radius: 8px;
  padding: .5rem 1.2rem;
  color: #fff;
  border: 1px solid #333;
  background: #1a1a1a;
  transition: all .2s ease;
}
.aud-btn-save:hover, .aud-btn-cancel:hover {
  background: #2a2a2a;
}

/* ============================================
   RESPONSIVE
============================================ */

/* Tablet */
@media (max-width: 992px) {
  .aud-head { align-items: flex-start; }
}

/* Mobil */
@media (max-width: 576px) {
  .aud-item { padding: .9rem 1rem; }
  .aud-head {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: .5rem;
  }
  .aud-title-text { font-size: .95rem; }
  .aud-desc { font-size: .86rem; }
  .aud-icons button { width: 34px; height: 34px; }
  .aud-player { margin-top: .6rem; }
  .aud-player audio { width: 100%; height: 34px; }

  /* Mobilde üst butonlara boşluk */
  .aud-top-actions {
    margin-top: 10px;
  }
}
