/* 
   Ãœniversite Taban PuanlarÄ± - BaÄŸÄ±msÄ±z ve Hafif Stil DosyasÄ±
*/

@font-face { font-family: 'Outfit'; src: url('/tema/font/Outfit-Regular.woff2') format('woff2'); font-weight: 400; }
@font-face { font-family: 'Outfit'; src: url('/tema/font/Outfit-Medium.woff2') format('woff2'); font-weight: 500; }
@font-face { font-family: 'Outfit'; src: url('/tema/font/Outfit-SemiBold.woff2') format('woff2'); font-weight: 600; }
@font-face { font-family: 'Outfit'; src: url('/tema/font/Outfit-Bold.woff2') format('woff2'); font-weight: 700; }

:root {
--mavi: #0074d4;
--bg-color: #fbfbfb;
--card-bg: #FFFFFF;
--text-main: #32302c;
--text-muted: #6B7280;
--border-color: #e8e8e8;
--kirmizi: #ed1e0f;
--yesil: #56980a;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }

body {
background: var(--bg-color);
color: var(--text-main);
padding:30px 6px 100px;
display: flex;
flex-direction: column;
align-items: center;
}

.container { width: 100%; max-width: 660px; }

.breadcrumb { text-align: center; margin-bottom: 16px; font-size: 16px;color: var(--text-muted); line-height: 1.7em;}
.breadcrumb a { text-decoration: none; color: var(--mavi); }
.breadcrumb span { margin: 0 8px; color: #CBD5E1; }

header h1 { text-align: center; font-size: 2rem; font-weight: 500; margin-bottom: 25px; }
b { font-weight: 600; }

.calculator-card {
background: var(--card-bg);
padding:20px;
border-radius: 10px;
border: 1px solid var(--border-color);
margin-bottom: 20px;
position: relative;
scroll-margin-top: 20px;
box-shadow: 0 1px 10px -1px rgba(0, 0, 0, 0.1);
}

/* Form ElemanlarÄ± */
.input-row { display: flex; gap: 10px;}

.input-group { position: relative; flex: 1; margin-bottom: 24px; }
.input-group > label, .input-label {
position: absolute; top: -10px; left: 12px; background: white;
padding: 0 5px; font-weight: 600; font-size: 11px; color: var(--mavi);
z-index: 10;
text-transform: none;
}

input, select {
width: 100%; padding: 12px 15px; border: 1px solid #D1D5DB;
border-radius: 8px; font-size: 16px; outline: none; background: #fff;
}

.main-btn {
width: 100%;
padding: 10px;
background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 5%, #f3f4f6 50%, #e5e7eb 100%);
color: var(--text-main);
border: 1px solid #a5a5a5;
border-radius: 8px;
font-size: 16px;
font-weight: 500;
cursor: pointer;
transition: transform 0.2s ease, border-color 0.2s ease;
letter-spacing: 1px;
text-shadow: 0 1px 0 #fff;
}
.main-btn:hover:not(:disabled) {
background: linear-gradient(to bottom, #ffffff 0%, #f3f4f6 100%);
border-color: #9ca3af;
}

/* Modern Slider */
.modern-slider-container {
display: flex;
align-items: center;
gap: 8px;
background: #FFFFFF;
border: 1px solid #D1D5DB;
border-radius: 6px;
padding: 10px 15px;
width: 100%;
}

.range-wrapper {
position: relative;
height: 30px;
display: flex;
align-items: center;
flex: 1;
}

.premium-slider {
-webkit-appearance: none;
width: 100%;
height: 8px;
border-radius: 4px;
outline: none;
margin: 0;
padding: 0;
border: none;
position: relative;
z-index: 2;
background-color: transparent;
}

.premium-slider::-webkit-slider-runnable-track {
width: 100%;
height: 8px;
cursor: pointer;
background: #cbd5e1;
border-radius: 4px;
}

.premium-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 24px;
height: 24px;
border-radius: 50%;
background: #ffffff;
cursor: pointer;
border: 4px solid var(--mavi);
transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
margin-top: -8px;
}

.premium-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }

.slider-progress {
position: absolute;
top: 50%;
left: 0;
height: 8px;
border-radius: 4px;
background: var(--mavi);
transform: translateY(-50%);
pointer-events: none;
z-index: 1;
}

.slider-val-box { min-width: 20px; text-align: right; }
.slider-value-text { font-size: 16px; color: var(--text-main); }

/* Tablo */
.tablolar {
background: var(--card-bg);
padding: 8px;
border-radius: 10px;
border: 1px solid var(--border-color);
position: relative;
box-shadow: 0 1px 10px -1px rgba(0, 0, 0, 0.1);
}

.uni-table {
width: 100%;
border-collapse: collapse;
}

/* SÃ¼tun GeniÅŸlikleri */
.uni-table th:nth-child(1),
.uni-table td:nth-child(1) {
width: 8%;
}

.uni-table th:nth-child(2),
.uni-table td:nth-child(2) {
width: 75%;
}

.uni-table th:nth-child(3),
.uni-table td:nth-child(3) {
width: 17%;
}

.uni-table thead {
position: sticky;
top: 0;
z-index: 100;
background: #fff;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transform: translateZ(0);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.uni-table th {
background: #fdfdfd;
padding: 10px;
font-size: 14px;
color: var(--text-muted);
text-align: center;
}

.uni-table td {
padding: 6px 2px;
border-bottom: 1px solid var(--border-color);
font-size: 16px;
}

.uni-table tr { position: relative; transition: background 0.2s; }
.uni-table tr:hover { background: #f8fafc; cursor: pointer; }
.uni-table tr:last-child td { border-bottom: none; }

.row-link {
text-decoration: none;
color: inherit;
font-weight: 500;
}

.row-link::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1;
}


.uni-table td.pturu {
color:#989696;
text-align: center;
font-size: 14px;
}
.ogrenimler { color: var(--mavi); text-align: center; }

/* EÄŸitim TÃ¼rÃ¼ Etiketleri */
.tag-container { display: flex; flex-wrap: wrap; gap: 5px; margin-top:5px; align-items: center;opacity:0.7;font-size: 13px;}
.tag {
background: #fbfeff;
color: var(--mavi);
padding: 2px 6px;
border-radius: 4px;
border: 1px solid #cfeaff;
}
.min-rank {
background: #fffdfd;
color: #ed1e0f;
padding: 2px 6px;
border-radius: 4px;
border: 1px solid #f5dad6;
}


/* Accordion */
.info-accordion { position: relative; z-index: 50; }
.info-content { max-height: 52px; overflow: hidden; position: relative; transition: all 0.4s ease; margin-bottom: 26px;}
.info-content::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height:4px; background: linear-gradient(to bottom, transparent, #fff); z-index: 2; }
.info-accordion.expanded .info-content { max-height: 2000px; }
.info-accordion.expanded .info-content::after { display: none; }
.metin p {margin-bottom: 15px;font-size: 18px;line-height: 1.3;}
.expand-btn { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid #e2e8f0; padding: 6px 18px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--text-main); cursor: pointer; transition: all 0.2s; z-index: 100; }
.expand-btn::after { content: "Tamamı"; }
.info-accordion.expanded .expand-btn::after { content: "Gizle"; }

.uni-table th.sortable { cursor: pointer; position: relative; user-select: none; transition: background 0.2s; }
.uni-table th.sortable:hover { background: #f8fafc; }
.th-filter {width: 100%; padding: 7px 2px; border: 1px solid #cbcbcb;
border-radius: 4px; font-size: 13px; color: var(--text-muted);
background:#fff; outline: none; text-align: center;
transition: all 0.2s;
}
.th-filter:focus { border-color: var(--mavi); color: var(--mavi); }
.th-filter::placeholder,.tabara::placeholder { color: #94a3b8; font-weight: 600; }
.th-sort-icon {
position: absolute;
top: 47%;
right: 0px;
transform: translateY(-50%);
font-size: 16px;
opacity: 0.5;
}
.tabara {
width: 100%;
padding: 8px 2px;
border: 1px solid #fff;
border-radius: 4px;
font-size: 13px;
color: var(--text-muted);
background: #fff;
outline: none;
text-align: center;
transition: all 0.2s;
}
.tabara:focus { background: white; border-color: var(--mavi); color: var(--mavi); }
/* Helpers */
.mb-20 { margin-bottom: 20px; }
.mb-10 { margin-bottom: 10px; }
.mt-20 { margin-top: 20px; }
.mt-10 { margin-top: 10px; }

/* Loading Overlay */
.loading-overlay {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(255, 255, 255, 0.7);
opacity: 0;
pointer-events: none;
transition: opacity 0.4s ease;
z-index: 1000;
border-radius: inherit;
}

.updating .loading-overlay {
opacity: 1;
pointer-events: all;
}


/* Puanlar Tablosu Ã–zel Stilleri */
.puanlar {
width: 100%;
border-collapse: collapse;
background: #fff;
}

.puanlar thead {
position: sticky;
top: 0;
z-index: 100;
background: #fff;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transform: translateZ(0);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.puanlar th {
background: #fbfbfb;
padding: 4px;
font-size: 12px;
color: var(--text-muted);
text-align: center;
font-weight: 600;
text-shadow: 1px 1px 1px #fff;
}

.puanlar tbody tr:nth-child(even) {
    background-color: #fbfbfb;
}
.puanlar td {text-align: center;
padding:6px 5px;
font-size: 16px;border-bottom: 1px solid #e7e7e7;
}
.puanlar td:first-child{text-align: left;}

.puanlar tr { position: relative; }
.puanlar tr:hover { background: #f8fafc; }
.puanlar tr:last-child td { border-bottom: none; }

.puanlar :is(td, th):is(:nth-child(3), :nth-child(4), :nth-child(5)) div:nth-child(1) { color: var(--kirmizi); }
.puanlar :is(td, th):is(:nth-child(3), :nth-child(4), :nth-child(5)) div:nth-child(2) { color: var(--mavi); }
.puanlar :is(td, th):is(:nth-child(3), :nth-child(4), :nth-child(5)) div:nth-child(3) { color: var(--yesil); }
.puanlar :is(td, th):is(:nth-child(3), :nth-child(4), :nth-child(5)) div:nth-child(4) { color: var(--text-muted); }

.puanlar td:nth-child(1) :is(div:nth-child(1), div:nth-child(2)) {
white-space: nowrap;
overflow: scroll;
scrollbar-width: none;
-ms-overflow-style: none;
}
.puanlar td:nth-child(1) :is(div:nth-child(1), div:nth-child(2))::-webkit-scrollbar {
display: none;
}
.puanlar td:nth-child(1) div:nth-child(1) {
font-weight: 500;
color: #092135;
display: flex;
width: 300px;
}
.puanlar td:nth-child(1) div:nth-child(2) {
color: var(--mavi);
max-width:300px;
}
.puanlar td:nth-child(1) div:nth-child(3) {color: var(--text-muted);}
.puanlar td:nth-child(2){color:black}

.puanlar th:is(:nth-child(3), :nth-child(4), :nth-child(5)) div {font-size: 16px;font-weight: 400;}


/* Segmented Control (Modern SÄ±ralama ButonlarÄ±) */
.filter-bar {
display: flex;
justify-content: center;
}

.segmented-control {
position: relative;
display: flex;
width: 100%;
background: #fff;
padding: 4px;
border-radius: 8px;
border: 1px solid #e5e7eb;
box-shadow: 0 1px 10px -1px rgba(0, 0, 0, 0.1);
}

.segmented-control input {
display: none;
}

/* 4 SeÃ§enekli TÃ¼r Filtresi Ã–zel AyarlarÄ± */
.segmented-control.type-filter .control-indicator {
width: calc(25% - 4px);
}

.segmented-control.type-filter input#type_devlet:checked ~ .control-indicator {
transform: translateX(100%);
}
.segmented-control.type-filter input#type_vakif:checked ~ .control-indicator {
transform: translateX(200%);
}
.segmented-control.type-filter input#type_diger:checked ~ .control-indicator {
transform: translateX(300%);
}

.segmented-control label {
flex: 1;
text-align: center;
padding: 10px 12px;
font-size: 14px;
font-weight: 600;
color: #6b7280;
cursor: pointer;
z-index: 2;
transition: color 0.3s ease;
user-select: none;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
height: 100%;
}

.segmented-control input:checked + label {
color: #fff;
}

.segmented-control .control-indicator {
position: absolute;
top: 4px;
left: 4px;
width: calc(50% - 4px);
height: calc(100% - 8px);
background: var(--mavi);
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 1;
}

.segmented-control input#sort_sira:checked ~ .control-indicator {
transform: translateX(100%);
}

.puanlar tr.is-fav .badge-container::after {
content: "❤️";
display: inline-flex;
align-items: center;
justify-content: center;
background: #fff5f5;
padding: 2px 4px;
border-radius: 5px;
font-size: 12px;
border: 1px solid #fed7d7;
}
.puanlar tr { cursor: pointer; }

/* --- MINIMAL BOTTOM ACTION BAR --- */
.action-bar-container {
position: fixed;
bottom: 10px;
left: 0;
right: 0;
margin: 0 auto;
width: fit-content;
max-width: 40px;
padding: 2px;
z-index: 2000;
display: flex;
align-items: center;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: 10px;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
opacity: 0;
visibility: hidden;
transform: translateY(30px);
transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
justify-content: center;
}

.action-bar-container.show {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.btn-fav {
position: relative;
background: transparent;
border: none;
cursor: pointer;
font-size: 26px;
border-radius: 10px;
transition: background 0.2s, transform 0.2s;
}
.btn-fav:hover {
background: rgba(0, 0, 0, 0.05);
}
.fav-badge {
position: absolute;
color: #fff;
font-size: 14px;
font-weight: 600;
pointer-events: none;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
top: 48%;
left: 50%;
transform: translate(-50%, -42%);
}


.share-menu {
position: absolute;
bottom: 0px;
left: 50%;
transform: translateX(-50%) translateY(10px);
background: white;
border-radius:12px;
padding:7px 6px;
display: flex;
flex-direction: column;
gap:6px;
box-shadow: 0 0px 10px #7d7d7d;
border: 1px solid #a8a8a8;
width: 92vw;
max-width: 440px;
opacity: 0;
visibility: hidden;
transition: all 0.25s cubic-bezier(0.2, 1, 0.3, 1);
z-index: 1000;
}

.share-menu.active {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}

/* 1. SatÄ±r: PaylaÅŸÄ±m ButonlarÄ± */
.fav-popup-row-1 {
display: flex;
gap: 8px;
}

.fav-action-btn {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 10px 8px;
border-radius: 10px;
border: 1px solid #e2e8f0;
background: #f8fafc;
color: #334155;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
}

.fav-action-btn:hover {
background: #f1f5f9;
border-color: #cbd5e1;
transform: translateY(-1px);
}

.fav-action-btn:active {
transform: translateY(0);
}

/* 2. SatÄ±r: Scrollable Liste ve Tablo */
.fav-popup-list-container {
position: relative;
overflow: hidden; /* Kenar yuvarlama taÅŸmalarÄ±nÄ± keser */
}

.fav-popup-list-wrapper {
max-height:370px; /* Toplam 400px popup yÃ¼ksekliÄŸine sÄ±ÄŸacak ÅŸekilde listeyi sÄ±nÄ±rlarÄ±z */
overflow-y: auto;
overscroll-behavior: contain; /* Scroll zincirlenmesini (arka plan kaymasÄ±nÄ±) engeller */
border: 1px solid #edf2f7;
border-radius:6px;
background: #fafafa;
}

/* Scrollbar Ã–zelleÅŸtirme */
.fav-popup-list-wrapper::-webkit-scrollbar {
width: 6px;
}
.fav-popup-list-wrapper::-webkit-scrollbar-track {
background: transparent;
}
.fav-popup-list-wrapper::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 3px;
}

.fav-popup-table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
text-align: left;
}

.fav-popup-table th {
background: #f1f5f9;
padding: 10px 6px;
font-weight: 600;
color: #475569;
border-bottom: 1px solid #e2e8f0;
position: sticky;
top: 0;
z-index: 10;
}

.fav-popup-table td {
padding:6px 4px;
color: #1e293b;
font-size: 13px;
}

/* SÄ±ra SÃ¼tunu (1. Kolon) */
.fav-popup-table th:first-child,
.fav-popup-table td:first-child {width:20px;text-align: center;}

/* Sil SÃ¼tunu (4. Kolon) */
.fav-popup-table th:last-child,
.fav-popup-table td:last-child {width:28px;}

.fav-popup-table tr:last-child td {
border-bottom: none;
}

.fav-popup-empty {
height: 250px;
font-size: 20px !important;
}

/* 3. SatÄ±r: Alt Butonlar */
.fav-popup-row-3 {
display: flex;
gap: 8px;
margin-top: 2px;
}

.fav-footer-btn {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 11px;
border-radius: 10px;
font-size: 13px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s ease;
}

.fav-footer-btn:active {
transform: translateY(0);
}

.favsira {
color: var(--kirmizi);
}
.favkon {
color: var(--mavi);
}

.btn-clear-favs {
background: #fff5f5;
color: #e53e3e;
border: 1px solid #fed7d7;
}

.btn-clear-favs:hover {
background: #fff1f2;
border-color: #fca5a5;
transform: translateY(-1px);
}

.btn-close-favs {
background: #f1f5f9;
color: #475569;
border: 1px solid #e2e8f0;
}

.btn-close-favs:hover {
background: #e2e8f0;
border-color: #cbd5e1;
transform: translateY(-1px);
}


@keyframes popInBar {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}



/* --- SCROLL TO TOP --- */
.scroll-top {
position: fixed;
bottom:12px;
right: 22px;
font-size: 20px;
cursor: pointer;
z-index: 1500;
opacity: 0;
visibility: hidden;
transform: translateY(0) rotate(-45deg);
transition: opacity 0.4s ease, visibility 0.4s;
user-select: none;
outline: none;
-webkit-tap-highlight-color: transparent;
}

.scroll-top.show {
opacity: 1;
visibility: visible;
animation: rocketIn 0.4s ease forwards; /* Sadece giriÅŸte bir kez Ã§alÄ±ÅŸÄ±r */
}

@keyframes rocketIn {
from { transform: translateY(20px) rotate(-45deg); }
to   { transform: translateY(0)rotate(-45deg); }
}


.fav-row-delete {
cursor: pointer;
font-size: 14px;
opacity: 0.5;
transition: all 0.2s ease;
display: inline-block;
}

.fav-row-delete:hover {
opacity: 1;
color: var(--kirmizi);
transform: scale(1.2);
}

.fav-popup-table tr.removing {
background-color: rgba(239, 68, 68, 0.12) !important;
color: #b91c1c !important;
transition: all 0.25s ease;
opacity: 0.6;
}
.row-fav-animation-overlay {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(255, 255, 255, 0.888);
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
z-index: 50;
pointer-events: none;
animation: pulseHeart 1s ease-out forwards;
}

.fav-popup-table tr { position: relative;cursor: pointer;}

@keyframes pulseHeart {
0% { opacity: 0; }
20% { opacity: 1; }
80% { opacity: 0.9; }
100% { opacity: 0; }
}

/* --- PREMIUM BADGES --- */
.badge-container {
display: flex;
gap: 6px;
margin-top: 6px;
align-items: center;
flex-wrap: wrap;
}
.badge-sehir {
background: #fdfdfd;
color: #2b2c2c;
padding:4px 6px;
border-radius: 5px;
font-size: 13px;
border: 1px solid #e2e8f0;
}
.badge-type {
padding:4px 6px;
border-radius: 4px;
font-size: 13px;
}
.badge-type.devlet {color: #5b5208;
background: #fffdeb;
border: 1px solid #ffe500;
}
.badge-type.ozel {
background: #fff9fe;
color: #c00091;
border: 1px solid #ffd0fa;
}
.badge-type.yurtdisi {
background: #f5fbff;
color: #2196F3;
border: 1px solid #b4deff;
}

.segmented-switch {
display: flex;
padding: 4px;
border-radius: 10px;
border: 1px solid var(--border-color);
position: relative;
gap: 5px;
background: #FFFFFF;
}
.segmented-switch input {
display: none;
}
.segmented-switch label {
flex: 1;
text-align: center;
padding: 10px;
cursor: pointer;
border-radius: 8px;
font-size: 14px;
color: #3f3f3f;
transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
z-index: 2;
border: 1px solid #fff;
font-weight: 500;
}
.segmented-switch input:checked + label {
background: var(--mavi);
border: 1px solid #d6d6d6;
color: #fff;
}



/* 3 SeÃ§enekli segmented-control */
.segmented-control.three-options .control-indicator {
width: calc(33.333% - 4px);
}
.segmented-control.three-options input#sort_sira:checked ~ .control-indicator {
transform: translateX(100%);
}
.segmented-control.three-options input#sort_sehir:checked ~ .control-indicator {
transform: translateX(200%);
}

/* Åehir Popup */
.sehir-popup {
position: absolute;
top: calc(100% + 5px);
right: 4px;
left: auto;
width: 100%;
max-width: 220px;
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 8px;
box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
max-height: 300px;
overflow-y: auto;
z-index: 1000;
padding: 0 6px 6px 6px;
}
.sehir-option {
padding: 10px 12px;
font-size: 14px;
font-weight: 500;
color: #374151;
cursor: pointer;
border-radius: 6px;
transition: background 0.2s, color 0.2s;
text-align: left;
}
.sehir-option:hover {
background: #f3f4f6;
color: var(--mavi);
}
.sehir-option.all-cities-option {
position: sticky;
top: 0;
background: #fff;
z-index: 10;
border-bottom: 1px solid #e5e7eb;
border-radius: 0;
margin-bottom: 4px;
padding-top: 12px;
padding-bottom: 12px;
font-weight: 600;
color: var(--mavi);
}

.calculator-card h3 { font-size: 14px; text-align: center; margin-bottom: 15px; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.city-grid a {
display: block; padding: 8px 4px; text-align: center; background: var(--bg-color);
color: var(--text-main); font-size: 12px; font-weight: 500; text-decoration: none;
border-radius: 6px; border: 1px solid var(--border-color); transition: all 0.2s;
}
.city-grid a:hover { background: var(--mavi); border-color: var(--mavi); color: #fff; }

.all-cities-btn {
display: block;
width: 100%;
text-align: center;
padding: 10px;
margin-top: 12px;
background: var(--mavi);
color: #fff;
font-size: 13px;
font-weight: 600;
text-decoration: none;
border-radius: 6px;
transition: opacity 0.2s;
border: 1px solid transparent;
}
.all-cities-btn:hover {opacity: 0.9;}

.dgs-info-list {margin: 0 0 15px 20px;padding-left: 10px;line-height: 1.2;}
li { margin-bottom: 12px;font-size: 18px;}

/* DGS Anasayfa (index.php) Özel Stilleri */
.all-placements { margin-top: 15px; }
.placements-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 15px; }
.placement-item { background: #fff; border: 1px solid var(--border-color); padding: 10px; border-radius:6px; font-size: 16px; color: var(--text-main); text-decoration: none; transition: all 0.2s; display: flex; align-items: center; justify-content: space-between; font-weight: 400; position:relative; }
.placement-item:hover { border-color: var(--primary-color); background: #f8fafc; color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.placement-item::after { content: ">"; font-size: 20px; position: absolute; right: 10px; font-family: cursive; color: #dfdfdf; }
@media (max-width: 500px) { .placements-grid { grid-template-columns: 1fr; } }



@media (max-width: 600px) {
.puanlar td:nth-child(1) div:nth-child(1) {max-width: 240px;}
}
@media (max-width: 500px) {
.puanlar th {max-width: 42px;white-space: nowrap;overflow: hidden;text-overflow: clip;font-size:10px;}
.metin p, li {font-size: 15px;} 
.puanlar td:nth-child(2){font-size: 11px}
.puanlar td {font-size: 14px;}
.puanlar td:nth-child(1) :is(div:nth-child(1), div:nth-child(2)) {max-width:150px;font-size: 12px;}
.puanlar th:is(:nth-child(3), :nth-child(4), :nth-child(5)) div {font-size: 14px}
.segmented-control label { font-size: 12px;}
.segmented-switch label { padding: 8px 5px; font-size: 11px; }
.calculator-card {padding: 20px 10px;}
.placement-item {padding:10px;font-size: 14px;}
.placements-grid {gap:9px;}
}

@media (max-width: 400px) {
.puanlar td {font-size: 11px;}
.puanlar th:is(:nth-child(3), :nth-child(4), :nth-child(5)) div {font-size: 12px}
.puanlar td:nth-child(1) :is(div:nth-child(1), div:nth-child(2)) {max-width:120px;font-size: 12px;}
.fav-popup-table td {font-size: 11px;}
.uni-table td {font-size: 14px;}

}
