/* =============================================================================
   ÖZGEÇMİŞ FORMU — YERLEŞİM YARDIMCILARI

   Portalın görünümü ASELSAN Sivas'ın kendi teması (uikit.min.css +
   style.min.css). Bu dosya YENİ BİR TASARIM TANIMLAMAZ; yalnızca dinamik
   özgeçmiş formunun ihtiyaç duyduğu ızgara yerleşimini ve tekrarlanabilir
   kayıt kutularının aralıklarını verir — eski formda bu alanlar sabit HTML
   olduğu için temada karşılıkları yok.

   Renk, yazı tipi, düğme görünümü buradan GELMEZ; hepsi temadan gelir.
   ============================================================================= */

.cv-alanlar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 16px; }
.cv-g1, .cv-g2 { grid-column: span 12; }
.cv-g3  { grid-column: span 3; }
.cv-g4  { grid-column: span 4; }
.cv-g6  { grid-column: span 6; }
.cv-g8  { grid-column: span 8; }
.cv-g9  { grid-column: span 9; }
.cv-g12 { grid-column: span 12; }
.cv-alan { min-width: 0; }

.cv-ara-baslik { margin: 18px 0 2px; padding-top: 12px; border-top: 1px solid #e5e5e5; }

.cv-tekrar { border: 1px solid #e5e5e5; border-radius: 4px; padding: 6px 16px 18px; margin-bottom: 14px; }
.cv-tekrar-bas { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 4px; }
.cv-tekrar-no { font-size: 12px; font-weight: 600; }
.cv-sil { font: inherit; font-size: 12px; background: none; border: 0; cursor: pointer; padding: 2px 6px; }
.cv-sil:hover { text-decoration: underline; }

/* KİLİTLİ SEKME (aday önceki adımı bitirmeden ilerleyemez).
   `style.min.css` `.cvTabs > li > a { color:#000 !important }` diyor ve
   UIkit'in kendi `uk-disabled` rengini eziyor: kilitli sekme açık olanla
   birebir aynı görünüyordu. Renk ve imleç burada açıkça veriliyor;
   `pointer-events` UIkit'in kuralını yedekliyor. */
.cvTabs > .cv-kilitli { background: #f4f4f4 !important; }
.cvTabs > .cv-kilitli > a {
    color: #a5a5a5 !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Çoklu seçim hücresi (eski portalın üç sütunlu bölüm tercihi ızgarası).
   Kutucuk ile metin aynı satırda ve üstten hizalı durmalı: uzun bölüm
   adları ikinci satıra sardığında metin kutucuğun ALTINA kaymasın. */
.cv-secenek { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-weight: 400; line-height: 1.35; cursor: pointer; }
.cv-secenek input { flex: 0 0 auto; margin-top: 2px; }
.cv-secenek span { flex: 1 1 auto; }

.cv-coklu { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 4px 0; }
.cv-kutu { display: flex; align-items: center; gap: 6px; font-weight: 400; margin: 0; }
.cv-kutu input { width: auto; }

/* Aday dosyaları (fotoğraf, CV, transkript) — H-44 */
.cv-dosya-mevcut { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 6px; }
.cv-dosya-onizleme { width: 54px; height: 54px; object-fit: cover; border: 1px solid #e5e5e5; border-radius: 4px; }
.cv-alan input[type="file"] { width: 100%; }

.cv-kaydet-serit { position: sticky; bottom: 0; z-index: 5; text-align: right; }

@media (max-width: 720px) {
    .cv-alanlar { grid-template-columns: 1fr; }
    .cv-g1, .cv-g2, .cv-g3, .cv-g4, .cv-g6, .cv-g8, .cv-g9, .cv-g12 { grid-column: 1 / -1; }
}

/* Yan yana akan radyo grubu (Cinsiyet, Tercih Edilen Ofis, Çalışma Durumu).
   `.cv-secenek` flex kutu olduğu için alt alta diziliyordu; eski formda bu üç
   grup bitişik iki düğmeydi. */
.cv-secenek-satirici { display: inline-flex; margin-right: 22px; vertical-align: middle; }

/* =============================================================================
   KARİYER FIRSATLARI ızgarası (anasayfa · helpers/modul_templates/as_kariyer_firsatlari.php)

   17.09.2026: kaydırmalı şeridin yerine geçti. Yukarıdaki "yeni tasarım
   tanımlamaz" kuralının tek istisnası; renkler temadan alındı
   (lacivert #16366e / #28416e, zemin #f2f2f0). Vurgu rengi lacivert (bakır yerine, müşteri isteği).
   ============================================================================= */

.kf-bolum { padding-top: 64px; }

.kf-bas {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; margin-bottom: 28px;
}
.kf-baslik { color: #16366e; line-height: 1.2; }
.kf-alt { margin: 6px 0 0; color: #6b7280; font-size: 15px; }
.kf-tumu {
    color: #16366e; font-size: 15px; font-weight: 600; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 6px;
}
.kf-tumu:hover { color: #0f2750; text-decoration: underline; }

.kf-izgara {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1100px) { .kf-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .kf-bolum { padding-top: 40px; }
    .kf-izgara { grid-template-columns: 1fr; gap: 14px; }
    .kf-bas { align-items: flex-start; flex-direction: column; gap: 8px; }
}

.kf-kart { min-width: 0; }
.kf-kart-ic {
    position: relative; height: 100%; box-sizing: border-box;
    display: flex; flex-direction: column;
    padding: 24px 24px 20px;
    background: #fff; color: inherit;
    border: 1px solid #e6e7ea; border-radius: 12px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    overflow: hidden;
}
.kf-kart-ic::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: #16366e; transform: scaleY(0); transform-origin: top;
    transition: transform .25s ease;
}
.kf-kart-ic:hover, .kf-kart-ic:focus-visible {
    text-decoration: none; color: inherit;
    border-color: #d5d9e2;
    box-shadow: 0 10px 28px -12px rgba(22, 54, 110, .25);
    transform: translateY(-2px);
}
.kf-kart-ic:hover::before, .kf-kart-ic:focus-visible::before { transform: scaleY(1); }
.kf-kart-ic:focus-visible { outline: 2px solid #16366e; outline-offset: 2px; }

.kf-etiketler { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.kf-etiket {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 999px;
    background: #f1f3f7; color: #28416e; font-size: 13px; line-height: 1.5;
}

.kf-kart-baslik {
    margin: 0 0 10px; color: #16366e;
    font-family: inherit; font-size: 20px; font-weight: 600; line-height: 1.3;
}
.kf-ozet {
    margin: 0 0 20px; color: #4b5563; font-size: 15px; line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.kf-alt-satir {
    margin-top: auto; padding-top: 14px; border-top: 1px solid #eef0f3;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.kf-tarih { color: #6b7280; font-size: 13px; }
.kf-git {
    display: inline-flex; align-items: center; gap: 4px;
    color: #16366e; font-size: 14px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.kf-git [uk-icon] { transition: transform .2s ease; }
.kf-kart-ic:hover .kf-git [uk-icon] { transform: translateX(3px); }

.kf-bos {
    padding: 28px; background: #fff; border: 1px dashed #d5d9e2; border-radius: 12px;
    color: #4b5563; text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .kf-kart-ic, .kf-kart-ic::before, .kf-git [uk-icon] { transition: none; }
    .kf-kart-ic:hover { transform: none; }
}

/* =============================================================================
   İŞ İLANLARI sayfası (kariyer/ilanlar.php)

   17.09.2026: yeni görünüm. Anasayfa ızgarasıyla aynı dil — lacivert #16366e,
   ince çerçeve, 12px köşe. Vurgu rengi lacivert (bakır yerine, müşteri isteği).
   ============================================================================= */

.il-sayfa { max-width: 1040px; margin: 0 auto; }

.il-bas {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 24px; padding-bottom: 24px; margin-bottom: 24px;
    border-bottom: 1px solid #eef0f3;
}
.il-baslik { margin: 0; color: #16366e; font-family: inherit; font-size: 30px; font-weight: 400; line-height: 1.2; }
.il-baslik b { font-weight: 700; }
.il-aciklama { margin: 8px 0 0; color: #6b7280; font-size: 15px; line-height: 1.55; max-width: 620px; }
.il-aciklama strong { color: #16366e; }
.il-bas-dugmeler { display: flex; gap: 8px; flex-shrink: 0; }

.il-dugme {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 20px; border-radius: 999px; border: 1px solid #16366e;
    background: #16366e; color: #fff; font: inherit; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.il-dugme:hover { background: #0f2750; border-color: #0f2750; color: #fff; text-decoration: none; }
.il-dugme-ikincil { background: transparent; color: #16366e; border-color: #d5d9e2; }
.il-dugme-ikincil:hover { background: #f1f3f7; color: #16366e; border-color: #c4cad6; }

.il-suzgec { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.il-suzgec[hidden] { display: none; }
.il-ara {
    flex: 1 1 280px; display: flex; align-items: center; gap: 8px;
    padding: 0 14px; background: #f7f8fa; border: 1px solid #e6e7ea; border-radius: 10px;
    color: #6b7280; transition: border-color .2s ease, background .2s ease;
}
.il-ara:focus-within { background: #fff; border-color: #16366e; }
.il-ara input {
    flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent;
    font: inherit; font-size: 15px; color: #1f2937;
}
/* style.min.css tüm `select`lere `padding-left: 40px !important; height: 50px !important`
   veriyor (form alanlarındaki ikon için). Burada ikon yok; !important bu yüzden. */
.il-suzgec .il-secim {
    flex: 0 1 220px; height: 46px !important; padding: 0 36px 0 14px !important;
    font: inherit; font-size: 15px; color: #1f2937;
    background: #f7f8fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%236b7280' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 1px solid #e6e7ea; border-radius: 10px;
    -webkit-appearance: none; appearance: none; cursor: pointer;
}
.il-suzgec .il-secim:focus { outline: 0; border-color: #16366e; background-color: #fff; }

.il-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.il-kart[hidden] { display: none; }
.il-kart-ic {
    position: relative; display: flex; align-items: center; gap: 24px;
    padding: 22px 26px; background: #fff; color: inherit;
    border: 1px solid #e6e7ea; border-radius: 12px; overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.il-kart-ic::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: #16366e; transform: scaleY(0); transform-origin: top;
    transition: transform .25s ease;
}
.il-kart-ic:hover, .il-kart-ic:focus-visible {
    color: inherit; text-decoration: none; border-color: #d5d9e2;
    box-shadow: 0 10px 28px -14px rgba(22, 54, 110, .28); transform: translateY(-1px);
}
.il-kart-ic:hover::before, .il-kart-ic:focus-visible::before { transform: scaleY(1); }
.il-kart-ic:focus-visible { outline: 2px solid #16366e; outline-offset: 2px; }

.il-kart-govde { flex: 1; min-width: 0; }
.il-kart-baslik { margin: 0 0 6px; color: #16366e; font-family: inherit; font-size: 20px; font-weight: 600; line-height: 1.3; }
.il-ozet { margin: 0 0 12px; color: #4b5563; font-size: 15px; line-height: 1.55; }

.il-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.il-meta > li {
    display: inline-flex; align-items: center; gap: 5px; margin: 0;
    padding: 3px 10px; border-radius: 999px; background: #f1f3f7;
    color: #28416e; font-size: 13px; line-height: 1.5;
}

.il-kart-yan {
    flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
    padding-left: 24px; border-left: 1px solid #eef0f3; min-width: 160px;
}
.il-tarih { color: #6b7280; font-size: 13px; white-space: nowrap; }
.il-tarih-yakin { color: #b42318; font-weight: 600; }
.il-git {
    display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
    color: #16366e; font-size: 14px; font-weight: 600;
}
.il-git [uk-icon] { transition: transform .2s ease; }
.il-kart-ic:hover .il-git [uk-icon] { transform: translateX(3px); }

.il-bos {
    padding: 40px 24px; text-align: center; color: #4b5563;
    background: #f7f8fa; border: 1px dashed #d5d9e2; border-radius: 12px;
}
.il-bos[hidden] { display: none; }
.il-bos [uk-icon] { color: #16366e; }
.il-bos p { margin: 10px 0 0; }
.il-bos .il-bos-alt { color: #6b7280; font-size: 14px; }
.il-sonuc-yok .il-dugme { margin-top: 14px; }

@media (max-width: 760px) {
    .il-bas { flex-direction: column; align-items: flex-start; gap: 14px; }
    .il-baslik { font-size: 24px; }
    .il-secim { flex: 1 1 100%; }
    .il-kart-ic { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
    .il-kart-yan {
        flex-direction: row; align-items: center; justify-content: space-between;
        padding: 12px 0 0; border-left: 0; border-top: 1px solid #eef0f3; min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .il-kart-ic, .il-kart-ic::before, .il-git [uk-icon] { transition: none; }
    .il-kart-ic:hover { transform: none; }
}
