.ymk-search { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; align-items: center; }
.ymk-search input[type="search"] { flex: 1 1 220px; min-width: 0; padding: .55rem .75rem; border: 1px solid #ccd1d6; border-radius: 6px; }
.ymk-search button { padding: .55rem 1.1rem; border: 0; border-radius: 6px; background: #1d4e89; color: #fff; cursor: pointer; }
.ymk-search button:hover { background: #163c6a; }
.ymk-clear { font-size: .9rem; }
.ymk-count { margin: 0 0 .5rem; font-size: .9rem; color: #666; }

/* Tablo: her karar iki satırdan oluşur (bilgiler + tam genişlikte özet) */
.ymk-table-wrap { overflow-x: auto; }
.ymk-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ymk-table th, .ymk-table td { padding: .55rem .65rem; text-align: left; vertical-align: top; }
.ymk-table thead th { background: #f3f5f7; white-space: nowrap; border-bottom: 2px solid #d7dbe0; }
.ymk-table thead th a { color: inherit; text-decoration: none; display: block; }
.ymk-table thead th a:hover { text-decoration: underline; }
.ymk-table thead th.is-active { background: #e6ecf4; }
.ymk-arrow { font-size: .75em; color: #999; }
.ymk-table thead th.is-active .ymk-arrow { color: inherit; }

.ymk-item { cursor: pointer; border-bottom: 1px solid #e3e6ea; }
.ymk-item:hover { background: #f8fafc; }
.ymk-main td { padding-bottom: .15rem; }
.ymk-court a { font-weight: 600; text-decoration: none; }
.ymk-nowrap { white-space: nowrap; }
.ymk-ozet-row td { padding-top: .15rem; padding-bottom: .8rem; }
.ymk-ozet { display: block; font-size: .9rem; line-height: 1.55; color: #444; }
.ymk-read { display: inline-block; margin-top: .3rem; font-size: .85rem; text-decoration: none; }
.ymk-read:hover { text-decoration: underline; }

.ymk-pagination { margin-top: 1rem; display: flex; gap: .35rem; flex-wrap: wrap; }
.ymk-pagination .page-numbers { padding: .35rem .7rem; border: 1px solid #d7dbe0; border-radius: 4px; text-decoration: none; }
.ymk-pagination .current { background: #1d4e89; color: #fff; border-color: #1d4e89; }
.ymk-empty { padding: 1rem; background: #f8fafc; border-radius: 6px; }

/* Dar ekranlarda (telefon) her karar bir kart olarak görünür */
@media (max-width: 600px) {
	.ymk-table thead { display: none; }
	.ymk-table, .ymk-table tbody, .ymk-table tr, .ymk-table td { display: block; width: 100%; }
	.ymk-item { border: 1px solid #e3e6ea; border-radius: 6px; margin-bottom: .75rem; padding: .35rem 0; }
	.ymk-table td { padding: .2rem .8rem; }
	.ymk-main td::before { content: attr(data-label) ": "; font-weight: 600; color: #555; }
	.ymk-ozet-row td { padding-top: .4rem; }
}
