/*
BU SİTENİN TÜM KODLAMASI VE TASARIMI MOVYRA EKİBİ TARAFINDAN ÖZENLE YAZILMIŞ VE TASARLANMIŞTIR.
*/
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(120,90,213,.25), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(0,170,255,.18), transparent 55%),
              #070a12;
  color:#fff;
  min-height:100vh;
}
.admin-back-btn{
  position:fixed;
  top:18px; right:18px;
  z-index:20;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  display:inline-flex; gap:8px; align-items:center;
}
.admin-back-btn:hover{ background:rgba(255,255,255,.12); }
.admin-wrapper{ max-width:980px; margin:90px auto 40px; padding:0 18px; }
.admin-card{
  background:rgba(15,18,26,.82);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:18px 18px 10px;
  box-shadow:0 30px 80px rgba(0,0,0,.55);
}
.card-header h1{ margin:0; font-size:26px; display:flex; gap:10px; align-items:center; }
.subtitle{ margin:6px 0 0; opacity:.75; }
.form-grid{
  display:grid; grid-template-columns: 220px 1fr; gap:12px;
  margin-top:16px;
}
.form-section{ margin-top:12px; }
label{ display:block; font-weight:800; font-size:13px; opacity:.9; margin-bottom:7px; }
input, textarea{
  width:100%;
  box-sizing:border-box;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  border-radius:12px;
  padding:12px 12px;
  outline:none;
}
textarea{ resize:vertical; }
input:focus, textarea:focus{ border-color:rgba(120,90,213,.55); box-shadow:0 0 0 3px rgba(120,90,213,.18); }

.form-actions{
  margin-top:14px;
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  flex-wrap:wrap;
}
.check{ display:flex; gap:10px; align-items:center; font-weight:700; opacity:.9; }
.check input{ width:18px; height:18px; }
.btns{ display:flex; gap:10px; align-items:center; }
.btn{
  border:none; cursor:pointer;
  border-radius:12px;
  padding:11px 14px;
  display:inline-flex; gap:8px; align-items:center;
  font-weight:900;
}
.btn.primary{ background:#ff2b2b; color:#fff; }
.btn.primary:hover{ filter:brightness(1.05); }
.btn.ghost{ background:rgba(255,255,255,.08); color:#fff; border:1px solid rgba(255,255,255,.12); }
.btn.ghost:hover{ background:rgba(255,255,255,.12); }
.divider{
  height:1px; background:rgba(255,255,255,.08);
  margin:18px 0 14px;
}
.list-header{
  display:flex; align-items:center; gap:10px;
  margin-bottom:10px;
}
.list-header h3{ margin:0; display:flex; gap:10px; align-items:center; }
.count-badge{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  padding:2px 10px; border-radius:999px;
  font-weight:900; font-size:12px; opacity:.9;
}
.notes-list{ display:grid; gap:10px; padding-bottom:10px; }
.note-card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;
  padding:12px;
  display:flex; justify-content:space-between; gap:14px;
}
.note-left{ min-width:0; }
.note-top{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.pill{
  font-size:12px; font-weight:900;
  padding:3px 10px; border-radius:999px;
  background:rgba(120,90,213,.22); color:#d8ccff;
}
.note-title{ font-weight:900; }
.note-meta{ margin-top:5px; font-size:12px; opacity:.7; }
.note-actions{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.small{
  border:none; cursor:pointer;
  border-radius:12px;
  padding:9px 10px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#fff; font-weight:900;
}
.small:hover{ background:rgba(255,255,255,.12); }
.small.danger{ background:rgba(255,43,43,.16); border-color:rgba(255,43,43,.28); }
.small.danger:hover{ background:rgba(255,43,43,.22); }
.small.ok{ background:rgba(0,180,120,.14); border-color:rgba(0,180,120,.24); }
.small.ok:hover{ background:rgba(0,180,120,.20); }
.empty{
  padding:14px; opacity:.75;
  background:rgba(255,255,255,.04);
  border:1px dashed rgba(255,255,255,.15);
  border-radius:14px;
}
@media (max-width:720px){
  .form-grid{ grid-template-columns: 1fr; }
  .admin-back-btn{ left:18px; right:auto; }
}


.rt-toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-top:10px;
  padding:10px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.rt-btn{
  border:none;
  cursor:pointer;
  border-radius:12px;
  padding:10px 10px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
}
.rt-btn:hover{ background:rgba(255,255,255,.12); }
.rt-btn:active{ transform:translateY(1px); }
.rt-sep{
  width:1px; height:28px;
  background:rgba(255,255,255,.12);
  margin:0 4px;
}
.rt-color{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  cursor:pointer;
  user-select:none;
}
.rt-color:hover{ background:rgba(255,255,255,.12); }
.rt-color input{
  width:28px; height:20px;
  padding:0;
  border:none;
  background:transparent;
  border-radius:6px;
}
.rt-editor{
  margin-top:10px;
  min-height:170px;
  padding:12px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  outline:none;
  white-space:pre-wrap;
}
.rt-editor:focus{
  border-color:rgba(120,90,213,.55);
  box-shadow:0 0 0 3px rgba(120,90,213,.18);
}
.rt-editor:empty:before{
  content: attr(data-placeholder);
  opacity:.55;
  white-space:pre-wrap;
}
.rt-hidden{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
}
.note-preview{
  margin-top:8px;
  font-size:13px;
  opacity:.78;
  line-height:1.35;
  max-width: 620px;
  overflow:hidden;
  text-overflow:ellipsis;
}



input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  flex: 0 0 auto;
  accent-color: #e50914;
}

