/* YÖK Atlas WordPress Tablo Stilleri */
.yokatlas-container {
    width: 100%;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1a1a1a;
}

/* Filtreleme Formu */
.yokatlas-filter-form {
    background: #fbfbfb;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.yokatlas-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.yokatlas-form-group {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
}

.yokatlas-form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
}

.yokatlas-form-group input,
.yokatlas-form-group select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.yokatlas-form-group input:focus,
.yokatlas-form-group select:focus {
    border-color: #0073aa;
}

.submit-btn-group {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.yokatlas-search-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.yokatlas-search-btn:hover {
    background: #005177;
}

.yokatlas-clear-btn {
    background: #e0e0e0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
}

.yokatlas-clear-btn:hover {
    background: #d0d0d0;
}

/* Tablo */
.yokatlas-table-responsive {
    overflow-x: auto;
    border: 1px solid #111;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.yokatlas-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    text-align: left;
}

/* Th ve Td borderları */
.yokatlas-data-table th,
.yokatlas-data-table td {
    border: 1px solid #222;
    padding: 10px 12px;
    vertical-align: middle;
}

/* Linkler */
.yokatlas-data-table td a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}
.yokatlas-data-table td a:hover {
    text-decoration: underline;
}

/* Header Boyaması */
.yokatlas-data-table th {
    background-color: #f5d370 !important; /* Gold/Yellow background from image */
    color: #111 !important;
    font-weight: bold;
    text-align: center;
    font-size: 15px;
}

/* Alignment */
.text-center {
    text-align: center;
}

.text-bold {
    font-weight: bold;
}

/* Column Widths & Spacing */
.col-uni {
    min-width: 250px;
}
.col-bolum {
    min-width: 220px;
}
.col-puan {
    width: 80px;
}
.col-yil {
    width: 70px;
}
.col-kont, .col-yer {
    width: 70px;
}
.col-taban {
    width: 110px;
}
.col-sira {
    width: 110px;
}

/* Alternating Row Colors */
.yokatlas-data-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.yokatlas-data-table tbody tr:nth-child(even) {
    background-color: #fbf9f4; /* Off-white from image */
}

/* Hover Effect */
.yokatlas-data-table tbody tr:hover {
    background-color: #f2ede0;
}

/* Sayfalama (Pagination) */
.yokatlas-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 25px;
}

.yokatlas-pagination a,
.yokatlas-pagination span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #0073aa;
    font-size: 14px;
    background: #fff;
    transition: all 0.2s;
}

.yokatlas-pagination a:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

.yokatlas-pagination .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
    font-weight: bold;
}

.yokatlas-pagination .dots {
    border: none;
    background: none;
    color: #777;
    cursor: default;
}

/* Accordion (Details/Summary) */
.yokatlas-accordion-wrapper {
    margin-top: 20px;
}

.yokatlas-accordion {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.yokatlas-accordion summary {
    padding: 15px 20px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    background: #fafafa;
    border-bottom: 1px solid transparent;
    list-style: none; /* Standart oku kaldır */
    position: relative;
    outline: none;
    user-select: none;
}

.yokatlas-accordion summary::-webkit-details-marker {
    display: none; /* Safari için oku kaldır */
}

/* Özel Ok Ekleme */
.yokatlas-accordion summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
    color: #777;
}

.yokatlas-accordion[open] summary {
    border-bottom: 1px solid #ddd;
    background: #fdfaf0; /* Hafif sarımsı arka plan */
}

.yokatlas-accordion[open] summary::after {
    content: "-";
}

.yokatlas-accordion .accordion-content {
    padding: 15px 20px;
    font-size: 14px;
    line-height: 1.6;
    background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .yokatlas-form-row {
        flex-direction: column;
        align-items: stretch;
    }
    .submit-btn-group {
        justify-content: flex-end;
    }
}
