/*
Theme Name: JRodix Salon
Theme URI: https://okeysistem.yayinonline.com.tr
Author: OmerAti
Description: Koyu okey teması. Giriş, kayıt, misafir, kod, salonlar, ilk 10 ve yazılar hazırdır.
Version: 1.3.2
Text Domain: jrodix-salon
*/

:root {
  --zemin: #10261c;
  --kart: #173528;
  --koyu: #0c1c15;
  --ust: #145c3a;
  --yazi: #e7f3ea;
  --soluk: #b7cfc0;
  --yesil: #3dce7a;
  --mor: #1f8a5b;
  --turuncu: #e2b657;
  --pembe: #e25b4a;
  --cizgi: #e6e8f0;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; font: 15px/1.45 "Segoe UI", Tahoma, sans-serif; color: var(--yazi); background: var(--zemin); }
a { color: inherit; }
img { max-width: 100%; }

.tepe { background: var(--koyu); }
.tepe-ic, .ust-ic, .serit, .kahraman, .orta, .tek, .alt-ic, .alt-serit { width: min(1080px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.tepe-ic { padding: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #f3e7b0; font-size: 13px; }
.tepe-btn { display: flex; gap: 8px; flex: 0 0 auto; }
.ust { background: var(--ust); }
.ust-ic { padding: 14px 0; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rozet { display: inline-flex; align-items: center; gap: 8px; background: #0c1c15; color: #fff; text-decoration: none; font-weight: 800; border-radius: 12px; padding: 8px 14px; }
.rozet b, .rozet .logo { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: #fff; color: var(--ust); object-fit: contain; }
.menu { margin-left: auto; display: flex; gap: 16px; }
.menu a { color: #efeaff; text-decoration: none; font-size: 14px; }
.menu a:hover { color: var(--turuncu); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; padding: 8px 14px; text-decoration: none; font-weight: 800; font-size: 13px; color: #fff; white-space: nowrap; }
.btn.yesil { background: var(--yesil); color: #08321f; }
.btn.mor { background: var(--mor); }
.btn.turuncu { background: var(--turuncu); color: #3a2500; }
.btn.pembe { background: var(--pembe); }
.btn.genis { margin: 0 0 12px; }
.btn.kucuk { padding: 4px 8px; font-size: 12px; }

.serit { padding: 18px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cip { display: block; text-align: center; text-decoration: none; color: #fff; font-weight: 800; border-radius: 10px; padding: 14px 8px; }
.cip.mor { background: var(--mor); }
.cip.yesil { background: var(--yesil); color: #08321f; }
.cip.turuncu { background: var(--turuncu); color: #3a2500; }
.cip.pembe { background: var(--pembe); }

.kahraman { margin-top: 16px; margin-bottom: 16px; padding: 18px; display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: 18px; align-items: stretch; background: var(--kart); border-radius: 16px; }
.tanitim { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 8px 8px 8px 4px; }
.kahraman h1 { margin: 0; font-size: 34px; line-height: 1.15; }
.kahraman p { margin: 0; color: var(--soluk); }
.tanitim ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tanitim li { background: rgba(255,255,255,.06); border-radius: 10px; padding: 10px 12px; font-weight: 700; }
.tanitim-sayi { display: flex; gap: 10px; }
.tanitim-sayi span { background: #0c1c15; border-radius: 10px; padding: 10px 12px; min-width: 110px; }
.tanitim-sayi b { display: block; font-size: 22px; color: var(--turuncu); }
.tanitim .btn { align-self: flex-start; }
.form { display: grid; gap: 8px; background: #f7f8fc; color: #1c2033; border-radius: 12px; padding: 12px; }
.form label { display: grid; gap: 3px; font-size: 12px; font-weight: 700; }
.form input, .form select { width: 100%; padding: 8px; border: 1px solid #d5d8e4; border-radius: 8px; font: inherit; }
.form-sekme { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.form-sekme button { border: 0; border-radius: 8px; padding: 8px; background: #e7e9f2; font-weight: 800; cursor: pointer; }
.form-sekme button.aktif { background: var(--ust); color: #fff; }
.form .btn { width: 100%; border: 0; cursor: pointer; }
.form-hata { margin: 0; background: #ffe4e8; color: #8c1d12; border-radius: 8px; padding: 8px; font-size: 13px; }
.kayit { display: grid; gap: 8px; }
.chk { display: flex !important; align-items: center; gap: 6px; font-weight: 600; }
.chk input { width: auto; }
.kod { display: flex; align-items: flex-end; gap: 6px; }
.kod label { flex: 1; }
.kod img { width: 62px; height: 36px; object-fit: cover; border-radius: 8px; background: #123f26; }
.yenile { width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--ust); color: #fff; cursor: pointer; }

.orta { padding: 0 0 28px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr); gap: 14px; align-items: start; }
.kutu { background: #f7f8fc; color: #1c2033; border-radius: 14px; padding: 12px; }
.kutu h2, .bolum { margin: 4px 0 10px; font-size: 18px; }
.bolum { color: #fff; }
.tablo-kaydir { overflow: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 8px; text-align: left; border-bottom: 1px solid var(--cizgi); font-size: 13px; }
th { color: #667; font-size: 12px; }
.no { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 6px; background: #e5f6ec; color: #145c3a; font-weight: 800; font-size: 12px; }
.ozet { margin: 10px 0 0; background: #fff; border-radius: 10px; padding: 10px; text-align: center; }
.sira { position: sticky; top: 12px; }
.sira ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sira li { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 8px; padding: 8px; }
.sira b { flex: 1; min-width: 0; }
.sira small { color: #667; }

.yazi { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 12px; text-decoration: none; color: #1c2033; background: #f7f8fc; border-radius: 14px; padding: 10px; margin: 0 0 10px; }
.yazi-resim { display: block; height: 96px; border-radius: 10px; overflow: hidden; background: #145c3a; }
.yazi-resim img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yazi-resim b { display: grid; height: 100%; place-items: center; color: var(--turuncu); font-size: 28px; }
.yazi strong { display: block; }
.yazi small, .yazi em { display: block; color: #667; font-style: normal; font-size: 13px; }
.bos { color: var(--soluk); }

main, .tek { flex: 1 0 auto; }
.tek { padding: 28px 0 48px; overflow: hidden; }
.tek::after { content: ""; display: block; clear: both; }
.tek h1, .tek h2, .tek h3 { margin: 8px 0 14px; overflow-wrap: anywhere; }
.tek-ust a { color: var(--turuncu); }
.tek-resim { margin: 0 0 14px; }
.tek-resim img { width: 100%; height: auto; border-radius: 12px; display: block; }
.tek-metin { color: #d5d9e8; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.tek-metin a { color: var(--turuncu); }
.tek-metin img, .tek-metin video, .tek-metin iframe, .tek-metin figure, .tek-metin table { max-width: 100%; height: auto; }
.tek-metin .alignwide, .tek-metin .alignfull, .tek-metin .wp-block-image { max-width: 100%; margin-left: 0; margin-right: 0; }
.tek-metin p, .tek-metin li { overflow-wrap: anywhere; }

.alt { width: 100%; margin-top: auto; background: #0c1c15; padding: 28px 0 16px; }
.alt-ic { padding: 0 0 18px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.alt strong { display: block; margin-bottom: 8px; }
.alt p { margin: 0 0 10px; color: var(--soluk); }
.alt-ic a:not(.btn) { display: block; color: #d5d9e8; text-decoration: none; padding: 3px 0; }
.alt-ic a:not(.btn):hover { color: var(--turuncu); }
.alt .btn { width: auto; }
.alt-serit { padding: 12px 14px; border-radius: 12px; background: #173528; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.telif { text-align: center; color: #8d93a8; font-size: 12px; margin: 14px 0 0; }
.uyari { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(0,0,0,.45); padding: 16px; }
.uyari-kutu { width: min(420px, 100%); background: #fff; color: #545454; border-radius: 8px; padding: 8px 8px 22px; text-align: center; box-shadow: 0 8px 28px rgba(0,0,0,.28); }
.uyari-kutu h3 { margin: 12px 0 0; font-size: 22px; font-weight: 650; color: #333; }
.uyari-yazi { margin: 0; padding: 14px 22px 18px; font-size: 16px; line-height: 1.5; }
.uyari-btn { display: flex; justify-content: center; gap: 8px; }
.uyari-btn button { border: 0; border-radius: 6px; padding: 10px 16px; font-weight: 800; cursor: pointer; color: #fff; background: var(--ust); }
.uyari-btn button.ikincil { background: #e7e9f2; color: #333; }

@media (max-width: 860px) {
  .serit { grid-template-columns: 1fr 1fr; }
  .kahraman, .orta, .alt-ic { grid-template-columns: 1fr; }
  .menu { margin-left: 0; width: 100%; flex-wrap: wrap; }
  .tepe-ic { flex-wrap: wrap; }
  .yazi { grid-template-columns: 96px minmax(0, 1fr); }
  .sira { position: static; }
  .kahraman h1 { font-size: 26px; }
  .tanitim ul, .tanitim-sayi { grid-template-columns: 1fr; }
  .tanitim-sayi { display: grid; }
  .alt-serit { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .serit, .yazi, .tanitim ul { grid-template-columns: 1fr; }
  .tepe-btn { width: 100%; }
  .tepe-btn .btn { flex: 1; }
}
