﻿/* ÖĞ-DER Etkinlik Başvuru — tema */
:root {
    --egt-ana: #12385c;        /* lacivert */
    --egt-ana-koyu: #0b2540;
    --egt-vurgu: #c8102e;      /* kırmızı vurgu */
    --egt-zemin: #f3f5f8;
    --egt-kenar: #dde3ea;
    --bs-primary: #12385c;
    --bs-primary-rgb: 18, 56, 92;
    --bs-link-color: #12385c;
    --bs-link-hover-color: #0b2540;
}

body {
    background: var(--egt-zemin);
    color: #1d2633;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body > form { flex: 1 0 auto; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* Üst bar */
.egt-ust { background: var(--egt-ana); border-bottom: 4px solid var(--egt-vurgu); }
.egt-logo { font-weight: 800; letter-spacing: .04em; font-size: 1.25rem; }
.egt-logo-alt { font-weight: 400; opacity: .8; font-size: .95rem; border-left: 1px solid rgba(255,255,255,.35); padding-left: .6rem; }

/* Alt bar */
.egt-alt { background: #fff; border-top: 1px solid var(--egt-kenar); padding: 1rem 0; font-size: .875rem; color: #5b6676; }
.egt-alt a { color: #5b6676; text-decoration: none; }
.egt-alt a:hover { text-decoration: underline; }

/* Butonlar */
.btn-primary { --bs-btn-bg: var(--egt-ana); --bs-btn-border-color: var(--egt-ana);
               --bs-btn-hover-bg: var(--egt-ana-koyu); --bs-btn-hover-border-color: var(--egt-ana-koyu);
               --bs-btn-active-bg: var(--egt-ana-koyu); --bs-btn-disabled-bg: var(--egt-ana); }

/* Kartlar */
.egt-kart { background: #fff; border: 1px solid var(--egt-kenar); border-radius: .75rem; }
.egt-kart-baslik { border-bottom: 1px solid var(--egt-kenar); padding: 1rem 1.25rem; }
.egt-kart-govde { padding: 1.25rem; }
@media (min-width: 768px) { .egt-kart-govde { padding: 1.75rem; } }

/* Etkinlik bilgi şeridi */
.egt-etkinlik { background: var(--egt-ana); color: #fff; border-radius: .75rem; padding: 1.5rem; position: relative; overflow: hidden; }
.egt-etkinlik h1 { font-size: 1.5rem; font-weight: 700; margin: 0 0 .75rem; }
@media (min-width: 768px) { .egt-etkinlik h1 { font-size: 1.85rem; } }
.egt-etkinlik .egt-bilgi { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .95rem; opacity: .92; }
.egt-etkinlik .egt-bilgi i { margin-right: .35rem; opacity: .75; }
.egt-etkinlik::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
                       border-radius: 50%; background: rgba(255,255,255,.06); }

/* Form bölümleri */
.egt-bolum { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
             color: var(--egt-ana); margin: 1.75rem 0 1rem; display: flex; align-items: center; gap: .75rem; }
.egt-bolum::after { content: ""; flex: 1; height: 1px; background: var(--egt-kenar); }
.egt-bolum:first-child { margin-top: 0; }
.form-label { font-weight: 500; font-size: .925rem; }
.form-label .zorunlu { color: var(--egt-vurgu); margin-left: 2px; }
.form-control:focus, .form-select:focus { border-color: #5a86b0; box-shadow: 0 0 0 .2rem rgba(18,56,92,.15); }

/* Otel tarihi vurgusu */
.egt-otel { background: #eef3f8; border: 1px dashed #b9c9da; border-radius: .5rem; padding: .75rem 1rem; font-size: .925rem; }

/* Bal küpü (bot tuzağı) — ekran dışında */
.egt-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Başarı ekranı */
.egt-takip { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 2rem; letter-spacing: .25em;
             font-weight: 700; color: var(--egt-ana); background: #eef3f8; border-radius: .5rem; padding: .5rem 1rem; display: inline-block; }

/* Etkinlik listesi */
.egt-liste-kart { transition: box-shadow .15s, transform .15s; }
.egt-liste-kart:hover { box-shadow: 0 .5rem 1.25rem rgba(18,56,92,.10); transform: translateY(-2px); }

/* Aile bireyi kartları */
.egt-aile { background: #f8fafc; border: 1px solid var(--egt-kenar); border-left: 4px solid var(--egt-ana); border-radius: .5rem; padding: .75rem 1rem 1rem; margin-bottom: .75rem; }
.egt-aile-baslik { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--egt-ana); margin-bottom: .5rem; }
.egt-aile-no { display: inline-block; min-width: 1.5em; }
.egt-aile .form-label { font-weight: 500; }

/* Başvurular */
.egt-sayac { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border: 1px solid var(--egt-kenar);
             border-radius: 2rem; font-size: .85rem; color: #1d2633; text-decoration: none; background: #fff; }
.egt-sayac:hover { border-color: #9fb3c8; color: #1d2633; }
.egt-sayac.secili { border-color: var(--egt-ana); box-shadow: 0 0 0 .15rem rgba(18,56,92,.15); font-weight: 600; }
.egt-toplu { background: #f8fafc; }
.egt-tablo td, .egt-tablo th { white-space: normal; }
.egt-tablo tr.egt-acik td { background: #eef3f8; }
.egt-detay { border-color: #9fb3c8; }
.egt-detay dl { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; margin: 0; font-size: .925rem; }
.egt-detay dt { color: #5b6676; font-weight: 500; }
.egt-detay dd { margin: 0; }
.egt-gecmis { list-style: none; padding: 0; margin: 0; font-size: .875rem; }
.egt-gecmis li { padding: .4rem 0; border-bottom: 1px dashed var(--egt-kenar); }
.egt-gecmis li:last-child { border-bottom: 0; }

/* Sorgulama */
.egt-durum-ikon { font-size: 2.5rem; line-height: 1; }
.egt-adimlar { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; counter-reset: adim; }
.egt-adimlar li { position: relative; text-align: center; padding-top: .25rem; }
.egt-adimlar li::before { content: ""; position: absolute; top: 1.15rem; left: -50%; width: 100%; height: 3px; background: var(--egt-kenar); z-index: 0; }
.egt-adimlar li:first-child::before { display: none; }
.egt-adimlar li.tamam::before, .egt-adimlar li.red::before, .egt-adimlar li.aktif::before { background: var(--egt-ana); }
.egt-adim-ikon { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem;
                 border-radius: 50%; background: #fff; border: 3px solid var(--egt-kenar); color: #8592a3; }
.egt-adimlar li.tamam .egt-adim-ikon { background: #198754; border-color: #198754; color: #fff; }
.egt-adimlar li.red .egt-adim-ikon { background: #dc3545; border-color: #dc3545; color: #fff; }
.egt-adimlar li.aktif .egt-adim-ikon { border-color: var(--egt-ana); color: var(--egt-ana); }
.egt-adim-baslik { display: block; font-size: .875rem; font-weight: 600; margin-top: .35rem; }
.egt-adim-not { display: block; font-size: .75rem; color: #5b6676; }

.egt-pasif td { text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.egt-pasif td:last-child, .egt-pasif td:nth-child(2) { text-decoration: none; }

/* Oda tipleri seçimi */
.egt-oda-tipleri { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.egt-oda-tipleri input { margin-right: .35rem; }

/* İstatistik çubukları ve oda/yoklama tabloları */
.egt-cubuk { height: .55rem; background: #eef2f6; border-radius: 1rem; overflow: hidden; min-width: 4rem; }
.egt-cubuk span { display: block; height: 100%; background: var(--egt-ana); border-radius: 1rem; }
.egt-oda-tablo td { vertical-align: top; }
.egt-oda-tablo .form-control-sm { min-width: 3.5rem; }
.egt-yoklama-aile .form-check { margin-bottom: .15rem; }
.egt-aile-alt td { background: #fafbfd; border-top: 0; font-size: .875rem; }
.egt-aile-alt td:first-child { border-left: 3px solid #d6e2ee; }

/* Sözleşme sayfası */
.egt-sozlesme { line-height: 1.65; }
.egt-sozlesme p { margin-bottom: .85rem; }
.egt-sozlesme .egt-sozlesme-liste { padding-left: 1.25rem; margin-bottom: .85rem; }
.egt-sozlesme .egt-sozlesme-liste li { margin-bottom: .35rem; }
.egt-oda-ozet .egt-sayac { cursor: default; }
@media print {
    header, nav, .btn, footer { display: none !important; }
    .egt-kart { border: 0 !important; box-shadow: none !important; }
    .egt-etkinlik { color: #000 !important; background: none !important; padding: 0 !important; }
}
