/* .tr belgeleri — özel sayfa düzeni */
.tr-docs .dt-nav { margin-bottom: 0; }

.tr-docs-banner {
    padding: 2.5rem 0 2rem;
    background: linear-gradient(135deg, #0d1018 0%, #1a1520 40%, #131722 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}
.tr-docs-banner::after {
    content: ""; position: absolute; right: -10%; top: -40%;
    width: 50%; height: 140%;
    background: radial-gradient(circle, rgba(227, 10, 23, 0.12), transparent 65%);
    pointer-events: none;
}
.tr-docs-banner__inner {
    display: grid; gap: 1.5rem; align-items: center;
    position: relative; z-index: 1;
}
@media (min-width: 900px) {
    .tr-docs-banner__inner {
        grid-template-columns: auto 1fr auto;
        gap: 2rem;
    }
}
.tr-docs-banner__flag {
    display: flex; width: 4px; height: 4.5rem; border-radius: 4px; overflow: hidden;
    box-shadow: 0 0 20px rgba(227, 10, 23, 0.35);
}
.tr-docs-banner__flag-red {
    flex: 1; background: #e30a17;
}
.tr-docs-banner__flag-white {
    flex: 1; background: #fff;
}
.tr-docs-banner__eyebrow {
    display: block; margin-bottom: 0.35rem;
    font-size: 10px; font-weight: 800; letter-spacing: 0.2em;
    text-transform: uppercase; color: #ff8c00;
}
.tr-docs-banner__title {
    margin: 0 0 0.5rem; font-size: clamp(1.65rem, 4vw, 2.25rem);
    font-weight: 900; color: #fff; letter-spacing: -0.04em; line-height: 1.1;
}
.tr-docs-banner__sub {
    margin: 0; font-size: 14px; line-height: 1.6;
    color: rgba(148, 163, 184, 0.9); max-width: 32rem;
}
.tr-docs-banner__stats {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.65rem;
    width: 100%;
}
@media (min-width: 900px) {
    .tr-docs-banner__stats {
        width: auto;
        flex: 0 0 auto;
    }
}
.tr-docs-stat {
    flex: 1 1 0;
    min-width: 5.5rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.85rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
.tr-docs-stat b {
    display: block; font-size: 1.35rem; font-weight: 900; color: #ff8c00;
}
.tr-docs-stat small {
    font-size: 9px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: rgba(148, 163, 184, 0.75);
}

.tr-docs-body { padding: 2rem 0 3rem; }
.tr-docs-layout {
    display: grid; gap: 1.5rem;
}
@media (min-width: 1100px) {
    .tr-docs-layout {
        grid-template-columns: 300px 1fr;
        gap: 2rem;
        align-items: start;
    }
}

.tr-docs-sidebar {
    display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 1100px) {
    .tr-docs-sidebar { position: sticky; top: 1.5rem; }
}
.tr-docs-form-card {
    padding: 1.35rem; border-radius: 1.15rem;
    background: linear-gradient(165deg, rgba(255, 140, 0, 0.08), rgba(28, 34, 48, 0.95));
    border: 1px solid rgba(255, 140, 0, 0.22);
}
.tr-docs-form-card__icon {
    width: 2.75rem; height: 2.75rem; border-radius: 12px;
    display: grid; place-items: center; margin-bottom: 1rem;
    background: rgba(255, 140, 0, 0.15); color: #ff8c00;
}
.tr-docs-form-card__icon .icon { width: 1.35rem; height: 1.35rem; }
.tr-docs-form-card h2 {
    margin: 0 0 0.65rem; font-size: 1rem; font-weight: 900; color: #fff;
}
.tr-docs-form-card > p {
    margin: 0 0 1rem; font-size: 12px; line-height: 1.55;
    color: rgba(148, 163, 184, 0.9);
}
.tr-docs-form-card__rules {
    list-style: none; margin: 0 0 1rem; padding: 0;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.tr-docs-form-card__rules li {
    display: flex; gap: 0.5rem; align-items: flex-start;
    font-size: 11px; font-weight: 600; color: rgba(226, 232, 240, 0.85);
    line-height: 1.45;
}
.tr-docs-form-card__rules .icon { flex-shrink: 0; color: #4ade80; margin-top: 2px; }
.tr-docs-form-card__dl {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tr-docs-form-card__dl-btn {
    flex: 1 1 calc(50% - 0.25rem);
    display: block;
    text-align: center;
    padding: 0.65rem 0.5rem;
    border-radius: 0.65rem; font-size: 11px; font-weight: 800;
    background: rgba(255, 140, 0, 0.18); color: #ffb347;
    border: 1px solid rgba(255, 140, 0, 0.3); text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.tr-docs-form-card__dl-btn:hover {
    background: #ff8c00; color: #131722;
}
.tr-docs-sidebar__actions {
    display: flex; flex-direction: column; gap: 0.5rem;
}

.tr-docs-trabis-row {
    display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.65rem 0.85rem;
    margin-bottom: 1.25rem; padding: 0.95rem 1rem;
    border-radius: 0.85rem;
    background: rgba(74, 222, 128, 0.08); border: 1px solid rgba(74, 222, 128, 0.22);
}
.tr-docs-trabis-row__main {
    flex: 1 1 14rem; min-width: 0;
}
.tr-docs-trabis-row__label {
    display: block;
    font-size: 11px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.06em; color: #86efac; margin-bottom: 0.35rem;
}
.tr-docs-trabis-row__hint {
    margin: 0; font-size: 12px; line-height: 1.55; color: rgba(187, 247, 208, 0.9);
}
.tr-docs-trabis-row__hint a {
    color: #bbf7d0; font-weight: 800; text-decoration: underline; text-underline-offset: 2px;
}
.tr-docs-trabis-row__hint a:hover { color: #fff; }
.tr-docs-trabis-row__pills {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
}
.tr-docs-trabis-row__cta {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.45rem 0.8rem; border-radius: 999px;
    font-size: 11px; font-weight: 800; color: #131722; text-decoration: none;
    background: #4ade80; white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
}
.tr-docs-trabis-row__cta:hover { background: #86efac; transform: translateY(-1px); }
.tr-docs-trabis-row__cta .icon { flex-shrink: 0; }
.tr-docs-trabis-pill {
    padding: 0.35rem 0.75rem; border: none; border-radius: 999px;
    background: rgba(74, 222, 128, 0.15); color: #bbf7d0;
    font-size: 12px; font-weight: 800; cursor: pointer; font-family: inherit;
    transition: background 0.2s, transform 0.15s;
}
.tr-docs-trabis-pill:hover {
    background: rgba(74, 222, 128, 0.28); transform: translateY(-1px);
}

.tr-docs-explorer {
    border-radius: 1.15rem;
    background: rgba(28, 34, 48, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.tr-docs-explorer__head {
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}
.tr-docs-explorer__head h2 {
    margin: 0 0 0.85rem; font-size: 1rem; font-weight: 900; color: #fff;
}
.tr-docs-filters {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.tr-docs-filter {
    padding: 0.4rem 0.75rem; border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px; background: transparent;
    color: rgba(148, 163, 184, 0.9); font-size: 11px; font-weight: 700;
    cursor: pointer; font-family: inherit;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tr-docs-filter:hover { color: #fff; border-color: rgba(255, 140, 0, 0.35); }
.tr-docs-filter.is-active {
    background: #ff8c00; color: #131722; border-color: #ff8c00;
}

.tr-docs-split {
    display: grid;
    align-items: stretch;
}
@media (min-width: 768px) {
    .tr-docs-split { grid-template-columns: minmax(200px, 240px) 1fr; }
}

.tr-docs-list {
    display: flex; flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 2;
}
@media (min-width: 768px) {
    .tr-docs-list {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.06);
    }
}
.tr-docs-list__item {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.5rem; width: 100%; padding: 0.75rem 1rem;
    border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent; text-align: left; cursor: pointer;
    font-family: inherit; transition: background 0.15s;
}
.tr-docs-list__item:last-child { border-bottom: none; }
.tr-docs-list__item:hover { background: rgba(255, 255, 255, 0.04); }
.tr-docs-list__item.is-active {
    background: rgba(255, 140, 0, 0.12);
    box-shadow: inset 3px 0 0 #ff8c00;
}
.tr-docs-list__item.is-hidden { display: none; }
.tr-docs-list__ext {
    font-size: 13px; font-weight: 800; color: #e2e8f0;
}
.tr-docs-list__item.is-active .tr-docs-list__ext { color: #ff8c00; }
.tr-docs-list__tag {
    font-size: 9px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.04em; padding: 0.2rem 0.45rem; border-radius: 4px;
}
.tr-docs-list__tag--trabis { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.tr-docs-list__tag--required { background: rgba(255, 140, 0, 0.15); color: #ffb347; }
.tr-docs-list__tag--conditional { background: rgba(96, 165, 250, 0.15); color: #93c5fd; }
.tr-docs-list__tag--special { background: rgba(192, 132, 252, 0.15); color: #d8b4fe; }

.tr-docs-detail {
    position: relative; padding: 1.35rem 1.5rem; min-height: 12rem;
}
.tr-docs-detail__pane {
    display: none !important;
}
.tr-docs-detail__pane.is-active {
    display: block !important;
    animation: tr-docs-fade 0.2s ease;
}
.tr-docs-detail__pane[hidden] {
    display: none !important;
}
@keyframes tr-docs-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.tr-docs-detail__title {
    margin: 0 0 0.65rem; font-size: 1.05rem; font-weight: 800; color: #fff;
}
.tr-docs-detail__ext { color: #ff8c00; }
.tr-docs-detail__badge {
    display: inline-block; margin-bottom: 1rem;
    padding: 0.3rem 0.65rem; border-radius: 6px;
    font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
}
.tr-docs-detail__badge--trabis { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.tr-docs-detail__badge--required { background: rgba(255, 140, 0, 0.15); color: #ffb347; }
.tr-docs-detail__badge--conditional { background: rgba(96, 165, 250, 0.15); color: #93c5fd; }
.tr-docs-detail__badge--special { background: rgba(192, 132, 252, 0.15); color: #d8b4fe; }
.tr-docs-detail .dt-trabis-whois--inline {
    margin: -0.35rem 0 1rem;
    padding: 0 0 0 0.15rem;
}
.tr-docs-detail__trabis {
    margin: 0 0 0.65rem; padding: 1rem 1.1rem; border-radius: 0.75rem;
    font-size: 14px; font-weight: 600; line-height: 1.65;
    background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.25);
    color: #86efac;
}
.tr-docs-detail__p {
    margin: 0 0 0.85rem; font-size: 14px; line-height: 1.7;
    color: rgba(203, 213, 225, 0.92);
}
.tr-docs-detail__list {
    margin: 0 0 1rem; padding-left: 1.2rem;
    font-size: 13px; font-weight: 600; color: rgba(226, 232, 240, 0.88);
    line-height: 1.65;
}
.tr-docs-detail__list li::marker { color: #ff8c00; }
.tr-docs-detail__note {
    padding: 0.9rem 1rem; border-radius: 0.75rem; margin-bottom: 1rem;
    font-size: 13px; line-height: 1.6;
    background: rgba(255, 140, 0, 0.08); border-left: 3px solid #ff8c00;
    color: rgba(255, 220, 180, 0.95);
}
.tr-docs-detail__ext-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 13px; font-weight: 800; color: #ff8c00; text-decoration: none;
}
.tr-docs-detail__ext-link:hover { text-decoration: underline; }

.tr-docs-em {
    font-style: normal;
    font-weight: 800;
    color: #ffb347;
    background: rgba(255, 140, 0, 0.12);
    padding: 0.1em 0.35em;
    border-radius: 0.25em;
}
.tr-docs-detail__trabis .tr-docs-em {
    color: #bbf7d0;
    background: rgba(74, 222, 128, 0.15);
}

.tr-docs-dl-wrap {
    position: relative;
    display: inline;
    white-space: normal;
}
.tr-docs-dl-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.1em 0.35em;
    border: none;
    border-radius: 0.25em;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    color: #ffb347;
    background: rgba(255, 140, 0, 0.12);
    vertical-align: baseline;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.tr-docs-dl-trigger:hover,
.tr-docs-dl-wrap.is-open .tr-docs-dl-trigger {
    color: #fff;
    background: rgba(255, 140, 0, 0.35);
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.25);
}
.tr-docs-dl-trigger__icon {
    width: 0.85rem;
    height: 0.85rem;
    opacity: 0.85;
    transition: transform 0.2s;
}
.tr-docs-dl-wrap.is-open .tr-docs-dl-trigger__icon {
    transform: rotate(180deg);
}
.tr-docs-detail__trabis .tr-docs-dl-trigger {
    color: #bbf7d0;
    background: rgba(74, 222, 128, 0.18);
}
.tr-docs-detail__trabis .tr-docs-dl-trigger:hover,
.tr-docs-detail__trabis .tr-docs-dl-wrap.is-open .tr-docs-dl-trigger {
    color: #fff;
    background: rgba(74, 222, 128, 0.35);
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.25);
}
.tr-docs-dl-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 40;
    min-width: 11rem;
    padding: 0.5rem;
    border-radius: 0.75rem;
    background: #1c2230;
    border: 1px solid rgba(255, 140, 0, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.tr-docs-dl-menu[hidden] {
    display: none !important;
}
.tr-docs-dl-menu__label {
    display: block;
    padding: 0.35rem 0.6rem 0.15rem;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(148, 163, 184, 0.8);
}
.tr-docs-dl-menu__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.5rem;
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.tr-docs-dl-menu__item:hover {
    background: rgba(255, 140, 0, 0.15);
    color: #ff8c00;
}
.tr-docs-dl-menu__item .icon {
    color: #ff8c00;
    flex-shrink: 0;
}

.tr-docs-steps {
    padding: 2.5rem 0; background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.tr-docs-steps__title {
    margin: 0 0 1.5rem; font-size: 1.2rem; font-weight: 900; color: #fff;
    text-align: center;
}
.tr-docs-steps__grid {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.tr-docs-step-card {
    padding: 1.25rem; border-radius: 1rem;
    background: rgba(28, 34, 48, 0.85); border: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
}
.tr-docs-step-card__num {
    display: inline-flex; width: 2rem; height: 2rem; margin-bottom: 0.65rem;
    align-items: center; justify-content: center; border-radius: 50%;
    background: #ff8c00; color: #131722; font-size: 12px; font-weight: 900;
}
.tr-docs-step-card h3 {
    margin: 0 0 0.35rem; font-size: 14px; font-weight: 800; color: #fff;
}
.tr-docs-step-card p {
    margin: 0; font-size: 12px; color: rgba(148, 163, 184, 0.85); line-height: 1.5;
}
