/* arabaks.com — v2 uyum katmanı: eski sayfa gövdelerini (main.css) yeni tasarım diline çeker.
   Sadece includeHeaderStyle üzerinden yüklenir; yeni v2 sayfalar bu dosyayı kullanmaz. */

body { font: 400 15px/1.55 var(--f-body); background: var(--paper); color: var(--ink); }

/* eski element seçicilerinin (header/nav/footer float, sabit yükseklik) v2 çerçeveye sızmasını engelle */
header.top, footer.foot { float: none; width: auto; height: auto; }
footer.foot { width: 100%; padding-top: 56px; background: #1F2224; }
.top nav, nav.top__nav, nav.panelbar, nav.typesbar, nav.crumbs, nav.quick, nav.pager, nav.districts, .foot nav { float: none; margin: 0; }
.top nav ul, .top nav li { float: none; }
.top__nav a, .top__drawer a, .foot__col a, .panelbar a, .typesbar a { height: auto; line-height: inherit; }
.top__nav a { padding: 6px 0; color: var(--ink-2); }
.top__nav a:hover { color: var(--ink); }
.foot__col a { padding: 6px 0; color: inherit; }
.foot__col h2 { font-family: var(--f-body); }

/* araç türü çubuğu */
.typesbar { background: var(--white); border-bottom: 1px solid var(--line); }
.typesbar__in { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.typesbar__in::-webkit-scrollbar { display: none; }
.typesbar a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; }
.typesbar a:hover { background: var(--ink); color: var(--white); }
.typesbar__icon { width: 28px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* sayfa iskeleti */
#page { float: none; width: 100%; padding: 28px 0 0; background: transparent; }
#page > .wrapper, .wrapper { width: auto; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); box-sizing: border-box; }
.wrapper::after { content: ""; display: table; clear: both; }
#page h1, #page h2, #page h3, #page h4 { font-family: var(--f-body); color: var(--ink); letter-spacing: -0.01em; }
#page h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; font-stretch: 108%; line-height: 1.1; }
#page h2 { font-weight: 800; font-stretch: 106%; }
#page p { line-height: 1.6; }
#page a { text-underline-offset: 3px; }

/* eski başlık barları ve kutular */
.PageLeft .PageHead, .PageHead {
	background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 12px 12px 0 0;
	font: 800 1.15rem/1.3 var(--f-body); font-stretch: 106%; padding: 14px 18px; text-transform: none; height: auto;
}
.PageLeft .PageHead a { color: var(--red); font-size: 14px; font-weight: 700; }
.PageLeftContent, .static_container, .members-container .box, #page .box {
	background: var(--white); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; padding: 18px; box-sizing: border-box;
}
.static_container { border-top: 1px solid var(--line); border-radius: 12px; }
#page .title { font-family: var(--f-body); }

/* form elemanları */
#page input[type="text"], #page input[type="email"], #page input[type="password"], #page input[type="tel"],
#page input[type="number"], #page input[type="search"], #page input[type="url"], #page input.date-input,
#page select, #page textarea, .textField, .selectField {
	font: 500 15px/1.3 var(--f-body); color: var(--ink);
	background-color: var(--white); border: 1.5px solid var(--line); border-radius: 8px;
	min-height: 44px; padding: 8px 12px; box-sizing: border-box; box-shadow: none;
	transition: border-color 160ms ease;
}
#page textarea { min-height: 96px; }
#page input:focus-visible, #page select:focus-visible, #page textarea:focus-visible { outline: none; border-color: var(--ink); }
#page label { font-family: var(--f-body); }
#page input[type="checkbox"], #page input[type="radio"] { accent-color: var(--red); width: 18px; height: 18px; min-height: 0; }

/* butonlar */
#page button[type="submit"], #page input[type="submit"], #page input[type="button"], #page .loginbtn, #page .button, #page .btn_submit, #page .list_button_links a {
	font: 700 15px/1 var(--f-body); background: var(--ink); color: var(--white);
	border: 0; border-radius: var(--r-btn); min-height: 46px; padding: 0 22px; cursor: pointer; text-shadow: none; box-shadow: none;
	transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
#page button[type="submit"]:hover, #page input[type="submit"]:hover, #page .loginbtn:hover, #page .button:hover { background: #1B1E20; }
#page button[type="submit"]:active, #page input[type="submit"]:active, #page .loginbtn:active { transform: scale(.97); }

/* tablolar (panel listeleri) */
#page table { border-collapse: collapse; width: 100%; background: var(--white); font-size: 14px; }
#page table th { background: var(--paper-2); color: var(--ink); font-weight: 700; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
#page table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
#page table tr:hover td { background: #FBFAF8; }

/* uyarı / mesaj kutuları */
#page .warning, #page .submitMessage:not(:empty), #page .dialog { border-radius: 10px; }
#page .warning { background: #FFF6D6; color: #5C4700; border: 1px solid #F2DE9B; padding: 12px 14px; }

/* kenar sütunu (v2) */
.side { display: grid; gap: 14px; }
.side__box { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.side__box h2 { font: 800 1.05rem/1.2 var(--f-body); font-stretch: 106%; margin: 0 0 12px; }
.side__cars { display: grid; gap: 12px; margin-bottom: 8px; }
.side__cars a { display: grid; grid-template-columns: 96px 1fr; gap: 10px; text-decoration: none; color: var(--ink); }
.side__cars img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.side__cars b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.side__cars small { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.side__cars em { display: block; font: 800 14px/1.2 var(--f-price); font-style: normal; margin-top: 3px; }
.side__news { display: grid; gap: 8px; margin-bottom: 8px; }
.side__news a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.side__news a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.side__cta p { font-size: 14px; color: var(--ink-2); margin: 0 0 12px; }
.side__cta .btn { width: 100%; }

@media (max-width: 1180px) {
	.wrapper { width: auto; }
}
@media (max-width: 960px) {
	.panelbar__hi { display: none; }
}

/* Bootstrap/eski .btn çakışmasına karşı v2 butonlarını sabitle */
body .btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r-btn); font: 700 15px/1 var(--f-body); text-decoration: none; white-space: nowrap; box-shadow: none; }
body .btn--red, body .btn--red:visited { background: var(--red); color: var(--white); }
body .btn--ink, body .btn--ink:visited { background: var(--ink); color: var(--white); }
body .btn--yellow, body .btn--yellow:visited { background: var(--yellow); color: var(--ink); }
body .top__cta { min-height: 44px; }
body .top__user, body .top__nav a, body .more { text-decoration: none; }
body .top__user { color: var(--ink); }
body .more { color: var(--red); }

/* eski kırmızı başlık barları → v2 sayfa başlığı */
#page .title, #page .titles {
	float: none; width: auto; height: auto; min-height: 0; background: none !important; color: var(--ink) !important;
	border: 0; border-radius: 0; box-shadow: none; text-transform: none; text-shadow: none;
	font: 800 clamp(1.4rem, 2.6vw, 2rem)/1.15 var(--f-body); font-stretch: 108%; letter-spacing: -0.02em;
	padding: 0 0 14px; margin: 0 0 6px;
}
#page .title::before, #page .title::after { display: none; }
#page .title.cogwheel, #page .title.mt10, #page [class*="title-gray"] { font-size: 1.15rem; padding-top: 18px; }
#page .members-container { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-sizing: border-box; }
#page .members-container.no-border { border: 0; padding: 0; background: transparent; }
#page .members-container .box { border: 0; padding: 0; }
#page .submitMessage:not(:empty) { display: block; margin-top: 10px; padding: 10px 12px; background: var(--paper); }
#page .dialog { background: #FFF6D6; border: 1px solid #F2DE9B; color: #5C4700; padding: 14px 16px; }
#page .field label, #page .break-field label, #page label.lbl { font-size: 13px; font-weight: 700; color: var(--ink-2); }
#page .full-width { width: 100%; }
#page .fa { color: inherit; }

#page button, #page .btn, #page a.button, #page input[type="button"] { border-radius: var(--r-btn); }
