/* ------------------------------------------------------------------
 * İnsan Kaynakları modülü
 * Tema Bootstrap 4 ızgarasını kullanır; buradaki kurallar yalnızca İK
 * sayfalarını biçimlendirir ve tema sınıflarını ezmez.
 * ------------------------------------------------------------------ */

.ik-lead-title {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
}

.ik-lead {
    font-size: 16px;
    line-height: 1.75;
    color: #666;
    margin-bottom: 0;
}

/* --- Butonlar ---------------------------------------------------- */

.ik-btn {
    display: inline-block;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: all .2s ease;
}

.ik-btn,
.ik-btn:hover,
.ik-btn:focus {
    text-decoration: none;
}

.ik-btn-primary {
    background: #266d3b;
    border-color: #266d3b;
    color: #fff;
}

.ik-btn-primary:hover,
.ik-btn-primary:focus {
    background: #1c5a2e;
    border-color: #1c5a2e;
    color: #fff;
}

.ik-btn-outline {
    background: transparent;
    border-color: #266d3b;
    color: #266d3b;
}

.ik-btn-outline:hover,
.ik-btn-outline:focus {
    background: #266d3b;
    color: #fff;
}

.ik-btn-sm {
    padding: 8px 18px;
    font-size: 12px;
}

.ik-btn-lg {
    padding: 15px 42px;
    font-size: 14px;
}

.ik-btn-block {
    display: block;
    width: 100%;
}

/* --- Pozisyon kartları -------------------------------------------- */

.ik-card-grid {
    margin-top: 10px;
}

.ik-card-grid > [class*="col-"] {
    margin-bottom: 30px;
    display: flex;
}

.ik-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.ik-card:hover {
    border-color: #d5e3d9;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .09);
    transform: translateY(-4px);
}

.ik-card-body {
    flex: 1 1 auto;
    padding: 28px 26px 22px;
}

.ik-card-dept {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 11px;
    background: #eef4f0;
    border-radius: 2px;
    color: #266d3b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.ik-card-title {
    margin: 0 0 14px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}

.ik-card-title a {
    color: #222;
}

.ik-card-title a:hover {
    color: #266d3b;
    text-decoration: none;
}

.ik-card-meta {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.ik-card-meta li {
    display: inline-block;
    margin-right: 16px;
    color: #8a8a8a;
    font-size: 13px;
}

.ik-card-meta li i {
    margin-right: 6px;
    color: #266d3b;
    font-size: 15px;
    vertical-align: -2px;
}

.ik-card-summary {
    margin: 0;
    color: #6f6f6f;
    font-size: 14px;
    line-height: 1.7;
}

.ik-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 26px;
    border-top: 1px solid #f0f0f0;
}

.ik-card-link {
    color: #266d3b;
    font-size: 13px;
    font-weight: 600;
}

.ik-card-link:hover {
    color: #1c5a2e;
    text-decoration: none;
}

.ik-card-link i {
    margin-left: 4px;
}

/* --- Boş durum ve genel başvuru çağrısı ---------------------------- */

.ik-empty {
    max-width: 620px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.ik-empty i {
    display: block;
    margin-bottom: 18px;
    color: #266d3b;
    font-size: 58px;
}

.ik-empty h4 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.ik-empty p {
    margin-bottom: 26px;
    color: #777;
    line-height: 1.75;
}

.ik-general-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding: 32px 34px;
    background: #f6f8f7;
    border-left: 3px solid #266d3b;
    border-radius: 3px;
}

.ik-general-cta h4 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.ik-general-cta p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

/* --- Pozisyon detayı ----------------------------------------------- */

.ik-detail-block {
    margin-top: 34px;
}

.ik-detail-title {
    position: relative;
    margin-bottom: 16px;
    padding-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.ik-detail-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 2px;
    background: #266d3b;
}

.ik-detail-content {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

/* İlan metnindeki ara başlıklar (Temel Görev ve Sorumluluklar, Çalışma Şekli...) */
.ik-detail-content h4,
.ik-detail-content h5,
.ik-detail-content h6 {
    margin: 24px 0 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
}

.ik-detail-content > *:first-child {
    margin-top: 0;
}

.ik-detail-content ul,
.ik-detail-content ol {
    margin: 0 0 16px;
    padding-left: 20px;
}

.ik-detail-content li {
    margin-bottom: 8px;
}

.ik-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid #eee;
}

.ik-back-link {
    color: #888;
    font-size: 13px;
}

.ik-back-link:hover {
    color: #266d3b;
    text-decoration: none;
}

.ik-side-box {
    padding: 28px 26px;
    background: #f6f8f7;
    border-radius: 3px;
}

.ik-side-box h5 {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #222;
}

.ik-side-box ul {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.ik-side-box li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e6ebe8;
    font-size: 14px;
}

.ik-side-box li:last-child {
    border-bottom: 0;
}

.ik-side-box li span {
    color: #8a8a8a;
}

.ik-side-box li strong {
    color: #333;
    text-align: right;
}

/* --- Başvuru formu -------------------------------------------------- */

.ik-form {
    margin-top: 30px;
}

.ik-fieldset {
    margin-bottom: 34px;
    padding: 0;
    border: 0;
}

.ik-fieldset legend {
    width: auto;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.ik-field {
    margin-bottom: 20px;
}

.ik-field label {
    display: block;
    margin-bottom: 7px;
    color: #555;
    font-size: 13px;
    font-weight: 600;
}

.ik-req {
    color: #c0392b;
}

.ik-input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    color: #333;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

textarea.ik-input {
    height: auto;
    line-height: 1.7;
}

.ik-input:focus {
    outline: 0;
    border-color: #266d3b;
    box-shadow: 0 0 0 3px rgba(38, 109, 59, .09);
}

.ik-help {
    display: block;
    margin-top: 7px;
    color: #999;
    font-size: 12px;
    line-height: 1.6;
}

/* Dosya seçici */

.ik-file {
    position: relative;
}

.ik-file input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.ik-file-label {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
    padding: 18px 20px;
    background: #fafafa;
    border: 1px dashed #ccc;
    border-radius: 3px;
    color: #777 !important;
    font-weight: 400 !important;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.ik-file-label:hover,
.ik-file input[type="file"]:focus + .ik-file-label {
    background: #f4f8f5;
    border-color: #266d3b;
    color: #266d3b !important;
}

.ik-file-label i {
    font-size: 26px;
    color: #266d3b;
}

/* KVKK onayı */

.ik-consent {
    padding: 20px 22px;
    background: #f6f8f7;
    border-radius: 3px;
}

.ik-check {
    display: flex !important;
    align-items: flex-start;
    gap: 11px;
    margin: 0 !important;
    color: #666 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.7;
    cursor: pointer;
}

.ik-check input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: 3px;
    width: 16px;
    height: 16px;
}

/* Tuzak alan: ekranda görünmez, ekran okuyucudan da gizlenir. */

.ik-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Bildirimler */

.ik-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 26px;
    padding: 18px 22px;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.7;
}

.ik-alert i {
    font-size: 22px;
    line-height: 1.2;
}

.ik-alert-success {
    background: #eef6f0;
    border-left: 3px solid #266d3b;
    color: #1c5a2e;
}

.ik-alert-error {
    background: #fdf0ef;
    border-left: 3px solid #c0392b;
    color: #a5342a;
}

.ik-alert p {
    margin: 0;
}

@media (max-width: 767px) {
    .ik-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }

    .ik-general-cta {
        text-align: center;
        justify-content: center;
    }

    .ik-detail-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
