/* ════════════════════════════════════════════════════
   İLAN DETAY
════════════════════════════════════════════════════ */

.jd-wrap {
    background: #f5f7fb;
    padding: 32px 0 64px;
    min-height: 70vh;
}

/* ── Hero Kart (beyaz) ── */
.jd-hero-card {
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(25,103,210,0.07);
    padding: 28px 30px;
    margin-bottom: 20px;
}
.jd-hero-top {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.jd-hero-logo {
    flex-shrink: 0;
    width: 90px; height: 90px;
    border-radius: 14px;
    border: 1.5px solid #e8ecf3;
    object-fit: contain;
    padding: 7px;
    background: #fafbff;
    display: block;
}
.jd-hero-body { flex: 1; min-width: 0; }


.jd-job-title {
    font-size: 22px;
    font-weight: 800;
    color: #171d28;
    margin: 0 0 10px;
    line-height: 1.3;
}
.jd-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.jd-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #8a96a3;
    font-weight: 500;
}
.jd-hero-meta-item i { font-size: 12px; color: #1967d2; }
.jd-hero-meta-sep { color: #d0d8e4; }


.jd-company-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #1967d2;
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.15s;
}
.jd-company-link:hover { color: #1250a0; }

/* firma satırı (sidebar) */
.jd-company-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    text-decoration: none;
    transition: background 0.15s;
}
.jd-company-row:hover { background: #fafbff; }
.jd-company-logo {
    width: 52px; height: 52px;
    border-radius: 12px;
    border: 1px solid #e4ecf7;
    object-fit: contain;
    padding: 5px;
    flex-shrink: 0;
}
.jd-company-name { font-size: 13.5px; font-weight: 700; color: #171d28; margin-bottom: 3px; display: block; }
.jd-company-cta { font-size: 12px; color: #1967d2; font-weight: 600; display: block; }

/* ── Butonlar ── */
.btn-jd-apply {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #1967d2, #2d9bb3);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-jd-apply:hover { opacity: 0.88; }
.btn-jd-apply.applied {
    background: #e8f0fe;
    color: #1967d2 !important;
    cursor: default;
    opacity: 1;
}

.btn-jd-save {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #3a4a5c;
    border: 1.5px solid #dce7f9;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.btn-jd-save:hover { background: #f0f4ff; border-color: #1967d2; color: #1967d2; }
.btn-jd-save.saved { background: #fff8f0; border-color: #fd7e14; color: #fd7e14; }
.btn-jd-save.saved:hover { background: #ffe8cc; }

/* ── İçerik kartı ── */
.jd-card {
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(25,103,210,0.05);
    margin-bottom: 20px;
    overflow: hidden;
}
.jd-card-pad { padding: 26px 28px; }

.jd-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #171d28;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f4ff;
}
.jd-section-title i { color: #1967d2; font-size: 15px; }

.jd-desc {
    font-size: 14.5px;
    line-height: 1.9;
    color: #3c4455;
}
.jd-desc h1, .jd-desc h2, .jd-desc h3, .jd-desc h4 {
    font-size: 16px; font-weight: 700; color: #171d28; margin: 22px 0 8px;
}
.jd-desc ul, .jd-desc ol { padding-left: 22px; margin-bottom: 14px; }
.jd-desc li { margin-bottom: 6px; }
.jd-desc p { margin-bottom: 12px; }

.jd-map iframe {
    width: 100% !important;
    height: 280px !important;
    border: none;
    display: block;
}

/* ── Sidebar ── */
.jd-sidebar { position: sticky; top: 90px; }

/* sidebar başvur kutusu */
.jd-apply-box {
    background: linear-gradient(135deg, #1250a0, #1967d2 55%, #2d9bb3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 6px 24px rgba(25,103,210,0.22);
}
.jd-apply-box-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin-bottom: 12px;
}
.btn-jd-apply-sb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #fff;
    color: #1967d2;
    border: none;
    border-radius: 10px;
    padding: 13px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.18s;
    text-decoration: none;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn-jd-apply-sb:hover { background: #eef3ff; color: #1967d2; transform: translateY(-1px); }
.btn-jd-apply-sb.applied {
    background: rgba(255,255,255,0.18);
    color: #fff;
    box-shadow: none;
    cursor: default;
    transform: none;
}
/* info rows */
.jd-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border-bottom: 1px solid #f5f7fb;
}
.jd-info-row:last-child { border-bottom: none; }
.jd-info-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.jd-info-icon i { font-size: 13px; color: #1967d2; }
.jd-info-lbl {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: #aab8c8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}
.jd-info-val {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #171d28;
}

/* skills */
.jd-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 20px;
}
.jd-skill {
    background: #f0f4ff;
    color: #1967d2;
    border: 1px solid #dce7f9;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12.5px;
    font-weight: 700;
    transition: all 0.15s;
}
.jd-skill:hover { background: #1967d2; color: #fff; border-color: #1967d2; }


/* ── Mobil Sticky Bar ── */
.jd-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1.5px solid #e8ecf3;
    padding: 10px 16px 12px;
    z-index: 950;
    box-shadow: 0 -4px 20px rgba(25,103,210,0.1);
}
.btn-jd-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    background: linear-gradient(135deg, #1967d2, #2d9bb3);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(25,103,210,0.28);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .jd-sidebar { position: static; }
    .jd-apply-box { display: none; }
    .jd-mobile-bar { display: block; }
    .jd-wrap { padding-bottom: 80px; }
}
@media (max-width: 767px) {
    .jd-hero-card { padding: 18px; }
    .jd-hero-top { gap: 14px; }
    .jd-hero-logo { width: 70px; height: 70px; }
    .jd-job-title { font-size: 18px; }

    .jd-card-pad { padding: 18px; }
    .btn-jd-apply, .btn-jd-save { flex: 1; justify-content: center; }
}
