/* TYT-AYT Net Sihirbazı — YÖK Atlas net-sihirbazi */

.page-netsihirbaz {
    overflow-x: clip;
}
.page-netsihirbaz #icerik {
    overflow-x: clip;
}

.net-hero {
    padding: .85rem 0 .65rem;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(6, 182, 212, .08), transparent 55%),
        linear-gradient(180deg, #f7fafc 0%, #fff 100%);
}
.net-hero__eyebrow {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #0e7490;
    margin-bottom: .25rem;
}
.net-hero__title {
    margin: 0;
    font-size: clamp(1.35rem, 2.8vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--brand-800, #152238);
}
.net-hero__title-main { font-weight: 600; }
.net-hero__lead {
    margin: .3rem 0 0;
    max-width: 62ch;
    font-size: .88rem;
    line-height: 1.4;
    color: var(--ink-600, #475569);
}

.net-panel { padding: 0 0 2.5rem; }
.net-form {
    background: #fff;
    border: 1px solid var(--ink-200, #e2e8f0);
    border-radius: 14px;
    padding: 1rem 1.1rem 1.15rem;
    box-shadow: var(--shadow-sm, 0 4px 18px rgba(15, 23, 42, .05));
}
.net-form__head { margin-bottom: .85rem; }
.net-form__title {
    margin: 0;
    font-size: 1.05rem;
    color: var(--brand-800, #152238);
}
.net-form__sub {
    margin: .35rem 0 0;
    font-size: .9rem;
    color: #64748b;
}
.net-form__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem 1rem;
}
.net-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    min-width: 0;
}
.net-field__label {
    font-size: .82rem;
    font-weight: 600;
    color: #64748b;
}
.net-field__label abbr {
    text-decoration: none;
    color: #dc2626;
}
.net-field__select {
    width: 100%;
    max-width: 100%;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    padding: .72rem .9rem;
    font: inherit;
    font-size: .95rem;
    background: #fff;
    color: var(--brand-800, #152238);
}
.net-field .ss,
.net-field .ss__control {
    min-width: 0;
    max-width: 100%;
}
.net-field .ss__value {
    min-width: 0;
}
.net-table-wrap[hidden],
.net-status[hidden],
.net-pager[hidden] {
    display: none !important;
}
.net-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: flex-end;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid #eef2f7;
}

.net-notice {
    margin: 1rem 0 0;
    padding: .75rem 1rem;
    border-radius: 10px;
    background: #ecfeff;
    color: #155e75;
    font-size: .88rem;
    border: 1px solid #a5f3fc;
}

.net-status {
    margin-top: 1rem;
    padding: .85rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
}
.net-status[data-tone="loading"] { background: #f1f5f9; color: #475569; }
.net-status[data-tone="empty"] { background: #fff7ed; color: #9a3412; }
.net-status[data-tone="error"] { background: #fef2f2; color: #991b1b; }

.net-table-wrap {
    margin-top: 1.25rem;
    background: #fff;
    border: 1px solid var(--ink-200, #e2e8f0);
    border-radius: 16px;
    overflow: hidden;
}
.net-table-meta {
    padding: .85rem 1.1rem;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .85rem;
    align-items: baseline;
    justify-content: space-between;
}
.net-table-meta__title {
    margin: 0;
    font-size: 1rem;
    color: var(--brand-800, #152238);
}
.net-table-meta__info {
    margin: 0;
    font-size: .88rem;
    color: #64748b;
}
.net-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.net-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .86rem;
    min-width: 980px;
}
.net-table th,
.net-table td {
    padding: .65rem .7rem;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
    vertical-align: top;
}
.net-table th {
    position: sticky;
    top: 0;
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .02em;
    white-space: nowrap;
}
.net-table td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.net-table tbody tr:hover { background: #f8fafc; }

.net-pager {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1.1rem;
    border-top: 1px solid #eef2f7;
}
.net-pager__info { font-size: .85rem; color: #64748b; }
.net-pager__btns { display: flex; gap: .4rem; }

.net-about {
    padding: 2rem 0 3.5rem;
    background: #f8fafc;
    border-top: 1px solid #eef2f7;
}
.net-about__title {
    margin: 0 0 .65rem;
    font-size: 1.15rem;
    color: var(--brand-800, #152238);
}
.net-about p {
    margin: 0;
    max-width: 70ch;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 960px) {
    .net-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .net-form__grid { grid-template-columns: 1fr; }
    .net-form__actions { flex-direction: column-reverse; }
    .net-form__actions .btn { width: 100%; }
}

/* —— Program detay (YÖK /detay/{kod}) —— */
.net-detay {
    padding: 1.5rem 0 3.5rem;
    background: #f1f5f9;
}
.net-detay__back { margin: 0 0 1rem; font-size: .9rem; }
.net-detay__back a { color: #0e7490; text-decoration: none; font-weight: 600; }
.net-detay__back a:hover { text-decoration: underline; }
.net-detay__grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 1.15rem;
    align-items: start;
}
.net-side__card,
.net-panel-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .05);
}
.net-side__card { padding: 1.1rem 1.15rem 1.2rem; margin-bottom: .9rem; }
.net-side__card:last-child { margin-bottom: 0; }
.net-side__head { display: block; }
.net-side__badge {
    display: inline-block;
    margin-bottom: .35rem;
    padding: .18rem .5rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.net-side__uni {
    margin: 0;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #64748b;
    text-decoration: none;
    display: block;
}
a.net-side__uni:hover { color: #0e7490; }
.net-side__program {
    margin: .2rem 0 0;
    font-size: 1.02rem;
    line-height: 1.35;
    color: #152238;
}
.net-side__fac { margin: .3rem 0 0; font-size: .85rem; color: #64748b; }
.net-side__kodbar {
    margin: .95rem 0 0;
    padding: .55rem .75rem;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: .84rem;
    font-weight: 600;
}
.net-side__section {
    margin: 0 0 .75rem;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #64748b;
}
.net-side__genel {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: .85rem;
    align-items: start;
}
.net-side__quota-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .35rem;
    padding: .75rem .5rem;
    border: 1px solid #bae6fd;
    border-radius: 14px;
    background: #f8fbff;
}
.net-side__quota-lbl {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #0284c7;
}
.net-side__quota-val {
    font-size: 1.15rem;
    color: #152238;
}
.net-side__quota-sub { font-size: .72rem; color: #64748b; }
.net-side__ring { display: inline-flex; }
.net-side__facts { margin: 0; }
.net-side__fact {
    padding: .45rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.net-side__fact:last-child { border-bottom: 0; }
.net-side__fact dt {
    margin: 0;
    font-size: .72rem;
    color: #94a3b8;
    font-weight: 600;
}
.net-side__fact dd {
    margin: .12rem 0 0;
    font-size: .92rem;
    font-weight: 700;
    color: #152238;
}
.net-side__puan {
    display: inline-block;
    padding: .12rem .45rem;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: .78rem;
}

.net-acc { display: flex; flex-direction: column; gap: .45rem; margin-bottom: .85rem; }
.net-acc__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
    padding: .9rem 1.05rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    font: inherit;
    font-weight: 600;
    font-size: .95rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}
.net-acc__item:hover { border-color: #cbd5e1; }
.net-acc__item.is-active {
    border-color: #38bdf8;
    color: #0369a1;
    background: #f0f9ff;
    box-shadow: 0 0 0 1px #7dd3fc;
}
.net-acc__ico { color: #94a3b8; font-size: 1.1rem; line-height: 1; }
.net-acc__item.is-active .net-acc__ico { color: #0284c7; }

.net-panel-box { padding: 1.15rem 1.2rem 1.4rem; }
.net-panel-box__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1rem;
}
.net-panel-box__title { margin: 0; font-size: 1.12rem; color: #152238; }
.net-panel-box__tools { display: flex; align-items: center; gap: .5rem; }
.net-panel-box__close {
    border: 0;
    background: transparent;
    color: #16a34a;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    padding: .15rem .35rem;
}
.net-panel-box__empty { margin: 0; color: #64748b; }
.net-panel-box__note {
    margin: 1rem 0 0;
    font-size: .8rem;
    color: #94a3b8;
}

.net-quota-table-wrap { overflow-x: auto; }
.net-quota-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
    min-width: 480px;
}
.net-quota-table th,
.net-quota-table td {
    padding: .65rem .5rem;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}
.net-quota-table th { color: #64748b; font-size: .75rem; }
.net-quota-table tfoot th,
.net-quota-table tfoot td { border-top: 1px solid #e2e8f0; color: #152238; }
.net-quota-pill {
    display: inline-block;
    min-width: 2.2rem;
    padding: .15rem .45rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    background: #f1f5f9;
    color: #475569;
}
.net-quota-pill.is-full { background: #dcfce7; color: #166534; }
.net-quota-pill.is-empty { background: #ffedd5; color: #c2410c; }
.net-quota-pill.is-partial { background: #e0f2fe; color: #0369a1; }
.net-doluluk { margin-top: 1.25rem; text-align: center; }
.net-doluluk__title {
    margin: 0 0 .75rem;
    font-size: .95rem;
    color: #334155;
}

.net-kosul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.net-kosul__item {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: .65rem;
    padding: .75rem .85rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
}
.net-kosul__item.is-open { background: #fff7f7; }
.net-kosul__num {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: .85rem;
}
.net-kosul__item--red .net-kosul__num { background: #fee2e2; color: #b91c1c; }
.net-kosul__item--green .net-kosul__num { background: #dcfce7; color: #166534; }
.net-kosul__item--amber .net-kosul__num { background: #fef3c7; color: #b45309; }
.net-kosul__item--blue .net-kosul__num { background: #dbeafe; color: #1d4ed8; }
.net-kosul__item--pink .net-kosul__num { background: #fce7f3; color: #be185d; }
.net-kosul__item--purple .net-kosul__num { background: #ede9fe; color: #6d28d9; }
.net-kosul__item--cyan .net-kosul__num { background: #cffafe; color: #0e7490; }
.net-kosul__item--red { border-color: #fecaca; }
.net-kosul__item--green { border-color: #bbf7d0; }
.net-kosul__item--amber { border-color: #fde68a; }
.net-kosul__item--blue { border-color: #bfdbfe; }
.net-kosul__item--pink { border-color: #fbcfe8; }
.net-kosul__item--purple { border-color: #ddd6fe; }
.net-kosul__text { margin: 0; font-size: .88rem; line-height: 1.5; color: #334155; }
.net-kosul__more {
    margin-top: .4rem;
    border: 0;
    background: none;
    color: #16a34a;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.net-staff-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
    margin-bottom: 1.25rem;
}
.net-staff-table th,
.net-staff-table td {
    padding: .55rem .4rem;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}
.net-staff-table td.num,
.net-staff-table tfoot td { text-align: right; font-weight: 700; color: #1d4ed8; }
.net-staff-chart__title {
    margin: 0 0 .75rem;
    font-size: .95rem;
    color: #334155;
}
.net-staff-chart__body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}
.net-staff-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.net-staff-legend li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .45rem;
    align-items: center;
    font-size: .85rem;
}
.net-staff-legend__dot {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
}
.net-staff-legend__bar {
    height: .35rem;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}
.net-staff-legend__bar span { display: block; height: 100%; border-radius: inherit; }

.net-main__years { display: flex; gap: .35rem; flex-wrap: wrap; }
.net-main__year {
    padding: .3rem .65rem;
    border-radius: 8px;
    border: 1px solid #dbe3ee;
    background: #fff;
    color: #475569;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
}
.net-main__year.is-active {
    background: #0e7490;
    border-color: #0e7490;
    color: #fff;
}
.net-main__meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    background: #f0f9ff;
}
.net-main__meta-item { display: flex; flex-direction: column; gap: .15rem; min-width: 6rem; }
.net-main__meta-lbl {
    font-size: .75rem;
    font-weight: 600;
    color: #0369a1;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.net-main__meta-item strong { font-size: 1.05rem; color: #152238; }
.net-nets { margin-bottom: 1.35rem; }
.net-nets__title {
    margin: 0 0 .55rem;
    font-size: .95rem;
    color: #0e7490;
    padding-bottom: .35rem;
    border-bottom: 2px solid #67e8f9;
}
.net-nets__table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.net-nets__table th,
.net-nets__table td {
    padding: .55rem .35rem;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}
.net-nets__table th { color: #64748b; font-size: .78rem; font-weight: 700; }
.net-nets__table td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.net-table tbody tr.is-clickable { cursor: pointer; }
.net-table tbody tr.is-clickable:hover { background: #ecfeff; }
.net-table__link { color: inherit; text-decoration: none; font-weight: 600; }
.net-table__link:hover { color: #0e7490; text-decoration: underline; }
.net-table__prog-cell {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
}
.net-table__prog-cell .net-table__link { flex: 1; min-width: 0; }
.net-table__detail {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 8px;
    border: 1px solid #cfe8f3;
    background: #f0f9ff;
    color: #0e7490;
    text-decoration: none;
}
.net-table__detail:hover {
    background: #e0f2fe;
    border-color: #7dd3fc;
    color: #0369a1;
}
.net-table__detail .icon { width: 1rem; height: 1rem; }

@media (max-width: 960px) {
    .net-detay__grid { grid-template-columns: 1fr; }
    .net-side__genel { grid-template-columns: 1fr; }
    .net-staff-chart__body { grid-template-columns: 1fr; }
}
