﻿
:root {
    --primary: var(--company-primary);
    --primary-light: #5f7280;
    --surface: #ffffff;
    --surface-alt: #f3f4f6;
    --text-main: #1f2933;
    --text-muted: #6b7280;
    --danger: #e11d48;
}

/* Genel */

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* DIS SCROLL YOK */
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #e9edf4 0%, #dde3ee 100%);
    color: var(--text-main);
}

.nm-page {
    height: 100vh; /* Tüm ekran yüksekligi */
    display: flex;
    flex-direction: column;
}

/* NAVBAR – üstteki serit (logo solda, dil sagda) */

.nm-navbar {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.nm-navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nm-navbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nm-navbar-logo {
    display: flex;
    align-items: center;
}
    .nm-navbar-logo1 img {
        height: 58px;
        width: auto;
        display: block;
    }
    .nm-navbar-logo img {
        height: 58px;
        width: auto;
        display: block;
    }

.nm-navbar-right {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.9;
}

.nm-lang-form {
    margin: 0;
}

.nm-lang-select {
    border-radius: 999px;
    border: 1px solid rgba(243, 244, 246, 0.7);
    background: rgba(15, 23, 42, 0.15);
    color: #f9fafb;
    padding: 9px 10px;
    font-size: 12px;
    outline: none;
    cursor: pointer;
}

    .nm-lang-select option {
        color: #111827;
    }

.language-switch {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    border: 1px solid rgba(243, 244, 246, 0.65);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.18);
    padding: 4px 8px;
    box-sizing: border-box;
}

.language-select-control {
    border: 0;
    background: transparent;
    color: #f9fafb;
    padding: 3px 18px 3px 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    outline: none;
    cursor: pointer;
}

    .language-select-control option {
        color: #111827;
        background: #ffffff;
    }

.language-flag {
    width: 22px;
    height: 15px;
    flex: 0 0 22px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.18);
}

/* MAIN – form alani */

.nm-main {
    flex: 1;
    padding: 28px 24px 28px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

.nm-form-shell {
    max-width: 1000px;
    width: 100%;
    background-color: var(--surface);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(148, 163, 184, 0.25);
    padding: 22px 24px 18px;
    border-top: 4px solid var(--primary);
    box-sizing: border-box;
}

.nm-form-header {
    margin-bottom: 14px;
}

.nm-form-title {
    font-size: 22px;
    font-weight: 650;
    color: var(--text-main);
    margin-bottom: 4px;
}

.nm-form-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Özel dosya seç bari */

.nm-file-wrapper {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.nm-file-button {
    position: relative;
    padding: 8px 14px;
    background-color: #e5e7eb;
    border-right: 1px solid #d1d5db;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

    .nm-file-button:hover {
        background-color: #d4d4d8;
    }

.nm-file-name {
    padding: 8px 10px;
    font-size: 13px;
    color: #6b7280;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Native input’u gizle ama tiklanabilir birak */
.nm-file-native {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* Form alanlari */

.nm-form {
    margin-top: 8px;
}

.nm-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.nm-form-group {
    display: flex;
    flex-direction: column;
}

.nm-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3px;
}

.nm-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.nm-label-hint {
    font-size: 11px;
    color: var(--text-muted);
}

.nm-required::after {
    content: " *";
    color: var(--danger);
}

.nm-input,
.nm-textarea,
.nm-file {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text-main);
    background-color: #ffffff;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    box-sizing: border-box;
}

    .nm-input::placeholder,
    .nm-textarea::placeholder {
        color: #9ca3af;
    }

    .nm-input:focus,
    .nm-textarea:focus,
    .nm-file:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 2px rgba(70, 87, 99, 0.15);
        background-color: #ffffff;
    }

.nm-textarea {
    min-height: 140px;
    resize: vertical;
}

/* Checkbox satiri */

.nm-checkbox-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nm-checkbox-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .nm-checkbox-inner input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: var(--primary);
        cursor: pointer;
    }

    .nm-checkbox-inner label {
        margin: 0;
        font-size: 13px;
        color: #374151;
    }

/* Küçük açiklama ve hata mesajlari */

.nm-small {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
}

.field-validation-error {
    font-size: 11px;
    color: #b91c1c;
    margin-top: 3px;
}

.validation-summary-errors {
    font-size: 12px;
    color: #b91c1c;
    margin-bottom: 6px;
}

/* Basarili gönderim & API hata kutulari */

.nm-success-box {
    background-color: #ecfdf3;
    border: 1px solid #16a34a;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: #166534;
    margin-bottom: 8px;
}

    .nm-success-box .emoji {
        font-size: 20px;
    }

.nm-api-error {
    background-color: #fef2f2;
    border: 1px solid #ef4444;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 12px;
    color: #b91c1c;
    margin-bottom: 8px;
}

/* Gönder butonu */

.nm-form-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.nm-submit-btn {
    border: none;
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .03em;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary) 0%, #2c3b46 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(148, 163, 184, 0.7);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

    .nm-submit-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 35px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(191, 219, 254, 0.9);
        background: linear-gradient(135deg, #566878 0%, #1f2933 100%);
    }

    .nm-submit-btn:active {
        transform: translateY(0);
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(148, 163, 184, 1);
    }

    .nm-submit-btn .icon {
        font-size: 15px;
    }

/* FOOTER – alttaki şerit */

footer.footer.text-muted {
    display: none !important;
}

.nm-footer {
    background-color: var(--primary);
    color: var(--company-text);
    padding: 10px 16px;
}

.nm-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
}

/* Logo grubu */
.nm-footer-logos {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nm-footer-img {
    height: 44px;
    width: auto;
    display: block;
}

.nm-navbar,
.nm-footer {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

.nm-logo-divider {
    width: 1px;
    height: 40px;
    background: var(--company-text, #cbd5e1);
    opacity: .5;
}

/* Metin grubu */
.nm-footer-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    font-size: 12px;
    line-height: 1.5;
}

.nm-footer-company {
    font-weight: 600;
}

.nm-footer-sep {
    opacity: .5;
}

.nm-footer-copy {
    width: 100%;
    font-size: 11px;
    opacity: 0.75;
    margin-top: 1px;
}

/* Dil seçici – footer sağ köşe */
.nm-footer-lang {
    flex-shrink: 0;
    margin-left: auto;
}

.nm-footer-lang-select {
    border-radius: 999px;
    border: 1px solid rgba(243, 244, 246, 0.6);
    background: rgba(15, 23, 42, 0.18);
    color: var(--company-text, #f9fafb);
    padding: 6px 10px;
    font-size: 12px;
    outline: none;
    cursor: pointer;
}

    .nm-footer-lang-select option {
        color: #111827;
    }

/* Mobil: kompakt ve ortalanmış footer */
@media (max-width: 560px) {
    .nm-footer {
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    }

    .nm-footer-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        text-align: center;
    }

    .nm-footer-logos {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .nm-footer-img {
        max-width: min(42vw, 150px);
        height: 32px;
        object-fit: contain;
    }

    .nm-logo-divider {
        height: 30px;
    }

    .nm-footer-text {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1px;
        font-size: 11px;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .nm-footer-company {
        font-size: 12px;
    }

    .nm-footer-sep {
        display: none;
    }

    .nm-footer-copy {
        font-size: 10px;
        margin-top: 2px;
    }

    .nm-footer-lang {
        width: auto;
        margin-left: 0;
    }

    .nm-footer-lang .language-switch {
        justify-content: center;
        min-height: 28px;
        padding: 3px 7px;
    }
}

/* Responsive */

@media (max-width: 768px) {
    .nm-main {
        padding: 12px 8px 12px;
    }

    .nm-form-shell {
        padding: 16px 14px 14px;
        border-radius: 16px;
    }

    .nm-form-title {
        font-size: 20px;
    }
}

/* =========================================================
   RESPONSIVE PATCH (en alta ekleyin)
   ========================================================= */

/* Mobil tarayicilarda 100vh tasmalarini azalt */
.nm-page {
    min-height: 100dvh;
    height: 100dvh; /* 100vh yerine dinamik */
}

/* DIS SCROLL YOK derken içerik kesilmesin: scroll’u MAIN'e ver */
html, body {
    height: 100%;
    margin: 0;
}

body {
    overflow-x: hidden; /* yatay tasmayi engelle */
    overflow-y: hidden; /* dis scroll yok kalsin */
}

/* Form uzarsa burada scroll olsun */
.nm-main {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: clamp(12px, 2.5vw, 28px) clamp(8px, 2.5vw, 24px);
}

/* Iç bosluklari akilli ölçekle */
.nm-form-shell {
    padding: clamp(14px, 2.2vw, 22px) clamp(12px, 2.2vw, 24px) clamp(12px, 2vw, 18px);
    border-radius: clamp(14px, 2.2vw, 20px);
}

.nm-form-title {
    font-size: clamp(18px, 2.4vw, 22px);
}

.nm-form-subtitle {
    font-size: clamp(12px, 1.6vw, 13px);
}

/* Navbar/footer dar ekranda taşmasın */
.nm-navbar-inner {
    flex-wrap: wrap;
    gap: 10px 14px;
}

@media (max-width: 560px) {
    .language-switch {
        max-width: 100%;
    }
}

.nm-navbar-logo img {
    height: clamp(40px, 7vw, 58px);
}

/* Genis ekranda iki kolon (formunuz uygunsa) */
@media (min-width: 900px) {
    .nm-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 18px;
    }
}

/* Dosya seçici dar ekranda satir satir */
@media (max-width: 520px) {
    .nm-file-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .nm-file-button {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #d1d5db;
        text-align: center;
    }

    .nm-file-name {
        width: 100%;
    }
}

/* Küçük telefon: buton full width, daha kompakt */
@media (max-width: 480px) {
    .nm-form-actions {
        justify-content: stretch;
    }

    .nm-submit-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 18px;
    }

    .nm-textarea {
        min-height: 120px;
    }

    .nm-input,
    .nm-textarea,
    .nm-file {
        padding: 10px 10px;
    }
}

/* Kisa ekran (küçük laptop / yatay telefon): üst-alt bosluk azalt */
@media (max-height: 680px) {
    .nm-main {
        align-items: flex-start;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .nm-form-title {
        margin-bottom: 2px;
    }
}
/* Masaüstünde bile tek kolon kalsin */
.nm-form-grid {
    grid-template-columns: 1fr !important;
}
/* KVKK link ve modal */

.kvkk-link {
    margin-left: 4px;
    color: #2563eb;
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
}

    .kvkk-link:hover {
        color: #1d4ed8;
    }

/* Modal genel yapi */

.kvkk-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2000;
}

    .kvkk-modal.is-open {
        display: block;
    }

.kvkk-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.kvkk-modal-dialog {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.45);
    padding: 20px 24px 18px;
    max-height: calc(100vh - 80px);
    overflow: auto;
    box-sizing: border-box;
}

.kvkk-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

    .kvkk-modal-header h2 {
        font-size: 18px;
        font-weight: 600;
        margin: 0;
        color: #111827;
    }

.kvkk-modal-close {
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    color: #4b5563;
}

    .kvkk-modal-close:hover {
        color: #111827;
    }

.kvkk-modal-body {
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
}
.kvkk-link {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

    .kvkk-link:hover {
        text-decoration: underline;
        opacity: 0.9;
    }

.kvkk-modal-body {
    max-height: 60vh;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.5;
}

.kvkk-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 12px;
    color: #1D2A37;
}

    .kvkk-table th,
    .kvkk-table td {
        border: 1px solid #e5e7eb;
        padding: 6px 8px;
        vertical-align: top;
        color: #1D2A37;
    }

    .kvkk-table th {
        background-color: #f9fafb;
        font-weight: 600;
        color: #1D2A37;
    }
    
.kvkk-modal-body {
    color: #1d2a37;
}


  
    .kvkk-modal-body h6 {
        color: #004d86
    }
    .kvkk-modal-body h1,
    .kvkk-modal-body h2,
    .kvkk-modal-body h3 {
        color: #465763;
    }
    .kvkk-modal-body a {
        color: #2563eb;
        text-decoration: underline;
    }


    .kvkk-modal-body table {
        color: #ffffff;
        border-color: #ffffff;
    }

    .kvkk-modal-body th {
        font-weight: 600;
        background-color: #1d2a37;
        color: #ffffff;
    }
.nm-loading {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    backdrop-filter: blur(4px);
}

    .nm-loading.is-open {
        display: flex;
    }

.nm-loading-card {
    width: min(520px, calc(100vw - 48px));
    padding: 22px 20px;
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    text-align: center;
}

.nm-spinner {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 4px solid rgba(0,0,0,.15);
    border-top-color: rgba(0,0,0,.65);
    margin: 0 auto 12px;
    animation: whspin 0.9s linear infinite;
}

@keyframes whspin {
    to {
        transform: rotate(360deg);
    }
}

.nm-loading-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.nm-loading-sub {
    font-size: 13px;
    opacity: .8;
}

/* =========================================================
   INFO (ⓘ) BUTONU – sağ alt sabit, footer'ın üstünde
   ========================================================= */

.nm-info-btn {
    position: fixed;
    bottom: 72px;
    right: 20px;
    z-index: 1500;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, serif;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    .nm-info-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 24px rgba(0,0,0,.25);
        border-color: #9ca3af;
    }

    .nm-info-btn:active {
        transform: scale(0.97);
    }

@media (max-width: 520px) {
    .nm-info-btn {
        bottom: 66px;
        right: 14px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* =========================================================
   INTERACTIVE INFO GUIDE MODAL
   ========================================================= */

.pdf-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2500;
}

    .pdf-modal.is-open {
        display: block;
    }

.pdf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
}

.pdf-modal-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1040px, calc(100vw - 32px));
    max-height: min(88vh, 820px);
    margin: max(24px, 6vh) auto 0;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, .8);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0,0,0,.42);
    overflow: hidden;
}

.pdf-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px 18px;
    background: #102a43;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
    color: #ffffff;
}

    .pdf-modal-header h2 {
        margin: 2px 0 6px;
        font-size: clamp(20px, 3vw, 30px);
        line-height: 1.15;
        font-weight: 760;
    }

    .pdf-modal-header p {
        margin: 0;
        color: rgba(255, 255, 255, .8);
        font-size: 14px;
        line-height: 1.45;
    }

.info-guide-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #facc15;
    color: #102a43 !important;
    font-size: 12px !important;
    font-weight: 800;
}

.pdf-modal-close {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .1);
    font-size: 24px;
    line-height: 1;
    padding: 0 0 3px;
    cursor: pointer;
    color: #ffffff;
    border-radius: 999px;
    transition: background .12s ease, transform .12s ease;
}

    .pdf-modal-close:hover {
        background: rgba(255, 255, 255, .22);
        transform: scale(1.04);
    }

.pdf-modal-body {
    flex: 1;
    overflow: auto;
    padding: 22px;
    position: relative;
}

.info-flow-shell {
    display: grid;
    grid-template-columns: minmax(240px, 310px) minmax(460px, 1fr);
    gap: 22px;
    align-items: center;
}

.info-flow-intro {
    padding: 22px;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .1);
}

    .info-flow-intro h3 {
        margin: 12px 0 10px;
        color: #102a43;
        font-size: 26px;
        line-height: 1.12;
        font-weight: 820;
    }

    .info-flow-intro p {
        margin: 0;
        color: #52616f;
        font-size: 14px;
        line-height: 1.65;
    }

.info-flow-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 12px;
    font-weight: 820;
}

.info-flow-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
}

    .info-flow-preview img {
        width: 100%;
        height: 74px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid #dbe3ec;
    }

.info-flow-stage {
    min-width: 0;
}

.info-flow-map {
    --flow-ring: #cbd5e1;
    position: relative;
    width: min(100%, 560px);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #ffffff 0 28%, transparent 29%),
        conic-gradient(from -45deg, #2563eb, #dc2626, #f59e0b, #7c3aed, #0f766e, #2563eb);
    box-shadow: 0 24px 55px rgba(15, 23, 42, .16);
}

    .info-flow-map::before {
        content: "";
        position: absolute;
        inset: 34px;
        border-radius: 50%;
        background: #f8fafc;
        box-shadow: inset 0 0 0 2px rgba(16, 42, 67, .1);
    }

.info-flow-center {
    position: relative;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 178px;
    height: 178px;
    border-radius: 50%;
    background: #102a43;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .28), inset 0 0 0 10px rgba(255, 255, 255, .08);
}

    .info-flow-center span {
        font-size: 12px;
        font-weight: 760;
        color: #bae6fd;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .info-flow-center strong {
        margin-top: 8px;
        font-size: 30px;
        line-height: 1;
    }

    .info-flow-center em {
        margin-top: 8px;
        color: #facc15;
        font-size: 13px;
        font-style: normal;
        font-weight: 700;
    }

.info-flow-node {
    --node-accent: #2563eb;
    position: absolute;
    z-index: 3;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 170px;
    min-height: 66px;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--node-accent), white 38%);
    border-radius: 999px;
    background: #ffffff;
    color: #102a43;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 13px 30px rgba(15, 23, 42, .18);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

    .info-flow-node:hover,
    .info-flow-node:focus-visible,
    .info-flow-node.is-active {
        border-color: var(--node-accent);
        box-shadow: 0 16px 36px rgba(15, 23, 42, .24), 0 0 0 4px color-mix(in srgb, var(--node-accent), transparent 78%);
        outline: none;
        transform: translate(-50%, -50%) scale(1.04);
    }

    .info-flow-node::after {
        content: "";
        position: absolute;
        inset: -6px;
        border: 1px solid color-mix(in srgb, var(--node-accent), transparent 58%);
        border-radius: inherit;
        opacity: .55;
    }

.node-source { --node-accent: #2563eb; left: 50%; top: 5%; }
.node-condition { --node-accent: #dc2626; left: 91%; top: 35%; }
.node-behavior { --node-accent: #f59e0b; left: 77%; top: 87%; }
.node-nearmiss { --node-accent: #7c3aed; left: 23%; top: 87%; }
.node-report { --node-accent: #0f766e; left: 9%; top: 35%; }

.flow-node-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--node-accent);
    color: #ffffff;
    font-size: 18px;
    font-weight: 840;
}

.flow-node-title {
    display: block;
    min-width: 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.info-flow-popover {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

    .info-flow-popover.is-open {
        display: flex;
    }

.info-flow-popover-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(248, 250, 252, .78);
    backdrop-filter: blur(7px);
}

.info-flow-popover-card {
    --flow-accent: #0f766e;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(190px, 35%) minmax(0, 1fr);
    width: min(760px, 100%);
    max-height: min(620px, calc(100vh - 130px));
    overflow: auto;
    border: 1px solid #dbe3ec;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .32);
}

.info-flow-popover-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(16, 42, 67, .15);
    border-radius: 50%;
    background: #ffffff;
    color: #102a43;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding-bottom: 3px;
}

.info-flow-popover-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: color-mix(in srgb, var(--flow-accent), white 84%);
}

    .info-flow-popover-image img {
        width: 100%;
        max-height: 280px;
        object-fit: contain;
        border-radius: 10px;
        box-shadow: 0 18px 34px rgba(15, 23, 42, .22);
    }

.info-flow-popover-copy {
    padding: 34px 34px 30px;
}

.info-flow-popover-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--flow-accent), white 84%);
    color: var(--flow-accent);
    font-size: 13px;
    font-weight: 820;
}

.info-flow-popover-copy h3 {
    margin: 0 0 12px;
    color: #102a43;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.1;
    font-weight: 840;
}

.info-flow-popover-copy > p {
    margin: 0;
    color: #334e68;
    font-size: 16px;
    line-height: 1.6;
}

.info-flow-popover-example,
.info-flow-popover-action {
    margin-top: 16px;
    padding: 14px 16px;
    border-left: 4px solid var(--flow-accent);
    border-radius: 8px;
    background: #f8fafc;
}

    .info-flow-popover-example strong,
    .info-flow-popover-action strong {
        display: block;
        margin-bottom: 6px;
        color: var(--flow-accent);
        font-size: 13px;
    }

    .info-flow-popover-example p,
    .info-flow-popover-action p {
        margin: 0;
        color: #52616f;
        font-size: 14px;
        line-height: 1.55;
    }

@media (max-width: 980px) {
    .pdf-modal-dialog {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 28px);
        margin: 14px auto 0;
        border-radius: 10px;
    }

    .pdf-modal-header {
        padding: 18px 16px;
    }

    .pdf-modal-body {
        padding: 14px;
    }

    .info-flow-shell {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .info-flow-intro {
        padding: 18px;
    }

    .info-flow-map {
        width: min(100%, 520px);
    }

}

@media (max-width: 620px) {
    .pdf-modal-dialog {
        width: calc(100vw - 10px);
        max-height: calc(100dvh - 10px);
        margin: 5px auto 0;
        border-radius: 18px;
    }

    .pdf-modal-header {
        position: sticky;
        top: 0;
        z-index: 4;
        padding: 14px 16px 16px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
    }

    .pdf-modal-header h2 {
        font-size: 21px;
    }

    .pdf-modal-header p {
        font-size: 13px;
        line-height: 1.45;
    }

    .pdf-modal-body {
        padding: 12px;
    }

    .info-flow-shell {
        gap: 12px;
    }

    .info-flow-intro {
        position: relative;
        overflow: hidden;
        padding: 18px;
        border: none;
        border-radius: 16px;
        background: linear-gradient(135deg, #102a43 0%, #17496d 55%, #0f766e 100%);
        color: #ffffff;
        box-shadow: 0 18px 34px rgba(15, 23, 42, .2);
    }

    .info-flow-intro::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        right: -74px;
        bottom: -82px;
        border-radius: 50%;
        border: 30px solid rgba(250, 204, 21, .18);
    }

    .info-flow-pill {
        position: relative;
        z-index: 1;
        background: #facc15;
        color: #102a43;
    }

    .info-flow-intro h3 {
        position: relative;
        z-index: 1;
        max-width: 260px;
        font-size: 22px;
        color: #ffffff;
    }

    .info-flow-intro p {
        position: relative;
        z-index: 1;
        max-width: 300px;
        color: rgba(255, 255, 255, .82);
        font-size: 13px;
    }

    .info-flow-preview {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        gap: 0;
        margin-top: 16px;
    }

    .info-flow-preview img {
        width: 82px;
        height: 62px;
        border: 2px solid rgba(255, 255, 255, .82);
        box-shadow: 0 10px 22px rgba(15, 23, 42, .26);
    }

    .info-flow-preview img + img {
        margin-left: -18px;
    }

    .info-flow-map {
        position: relative;
        width: 100%;
        min-height: 0;
        aspect-ratio: auto;
        padding: 10px 0 12px 18px;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 14px 32px rgba(15, 23, 42, .12);
    }

    .info-flow-map::before,
    .info-flow-center {
        display: none;
    }

    .info-flow-map::after {
        content: "";
        position: absolute;
        top: 30px;
        bottom: 30px;
        left: 39px;
        width: 3px;
        border-radius: 999px;
        background: linear-gradient(180deg, #2563eb, #dc2626, #f59e0b, #7c3aed, #0f766e);
        opacity: .28;
    }

    .info-flow-node {
        position: relative;
        z-index: 1;
        left: auto !important;
        top: auto !important;
        transform: none;
        grid-template-columns: 48px minmax(0, 1fr);
        width: calc(100% - 14px);
        min-height: 76px;
        margin: 10px 0 0;
        padding: 12px 14px;
        border-radius: 16px;
        border-color: color-mix(in srgb, var(--node-accent), white 64%);
        background:
            linear-gradient(90deg, color-mix(in srgb, var(--node-accent), white 90%), #ffffff 48%);
        box-shadow: 0 10px 22px rgba(15, 23, 42, .1);
    }

    .info-flow-node:hover,
    .info-flow-node:focus-visible,
    .info-flow-node.is-active {
        transform: none;
        box-shadow: 0 14px 28px rgba(15, 23, 42, .16), 0 0 0 3px color-mix(in srgb, var(--node-accent), transparent 80%);
    }

    .info-flow-node::after {
        inset: auto;
        right: 16px;
        top: 50%;
        width: 8px;
        height: 8px;
        border: none;
        border-right: 2px solid color-mix(in srgb, var(--node-accent), #102a43 18%);
        border-bottom: 2px solid color-mix(in srgb, var(--node-accent), #102a43 18%);
        border-radius: 0;
        opacity: 1;
        transform: translateY(-50%) rotate(-45deg);
    }

    .flow-node-number {
        width: 48px;
        height: 48px;
        font-size: 19px;
        box-shadow: 0 8px 16px color-mix(in srgb, var(--node-accent), transparent 78%);
    }

    .flow-node-title {
        padding-right: 24px;
        font-size: 14px;
    }

    .info-flow-popover {
        position: fixed;
        inset: 0;
        align-items: flex-end;
        padding: 0;
    }

    .info-flow-popover-card {
        grid-template-columns: 1fr;
        width: 100%;
        max-height: min(78dvh, 680px);
        border-radius: 24px 24px 0 0;
        border-bottom: none;
        box-shadow: 0 -22px 60px rgba(15, 23, 42, .34);
    }

    .info-flow-popover-card::before {
        content: "";
        position: absolute;
        top: 10px;
        left: 50%;
        width: 46px;
        height: 5px;
        border-radius: 999px;
        background: #cbd5e1;
        transform: translateX(-50%);
    }

    .info-flow-popover-image {
        padding: 24px 18px 16px;
    }

    .info-flow-popover-image img {
        width: min(100%, 330px);
        max-height: 180px;
    }

    .info-flow-popover-copy {
        padding: 22px 20px 26px;
    }

    .info-flow-popover-copy h3 {
        font-size: 26px;
    }

    .info-flow-popover-copy > p {
        font-size: 15px;
    }

}

/* ═══════════════════════════════════════════════════════════════
   SEC.F013 FORM SECTIONS
═══════════════════════════════════════════════════════════════ */
.sec-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sec-section {
    border: 1px solid #d1d5db;
    overflow: hidden;
    margin-bottom: -1px;
}

.sec-section:first-child { border-radius: 8px 8px 0 0; }
.sec-section:last-of-type { border-radius: 0 0 8px 8px; margin-bottom: 0; }

.sec-section-header {
    background: #1e3a5f;
    color: #ffffff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .55rem 1rem;
}

.sec-section-body {
    padding: 1rem 1.2rem;
    background: #fff;
}

/* ── Bildirim Türü radio group ────────────────────────────── */
.sec-notif-options {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .4rem;
}

.sec-notif-opt {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    flex: 1 1 calc(33.33% - .5rem);
    min-width: 170px;
    cursor: pointer;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: .6rem .85rem;
    transition: background .12s ease, border-color .12s ease;
}

.sec-notif-opt:hover { background: #f0f4f8; border-color: #9ca3af; }

.sec-notif-opt input[type="radio"] { accent-color: #1e3a5f; flex-shrink: 0; margin-top: 3px; }

.sec-notif-label { font-size: .9rem; }

.sec-notif-label small {
    display: block;
    font-size: .7rem;
    color: #6b7280;
    font-weight: 400;
}

/* ── Consequence checkboxes ───────────────────────────────── */
.sec-consequence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem .75rem;
}

.sec-check-opt {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    font-size: .92rem;
}

.sec-check-opt input[type="checkbox"] { accent-color: #1e3a5f; width: 1rem; height: 1rem; flex-shrink: 0; }

.sec-check-other-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .4rem;
    grid-column: 1 / -1;
}

.sec-other-text-wrap {
    flex: 1;
    min-width: 180px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .25s ease, opacity .2s ease;
}

.sec-other-text-wrap.is-visible {
    max-height: 120px;
    opacity: 1;
}

.sec-other-input { margin-top: 0 !important; }

/* ── Reporter identity ───────────────────────────────────── */
.sec-reporter-options {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .6rem;
    margin-bottom: .75rem;
}

.sec-reporter-opt {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: .55rem .85rem;
    font-size: .92rem;
    transition: background .12s ease, border-color .12s ease;
}

.sec-reporter-opt:hover { background: #f0f4f8; border-color: #9ca3af; }

.sec-reporter-opt input[type="radio"] { accent-color: #1e3a5f; flex-shrink: 0; }

.sec-contact-fields {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease;
}

.sec-contact-fields.is-visible {
    max-height: 400px;
    opacity: 1;
}

/* ── Signature row ───────────────────────────────────────── */
.sec-signature-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.sec-sig-field { flex: 1 1 200px; }

.sec-signature-note {
    font-size: .75rem;
    color: #6b7280;
    margin: .6rem 0 0;
}

/* ── KVKK row spacing ─────────────────────────────────────── */
.sec-kvkk-row { margin-top: 1rem; }

/* ── Form footer note ─────────────────────────────────────── */
.sec-form-footer-note {
    text-align: center;
    font-size: .72rem;
    color: #9ca3af;
    margin: 1rem 0 0;
}

@media (max-width: 540px) {
    .sec-notif-opt { flex: 1 1 100%; }
    .sec-consequence-grid { grid-template-columns: 1fr; }
    .sec-signature-row { flex-direction: column; }
}
