/* =========================================================
   Trabzon Büyükşehir Belediyesi
   Talep ve Başvuru Formu - Yeni Tasarım CSS
   Bootstrap 5 uyumlu
========================================================= */

:root {
    --tbb-navy: #113768;
    --tbb-navy-dark: #071d3d;
    --tbb-purple: #2a5f9e;
    --tbb-purple-soft: #e8eef6;
    --tbb-primary: #1e4d8c;
    --tbb-primary-dark: #113768;
    --tbb-primary-soft: #e8eef6;
    --tbb-brand-gradient: linear-gradient(135deg, #071d3d 0%, #113768 45%, #1e4d8c 100%);
    --tbb-brand-shadow: 0 8px 20px rgba(17, 55, 104, 0.28);
    --tbb-brand-shadow-hover: 0 12px 24px rgba(17, 55, 104, 0.34);
    --tbb-success: #16a34a;
    --tbb-success-dark: #12813c;
    --tbb-success-soft: #e9f9ef;
    --tbb-danger: #dc2626;
    --tbb-warning: #f59e0b;
    --tbb-text: #172033;
    --tbb-muted: #6b7280;
    --tbb-border: #dfe5ef;
    --tbb-border-soft: #eef2f7;
    --tbb-bg-page: #eef2f7;
    --tbb-white: #ffffff;
    --tbb-radius-sm: 10px;
    --tbb-radius-md: 14px;
    --tbb-radius-lg: 22px;
    --tbb-shadow-card: 0 12px 36px rgba(15, 23, 42, 0.08);
    --tbb-shadow-soft: 0 6px 20px rgba(15, 23, 42, 0.06);
    --tbb-shadow-sidebar: 0 18px 50px rgba(17, 55, 104, 0.25);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body.tbb-yeni-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(17, 55, 104, 0.08), transparent 32%),
        radial-gradient(circle at bottom right, rgba(17, 55, 104, 0.08), transparent 30%),
        var(--tbb-bg-page);
    color: var(--tbb-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    overflow-x: hidden;
}

/* =========================================================
   Ana Sayfa Yerleşimi
========================================================= */

.tbb-yeni-shell {
    width: min(1440px, calc(100% - 32px));
    min-height: calc(100vh - 48px);
    margin: 24px auto;
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    background: rgba(255, 255, 255, 0.72);
    border-radius: var(--tbb-radius-lg);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.75);
}

/* =========================================================
   Sol Kurumsal Alan
========================================================= */

.tbb-yeni-sidebar {
    position: relative;
    min-height: 100%;
    padding: 56px 42px;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(7, 29, 61, 0.96) 0%, rgba(17, 55, 104, 0.94) 55%, rgba(30, 77, 140, 0.96) 100%);
    box-shadow: var(--tbb-shadow-sidebar);
}

.tbb-yeni-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.04), transparent 55%),
        url("data:image/svg+xml,%3Csvg width='260' height='260' viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.16)' stroke-width='1'%3E%3Cpath d='M70 30h70l35 60-35 60H70L35 90z'/%3E%3Cpath d='M170 90h70l35 60-35 60h-70l-35-60z'/%3E%3Cpath d='M35 170h70l35 60-35 60H35L0 230z'/%3E%3Ccircle cx='35' cy='90' r='4' fill='rgba(255,255,255,0.35)'/%3E%3Ccircle cx='175' cy='90' r='4' fill='rgba(255,255,255,0.35)'/%3E%3Ccircle cx='140' cy='230' r='4' fill='rgba(255,255,255,0.35)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 320px 320px;
    background-position: right center;
    opacity: 0.9;
    pointer-events: none;
}

.tbb-yeni-sidebar::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -140px;
    bottom: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 68%);
    pointer-events: none;
}

.tbb-yeni-sidebar > * {
    position: relative;
    z-index: 2;
}

.tbb-yeni-sidebar-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
    margin: 0 0 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    padding: 8px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.tbb-yeni-sidebar-title {
    margin: 0;
    font-size: clamp(1.7rem, 2vw, 2.35rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tbb-yeni-sidebar-sub {
    margin: 16px 0 0;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.96;
}

.tbb-yeni-sidebar-desc {
    max-width: 295px;
    margin: 72px 0 54px;
    font-size: 0.96rem;
    line-height: 1.75;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
}

.tbb-yeni-sidebar-desc::before {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    margin-bottom: 28px;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.25));
}

.tbb-yeni-side-section-title {
    margin: 0 0 16px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}

.tbb-yeni-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.tbb-yeni-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.42);
    background: rgba(255,255,255,0.08);
    transition: 0.22s ease;
}

.tbb-yeni-social a:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.75);
}

.tbb-yeni-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tbb-yeni-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255,255,255,0.94);
}

.tbb-yeni-contact-list li i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: -5px;
    color: #fff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
}

.tbb-yeni-contact-list a {
    color: #fff;
    text-decoration: none;
}

.tbb-yeni-contact-list a:hover {
    text-decoration: underline;
}

/* =========================================================
   Sağ Form Alanı
========================================================= */

.tbb-yeni-main {
    min-width: 0;
    padding: 42px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78)),
        #fff;
}

.tbb-yeni-main .container-fluid {
    max-width: 920px !important;
}

.tbb-yeni-form-header {
    text-align: center;
    margin-bottom: 28px;
}

.tbb-yeni-form-header img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    margin-bottom: 14px;
}

.tbb-yeni-form-header h1 {
    margin: 0;
    color: var(--tbb-navy);
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.tbb-yeni-form-header p {
    margin: 8px 0 0;
    color: var(--tbb-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =========================================================
   Bölüm Kartları
========================================================= */

.tbb-yeni-card {
    position: relative;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--tbb-border);
    border-radius: 18px;
    padding: 22px 22px 24px;
    margin-bottom: 18px;
    box-shadow: var(--tbb-shadow-soft);
    overflow: hidden;
}

.tbb-yeni-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tbb-navy), var(--tbb-purple));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tbb-yeni-card:hover::before {
    opacity: 1;
}

.tbb-yeni-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--tbb-border-soft);
}

.tbb-yeni-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--tbb-navy), var(--tbb-purple));
    box-shadow: 0 8px 18px rgba(17, 55, 104, 0.22);
}

.tbb-yeni-card-head h2 {
    margin: 0;
    color: var(--tbb-primary-dark);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tbb-yeni-card-head-row {
    justify-content: space-between;
    flex-wrap: wrap;
}

.tbb-yeni-card-hint {
    margin: 0;
    color: var(--tbb-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

/* =========================================================
   Form Elemanları
========================================================= */

.tbb-yeni-form .row {
    margin-left: -8px;
    margin-right: -8px;
}

.tbb-yeni-form .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

.tbb-yeni-field {
    margin-bottom: 16px;
}

.tbb-yeni-label {
    display: block;
    margin-bottom: 7px;
    color: #243044;
    font-size: 0.82rem;
    font-weight: 700;
}

.req,
.tbb-yeni-label .req {
    color: var(--tbb-danger);
    font-weight: 900;
    margin-left: 3px;
}

.tbb-yeni-input,
.tbb-yeni-select,
.tbb-yeni-textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--tbb-border);
    border-radius: 11px;
    background: #fff;
    color: var(--tbb-text);
    padding: 10px 14px;
    font-size: 0.92rem;
    font-weight: 500;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.tbb-yeni-input::placeholder,
.tbb-yeni-textarea::placeholder {
    color: #9aa4b2;
    font-weight: 500;
}

.tbb-yeni-input:focus,
.tbb-yeni-select:focus,
.tbb-yeni-textarea:focus {
    border-color: var(--tbb-purple);
    box-shadow: 0 0 0 4px rgba(17, 55, 104, 0.11);
    background: #fff;
}

.tbb-yeni-select {
    appearance: none;
    cursor: pointer;
}

.tbb-yeni-textarea {
    min-height: 128px;
    resize: vertical;
    line-height: 1.5;
}

.tbb-yeni-char-count {
    margin-top: 6px;
    text-align: right;
    color: var(--tbb-muted);
    font-size: 0.76rem;
    font-weight: 600;
}

/* Koordinat alanı alt açıklaması */
.tbb-yeni-field .small,
.tbb-yeni-help-text {
    color: var(--tbb-muted) !important;
    font-size: 0.76rem;
    font-weight: 500;
}

/* =========================================================
   DMS Koordinat Girişi
========================================================= */

.tbb-yeni-coord-panel {
    padding: 16px 18px 14px;
    border-radius: 14px;
    border: 1px solid rgba(17, 55, 104, 0.14);
    background:
        linear-gradient(135deg, rgba(232, 238, 246, 0.85), rgba(255, 255, 255, 0.95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tbb-yeni-coord-panel .tbb-yeni-coord-wrap {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--tbb-border-soft);
}

.tbb-yeni-coord-hint {
    margin-top: 12px;
    font-size: 0.78rem;
    line-height: 1.45;
}

.tbb-yeni-coord-panel .tbb-yeni-coord-verified {
    margin-top: 10px;
}

.tbb-yeni-coord-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.tbb-yeni-coord-check-btn {
    border: 0;
    border-radius: 12px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: var(--tbb-brand-gradient);
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--tbb-brand-shadow);
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
    flex-shrink: 0;
}

.tbb-yeni-coord-check-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: var(--tbb-brand-shadow-hover);
}

.tbb-yeni-coord-check-btn:active {
    transform: translateY(0);
}

.tbb-yeni-coord-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    align-items: start;
}

.tbb-yeni-coord-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.tbb-yeni-coord-axis {
    flex-shrink: 0;
    width: 28px;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--tbb-navy);
}

.tbb-yeni-coord-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.tbb-yeni-coord-input {
    width: 64px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1.5px solid var(--tbb-border);
    border-radius: 10px;
    background: var(--tbb-white);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tbb-text);
    text-align: center;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tbb-yeni-coord-input-sec {
    width: 80px;
}

.tbb-yeni-coord-input:focus {
    outline: none;
    border-color: var(--tbb-primary);
    box-shadow: 0 0 0 3px rgba(17, 55, 104, 0.12);
}

.tbb-yeni-coord-symbol {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tbb-muted);
    line-height: 1;
    user-select: none;
}

.tbb-yeni-coord-verified {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--tbb-success-soft);
    border: 1px solid rgba(22, 163, 74, 0.28);
    color: #166534;
    font-size: 0.82rem;
    line-height: 1.45;
}

.tbb-yeni-coord-verified i {
    color: var(--tbb-success);
    margin-top: 2px;
}

.tbb-yeni-coord-verified[hidden] {
    display: none !important;
}

/* =========================================================
   Dosya Yükleme Alanları
========================================================= */

.tbb-yeni-drop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tbb-yeni-dropzone {
    position: relative;
    min-height: 172px;
    padding: 22px 14px;
    border: 1.8px dashed #cbd5e1;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,250,255,0.96));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: 0.18s ease;
}

.tbb-yeni-dropzone::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 12px;
    border: 1px solid transparent;
    pointer-events: none;
    transition: border-color 0.18s ease;
}

.tbb-yeni-dropzone:hover,
.tbb-yeni-dropzone.is-dragover {
    border-color: var(--tbb-primary);
    background: var(--tbb-primary-soft);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(17, 55, 104, 0.12);
}

.tbb-yeni-dropzone:hover::after,
.tbb-yeni-dropzone.is-dragover::after {
    border-color: rgba(17, 55, 104, 0.12);
}

.tbb-yeni-dropzone .dz-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--tbb-primary);
    background: #fff;
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(17, 55, 104, 0.12);
}

.tbb-yeni-dropzone .dz-title {
    margin: 0 0 8px;
    color: var(--tbb-primary-dark);
    font-size: 0.84rem;
    font-weight: 900;
}

.tbb-yeni-dropzone .dz-hint {
    max-width: 170px;
    margin: 0 auto 10px;
    color: var(--tbb-muted);
    font-size: 0.75rem;
    line-height: 1.45;
    font-weight: 500;
}

.tbb-yeni-dropzone .dz-status {
    width: 100%;
    margin: auto 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--tbb-border-soft);
    color: var(--tbb-muted);
    font-size: 0.74rem;
    font-weight: 700;
    word-break: break-word;
}

.tbb-yeni-dropzone .dz-status.has-file {
    color: var(--tbb-success);
}

/* =========================================================
   Onay / KVKK Alanı — Accordion + PDF
========================================================= */

.tbb-yeni-consent-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tbb-yeni-consent-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tbb-yeni-consent-block .tbb-yeni-consent-check {
    margin-top: 2px;
}

.tbb-yeni-consent-accordion {
    --bs-accordion-border-color: var(--tbb-border);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(17, 55, 104, 0.15);
    margin-bottom: 0;
}

.tbb-yeni-consent-accordion-item {
    border: 1px solid var(--tbb-border);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--tbb-white);
}

.tbb-yeni-consent-accordion-item:last-child {
    margin-bottom: 0;
}

.tbb-yeni-consent-accordion .accordion-button {
    padding: 11px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--tbb-primary);
    background: var(--tbb-primary-soft);
    box-shadow: none;
}

.tbb-yeni-consent-accordion .accordion-button:not(.collapsed) {
    color: var(--tbb-primary-dark);
    background: linear-gradient(180deg, var(--tbb-primary-soft), #fff);
    box-shadow: none;
}

.tbb-yeni-consent-accordion .accordion-button::after {
    filter: none;
}

.tbb-yeni-consent-accordion .accordion-body {
    padding: 0 16px 16px;
}

.tbb-yeni-consent-pdf-wrap {
    margin-bottom: 14px;
    border: 1px solid var(--tbb-border);
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}

.tbb-yeni-consent-pdf {
    display: block;
    width: 100%;
    height: 420px;
    min-height: 320px;
    border: 0;
    background: #f8fafc;
}

.tbb-yeni-consent-check {
    padding: 0 2px;
    background: transparent;
    border: 0;
}

.tbb-yeni-consent-check label {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #283247;
    font-size: 0.84rem;
    line-height: 1.45;
    font-weight: 600;
    cursor: pointer;
}

.tbb-yeni-consent-check input[type="checkbox"] {
    width: 19px;
    height: 19px;
    margin-top: 1px;
    flex: 0 0 19px;
    accent-color: var(--tbb-primary);
    cursor: pointer;
}

/* =========================================================
   Gönder Butonu
========================================================= */

.tbb-yeni-submit-wrap {
    margin-top: 20px;
}

.tbb-yeni-submit-btn {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 13px;
    padding: 13px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: #fff;
    background: var(--tbb-brand-gradient);
    box-shadow: var(--tbb-brand-shadow);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.tbb-yeni-submit-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: var(--tbb-brand-shadow-hover);
}

.tbb-yeni-submit-btn:active {
    transform: translateY(0);
}

.tbb-yeni-submit-btn:disabled,
.tbb-yeni-submit-btn.is-loading {
    opacity: 0.75;
    cursor: not-allowed;
    pointer-events: none;
}

.tbb-yeni-kvkk-note {
    margin: 16px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    color: var(--tbb-muted);
    text-align: center;
    font-size: 0.76rem;
    font-weight: 600;
}

.tbb-yeni-kvkk-note i {
    color: var(--tbb-primary);
}

/* =========================================================
   Harita Modal
========================================================= */

#tbbYeniMapModal .modal-backdrop {
    background-color: rgba(15, 23, 42, 0.55);
}

.tbb-yeni-map-dialog {
    max-width: min(960px, calc(100vw - 24px));
    margin: 12px auto;
}

.tbb-yeni-map-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 24px);
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.tbb-yeni-map-header {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    color: var(--tbb-text);
    border-bottom: 1px solid var(--tbb-border-soft);
    padding: 18px 20px 16px;
}

.tbb-yeni-map-header-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.tbb-yeni-map-header-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tbb-primary-soft);
    color: var(--tbb-primary);
    font-size: 1.1rem;
}

.tbb-yeni-map-header-text {
    min-width: 0;
}

#tbbYeniMapModal .modal-title {
    font-weight: 800;
    font-size: 1.08rem;
    color: var(--tbb-text);
}

.tbb-yeni-map-subtitle {
    margin-top: 4px;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--tbb-muted);
    font-weight: 500;
}

#tbbYeniMapModal .btn-close {
    opacity: 0.65;
    flex-shrink: 0;
    margin-top: 4px;
}

#tbbYeniMapModal .btn-close:hover {
    opacity: 1;
}

.tbb-yeni-map-body {
    position: relative;
    flex: 1 1 auto;
    min-height: 280px;
    overflow: hidden;
}

#tbbYeniMapContainer {
    width: 100%;
    height: 100%;
    min-height: 280px;
    z-index: 1;
}

#tbbYeniMapContainer.is-loading {
    opacity: 0.35;
    pointer-events: none;
}

.tbb-yeni-map-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--tbb-navy);
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.tbb-yeni-map-loading[hidden] {
    display: none !important;
}

/* Leaflet 1.9+ attribution bayrağı */
#tbbYeniMapModal .leaflet-attribution-flag {
    display: none !important;
}

.tbb-yeni-map-toolbar {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1000;
}

.tbb-yeni-map-layer-toggle {
    display: inline-flex;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tbb-border);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
}

.tbb-yeni-map-layer-btn {
    border: 0;
    margin: 0;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    color: var(--tbb-muted);
    background: transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.tbb-yeni-map-layer-btn + .tbb-yeni-map-layer-btn {
    border-left: 1px solid var(--tbb-border-soft);
}

.tbb-yeni-map-layer-btn:hover:not(.is-active) {
    background: #f4f7fb;
    color: var(--tbb-text);
}

.tbb-yeni-map-layer-btn.is-active {
    color: #fff;
    background: var(--tbb-brand-gradient);
}

.tbb-yeni-map-layer-btn.is-active:hover {
    filter: brightness(1.04);
}

.tbb-yeni-map-info {
    flex-shrink: 0;
    padding: 14px 16px 0;
    background: #fff;
}

.tbb-yeni-map-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.tbb-yeni-map-coords-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    min-width: 0;
}

.tbb-yeni-map-card {
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--tbb-border-soft);
}

.tbb-yeni-map-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.tbb-yeni-map-card-head > i {
    color: var(--tbb-primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tbb-yeni-map-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--tbb-muted);
    text-transform: none;
    letter-spacing: 0.01em;
}

.tbb-yeni-map-card-label--addr {
    color: var(--tbb-primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.tbb-yeni-map-card-value {
    color: #283247;
    font-size: 0.84rem;
    line-height: 1.45;
    word-break: break-word;
    font-weight: 600;
}

.tbb-yeni-map-card-value--coord {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--tbb-text);
    letter-spacing: 0.01em;
}

.tbb-yeni-map-footer {
    flex-shrink: 0;
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 0;
}

.tbb-yeni-map-actions {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
}

.tbb-yeni-map-btn {
    min-height: 46px;
    border-radius: 12px;
    padding: 11px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}

.tbb-yeni-map-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.tbb-yeni-map-btn-outline {
    border: 1px solid var(--tbb-border);
    background: #fff;
    color: var(--tbb-text);
}

.tbb-yeni-map-btn-outline:hover:not(:disabled) {
    border-color: #c5ced9;
    background: #f8fafc;
}

.tbb-yeni-map-btn-primary {
    border: 0;
    color: #fff;
    background: var(--tbb-brand-gradient);
    box-shadow: var(--tbb-brand-shadow);
}

.tbb-yeni-map-btn-primary:hover:not(:disabled) {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: var(--tbb-brand-shadow-hover);
}

.tbb-yeni-map-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

@media (min-width: 576px) {
    .tbb-yeni-map-body {
        height: min(52vh, 420px);
        flex: 0 0 auto;
    }

    .tbb-yeni-map-info {
        padding: 16px 18px 0;
    }

    .tbb-yeni-map-footer {
        padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    }

    .tbb-yeni-map-actions {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }

    .tbb-yeni-map-btn {
        width: auto;
        min-width: 140px;
    }
}

@media (min-width: 768px) {
    .tbb-yeni-map-info-grid {
        grid-template-columns: 1.15fr 1fr;
        align-items: stretch;
        gap: 12px;
    }

    .tbb-yeni-map-card--addr {
        display: flex;
        flex-direction: column;
    }

    .tbb-yeni-map-card--addr .tbb-yeni-map-card-value {
        flex: 1 1 auto;
    }

    .tbb-yeni-map-coords-row {
        gap: 12px;
        align-self: stretch;
    }
}

/* =========================================================
   Bootstrap Uyum Ufak Dokunuşlar
========================================================= */

.btn-success {
    background-color: var(--tbb-success);
    border-color: var(--tbb-success);
}

.btn-success:hover {
    background-color: var(--tbb-success-dark);
    border-color: var(--tbb-success-dark);
}

.form-control,
.form-select {
    border-radius: 11px;
}

/* =========================================================
   Mobil Uyumluluk
========================================================= */

@media (max-width: 1199.98px) {
    .tbb-yeni-shell {
        grid-template-columns: 340px minmax(0, 1fr);
    }

    .tbb-yeni-sidebar {
        padding: 44px 32px;
    }

    .tbb-yeni-main {
        padding: 34px 28px;
    }
}

@media (max-width: 991.98px) {
    .tbb-yeni-shell {
        width: 100%;
        min-height: 100vh;
        margin: 0;
        grid-template-columns: 1fr;
        border-radius: 0;
    }

    .tbb-yeni-sidebar {
        min-height: auto;
        padding: 28px 22px;
        text-align: center;
    }

    .tbb-yeni-sidebar-logo {
        width: 74px;
        height: 74px;
        margin: 0 auto 14px;
    }

    .tbb-yeni-sidebar-title {
        font-size: 1.35rem;
    }

    .tbb-yeni-sidebar-sub {
        margin-top: 8px;
        font-size: 0.78rem;
    }

    .tbb-yeni-sidebar-desc {
        max-width: 560px;
        margin: 20px auto 24px;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .tbb-yeni-sidebar-desc::before {
        margin: 0 auto 16px;
    }

    .tbb-yeni-social {
        justify-content: center;
        margin-bottom: 24px;
    }

    .tbb-yeni-contact-list {
        max-width: 520px;
        margin: 0 auto;
        text-align: left;
    }

    .tbb-yeni-main {
        padding: 28px 18px 36px;
    }

    /* Mobilde üst sidebar başlığı yeterli; form üstü tekrar gizlenir */
    .tbb-yeni-form-header {
        display: none;
    }

    .tbb-yeni-drop-grid {
        grid-template-columns: 1fr;
    }

    .tbb-yeni-dropzone {
        min-height: 142px;
    }
}

@media (max-width: 767.98px) {
    body.tbb-yeni-page {
        background: #f4f6fa;
    }

    .tbb-yeni-sidebar {
        padding: 22px 18px 24px;
    }

    .tbb-yeni-sidebar-title {
        font-size: 1.12rem;
        line-height: 1.2;
    }

    .tbb-yeni-sidebar-sub {
        font-size: 0.72rem;
    }

    .tbb-yeni-sidebar-desc {
        display: none;
    }

    .tbb-yeni-side-section-title,
    .tbb-yeni-social,
    .tbb-yeni-contact-list {
        display: none;
    }

    .tbb-yeni-main {
        padding: 20px 12px 30px;
    }

    .tbb-yeni-card {
        border-radius: 15px;
        padding: 16px 14px 18px;
        margin-bottom: 14px;
    }

    .tbb-yeni-card-head {
        gap: 10px;
        margin-bottom: 14px;
        padding-bottom: 12px;
    }

    .tbb-yeni-card-icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        flex-basis: 34px;
        font-size: 0.84rem;
    }

    .tbb-yeni-card-head h2 {
        font-size: 0.86rem;
    }

    .tbb-yeni-input,
    .tbb-yeni-select,
    .tbb-yeni-textarea {
        min-height: 43px;
        font-size: 0.88rem;
        padding: 10px 12px;
    }

    .tbb-yeni-textarea {
        min-height: 118px;
    }

    .tbb-yeni-consent-accordion .accordion-button {
        font-size: 0.84rem;
        padding: 12px 14px;
    }

    .tbb-yeni-consent-pdf {
        height: 55vh;
        min-height: 280px;
    }

    .tbb-yeni-consent-check label {
        font-size: 0.8rem;
    }

    .tbb-yeni-coord-panel {
        padding: 14px 14px 12px;
    }

    .tbb-yeni-coord-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .tbb-yeni-coord-check-btn {
        width: 100%;
    }

    .tbb-yeni-coord-rows {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tbb-yeni-coord-row {
        flex-wrap: wrap;
    }

    .tbb-yeni-coord-group {
        width: 100%;
        flex-wrap: wrap;
    }

    .tbb-yeni-map-dialog {
        margin: 0;
        max-width: 100%;
    }

    .tbb-yeni-map-content {
        max-height: 100dvh;
        border-radius: 0;
    }

    .tbb-yeni-map-header {
        padding: 14px 14px 12px;
        padding-top: calc(12px + env(safe-area-inset-top, 0px));
    }

    .tbb-yeni-map-body {
        min-height: 0;
    }

    #tbbYeniMapContainer {
        min-height: 0;
    }

    .tbb-yeni-map-info {
        padding-left: 14px;
        padding-right: 14px;
    }

    .tbb-yeni-map-footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .tbb-yeni-map-content .tbb-yeni-map-body {
        flex: 1 1 auto;
    }
}

@media (max-width: 420px) {
    .tbb-yeni-sidebar-logo {
        width: 62px;
        height: 62px;
    }

    .tbb-yeni-sidebar-title {
        font-size: 1rem;
    }

    .tbb-yeni-main {
        padding-left: 10px;
        padding-right: 10px;
    }

    .tbb-yeni-card {
        padding-left: 12px;
        padding-right: 12px;
    }

    .tbb-yeni-submit-btn {
        font-size: 0.84rem;
        letter-spacing: 0.035em;
    }
}

/* =========================================================
   Select2 + Datepicker (Talep form — modern görünüm)
========================================================= */

.tbb-yeni-page .select2-container {
    width: 100% !important;
    margin-bottom: 0;
}

.tbb-yeni-page .select2-container--default .select2-selection--single {
    min-height: 44px;
    border: 1px solid var(--tbb-border);
    border-radius: 11px;
    background-color: #fff;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.tbb-yeni-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
    padding-left: 14px;
    padding-right: 38px;
    color: var(--tbb-text);
    font-size: 0.92rem;
    font-weight: 500;
}

.tbb-yeni-page .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9aa4b2;
}

.tbb-yeni-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
    right: 10px;
    width: 22px;
}

.tbb-yeni-page .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--tbb-muted) transparent transparent transparent;
    border-width: 6px 5px 0 5px;
    margin-left: -5px;
    margin-top: -3px;
}

.tbb-yeni-page .select2-container--default.select2-container--focus .select2-selection--single,
.tbb-yeni-page .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--tbb-purple);
    box-shadow: 0 0 0 4px rgba(17, 55, 104, 0.11);
}

body.tbb-yeni-page .select2-dropdown {
    border: 1px solid var(--tbb-border);
    border-radius: 12px;
    box-shadow: var(--tbb-shadow-card);
    overflow: hidden;
    z-index: 1060;
}

body.tbb-yeni-page .select2-container--open .select2-dropdown {
    z-index: 1060;
}

.tbb-yeni-page .select2-results__option {
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tbb-yeni-page .select2-results__option--highlighted[aria-selected] {
    background-color: var(--tbb-purple) !important;
    color: #fff !important;
}

.tbb-yeni-page .select2-results__option[aria-selected="true"] {
    background-color: var(--tbb-primary-soft) !important;
    color: var(--tbb-primary-dark) !important;
}

.tbb-yeni-page .select2-container--disabled .select2-selection--single {
    background-color: var(--tbb-border-soft);
    opacity: 0.85;
}

body.tbb-yeni-page .datepicker {
    font-family: inherit;
    font-size: 0.9rem;
}

body.tbb-yeni-page .datepicker-dropdown {
    border-radius: 14px !important;
    border: 1px solid var(--tbb-border) !important;
    box-shadow: var(--tbb-shadow-card) !important;
    padding: 10px 12px !important;
    z-index: 1075 !important;
    font-family: inherit;
}

body.tbb-yeni-page .datepicker-dropdown:before,
body.tbb-yeni-page .datepicker-dropdown:after {
    display: none !important;
}

body.tbb-yeni-page .datepicker table thead tr th,
body.tbb-yeni-page .datepicker table tbody tr td {
    border-radius: 8px;
}

body.tbb-yeni-page .datepicker table tr th.dow {
    color: var(--tbb-muted);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.tbb-yeni-page .datepicker table tr th.datepicker-switch,
body.tbb-yeni-page .datepicker table tr th.next,
body.tbb-yeni-page .datepicker table tr th.prev {
    color: var(--tbb-purple);
    font-weight: 700;
}

body.tbb-yeni-page .datepicker table tr td.day:hover,
body.tbb-yeni-page .datepicker table tr td.day.focused {
    background: var(--tbb-primary-soft) !important;
    color: var(--tbb-text) !important;
}

body.tbb-yeni-page .datepicker table tr td.today {
    background: rgba(17, 55, 104, 0.14) !important;
    color: var(--tbb-purple) !important;
    font-weight: 700;
}

body.tbb-yeni-page .datepicker table tr td.today:not(.active):hover {
    background: rgba(17, 55, 104, 0.22) !important;
}

body.tbb-yeni-page .datepicker table tr td.active,
body.tbb-yeni-page .datepicker table tr td.active:hover,
body.tbb-yeni-page .datepicker table tr td.active.disabled,
body.tbb-yeni-page .datepicker table tr td.active.disabled:hover {
    background: var(--tbb-purple) !important;
    background-image: none !important;
    color: #fff !important;
    text-shadow: none !important;
}

body.tbb-yeni-page .datepicker table tr td.old,
body.tbb-yeni-page .datepicker table tr td.new {
    color: #b8c0cc;
}

.tbb-yeni-page .select2-container--default .select2-selection--single:focus,
.tbb-yeni-page .select2-container--default .select2-selection--single:focus-within {
    outline: none;
}

@media (max-width: 768px) {
    .tbb-yeni-page .select2-container--default .select2-selection--single {
        min-height: 43px;
    }

    .tbb-yeni-page .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 41px;
        font-size: 0.88rem;
    }

    .tbb-yeni-page .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 41px;
    }
}

/* =========================================================
   Erişilebilirlik / Odak
========================================================= */

.tbb-yeni-dropzone:focus-visible,
.tbb-yeni-coord-check-btn:focus-visible,
.tbb-yeni-coord-input:focus-visible,
.tbb-yeni-submit-btn:focus-visible,
.tbb-yeni-map-layer-btn:focus-visible,
.tbb-yeni-map-btn:focus-visible,
.tbb-yeni-consent-accordion .accordion-button:focus-visible,
.tbb-yeni-page .select2-container .select2-selection:focus-visible {
    outline: 3px solid rgba(17, 55, 104, 0.28);
    outline-offset: 3px;
}



.tbb-yeni-drop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.tbb-yeni-dropzone {
    min-width: 0;
    min-height: 150px;
    padding: 14px 10px;
}

    .tbb-yeni-dropzone .dz-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .tbb-yeni-dropzone .dz-title {
        font-size: 14px;
        line-height: 1.25;
        margin-bottom: 6px;
        white-space: normal;
    }

    .tbb-yeni-dropzone .dz-hint {
        font-size: 12px;
        line-height: 1.25;
        margin-bottom: 6px;
    }

    .tbb-yeni-dropzone .dz-status {
        font-size: 12px;
        line-height: 1.25;
        word-break: break-word;
    }

/* Başlık/hint alanı daralınca taşmasın */
.tbb-yeni-card-head-row {
    gap: 10px;
}

.tbb-yeni-card-hint {
    font-size: 12px;
    line-height: 1.35;
}

/* Tablet boyutta 2'li diz */
@media (max-width: 991.98px) {
    .tbb-yeni-drop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobilde tekli diz */
@media (max-width: 575.98px) {
    .tbb-yeni-drop-grid {
        grid-template-columns: 1fr;
    }

    .tbb-yeni-dropzone {
        min-height: 135px;
    }
}