@charset "UTF-8";

.tzq-dk-page,
.tzq-dk-sayfa-portal,
.tzq-kitap-portal-wrap {
    box-sizing: border-box;
    --tzq-primary: var(--tzq-indigo-600);
    --tzq-primary-dark: var(--tzq-indigo-700);
    --tzq-primary-light: var(--tzq-indigo-300);
    --tzq-primary-rgb: 79, 70, 229;
}

.tzq-dk-page *,
.tzq-dk-sayfa-portal * {
    box-sizing: inherit;
}

.tzq-dk-kitap-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1280px;
    width: 100%;
    gap: var(--tzq-spacing-5, 20px);
}

.tzq-dk-hero-cover-wrap {
    position: relative;
    width: 100%;
    max-width: 150px;
    aspect-ratio: 3/4;
    border-radius: 4px 12px 12px 4px;
    background: var(--tzq-bg-secondary, #f1f5f9);
    overflow: visible;
    z-index: 1;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.15),
        1px 1px 3px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.45s ease;
}

.tzq-dk-hero-cover-wrap::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    right: -4px;
    width: 6px;
    background: repeating-linear-gradient(to bottom, #cbd5e1, #cbd5e1 1px, #fdfdfa 1px, #fdfdfa 3px);
    border: 1px solid #cbd5e1;
    border-left: none;
    border-radius: 0 8px 8px 0;
    z-index: -1;
    box-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.08),
        2px 2px 4px rgba(0, 0, 0, 0.05);
    transition: right 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tzq-dk-hero-cover-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px 12px 12px 4px;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.16) 0%,
            rgba(255, 255, 255, 0.08) 25%,
            rgba(255, 255, 255, 0.0) 40%,
            rgba(255, 255, 255, 0.0) 100%),
        linear-gradient(to right,
            rgba(0, 0, 0, 0.28) 0%,
            rgba(0, 0, 0, 0.12) 3%,
            rgba(0, 0, 0, 0.0) 6%,
            rgba(255, 255, 255, 0.08) 8%,
            rgba(0, 0, 0, 0.0) 10%,
            rgba(0, 0, 0, 0.18) 11.5%,
            rgba(255, 255, 255, 0.14) 12%,
            rgba(0, 0, 0, 0.0) 13.5%,
            rgba(0, 0, 0, 0.0) 97%,
            rgba(0, 0, 0, 0.15) 100%);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}



.tzq-dk-hero-meta {
    padding: 0 !important;
    margin-bottom: var(--tzq-spacing-4);
}

.tzq-dk-hero-actions {
    margin-top: var(--tzq-spacing-5);
    padding: 0;
    border-top: none !important;
    background: transparent !important;
    display: flex;
    gap: var(--tzq-spacing-2);
    flex-wrap: wrap;
}

.tzq-dk-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border-radius: 4px 12px 12px 4px;
    display: block;
}



.tzq-dk-cover-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tzq-spacing-3);
    color: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.tzq-dk-cover-fallback svg {
    width: 64px;
    height: 64px;
    opacity: 0.9;
}

.tzq-dk-cover-fallback span {
    font-size: var(--tzq-text-sm);
    font-weight: var(--tzq-font-bold);
    letter-spacing: 0.5px;
}

.tzq-dk-meta-table {
    padding: var(--tzq-spacing-4);
    display: flex;
    flex-wrap: wrap;
    gap: var(--tzq-spacing-2);
}

.tzq-dk-meta-pill {
    display: flex;
    flex-direction: column;
    padding: var(--tzq-spacing-2) var(--tzq-spacing-2-5);
    background: rgba(241, 245, 249, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--tzq-radius-md);
    flex: 1 1 80px;
    min-width: 0;
}

.tzq-dk-meta-pill:hover {
    background: #fff;
    border-color: var(--tzq-primary-light);
}

.tzq-dk-meta-pill.full-width {
    flex: 1 1 100%;
}

.tzq-dk-meta-pill-label {
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-semibold);
    text-transform: uppercase;
    color: var(--tzq-text-muted);
    letter-spacing: 0.05em;
    margin-bottom: var(--tzq-spacing-1);
}

.tzq-dk-meta-pill-value {
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-bold);
    color: var(--tzq-text-primary);
    display: flex;
    align-items: center;
    gap: var(--tzq-spacing-1-5);
    word-break: break-word;
}

.tzq-dk-meta-pill-value.highlight {
    color: var(--tzq-success-dark, #047857);
}

.tzq-dk-meta-pill-value.highlight-primary {
    color: var(--tzq-primary-dark);
}

.tzq-dk-actions {
    padding: 0 var(--tzq-spacing-6) var(--tzq-spacing-6);
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-3);
}

.tzq-dk-board-title {
    display: flex;
    align-items: center;
    gap: var(--tzq-spacing-3);
    margin: 0;
    font-size: var(--tzq-text-lg);
    font-weight: var(--tzq-font-extrabold);
    color: var(--tzq-text-primary);
    letter-spacing: -0.02em;
}

.tzq-dk-board-title svg {
    color: var(--tzq-primary);
}

.tzq-dk-board-badge {
    background: var(--tzq-bg-secondary);
    color: var(--tzq-text-secondary);
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-bold);
    padding: var(--tzq-spacing-1) var(--tzq-spacing-3);
    border: 1px solid var(--tzq-border-light);
    border-radius: var(--tzq-radius-md);
}

.tzq-dk-board-solved-badge {
    background: rgba(var(--tzq-success-rgb), 0.15);
    color: var(--tzq-success-dark, #047857);
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-bold);
    padding: var(--tzq-spacing-1) var(--tzq-spacing-3);
    border-radius: var(--tzq-radius-md);
}

.tzq-dk-search-box {
    position: relative;
    flex: 1 1 250px;
    max-width: 480px;
    width: 100%;
}

.tzq-dk-search-box svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tzq-text-subtle, #94a3b8);
    width: 20px;
    height: 20px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.tzq-dk-search-input {
    width: 100%;
    height: 52px;
    padding: 0 20px 0 52px;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    background: var(--tzq-bg-secondary);
    font-size: var(--tzq-text-base);
    color: var(--tzq-text-primary);
    font-weight: var(--tzq-font-bold);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tzq-dk-search-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--tzq-primary);
    box-shadow: 0 10px 25px -5px rgba(var(--tzq-primary-rgb), 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.01);
    transform: translateY(-1px);
}

.tzq-dk-search-input:focus+svg {
    color: var(--tzq-primary);
}

.tzq-dk-unit-list {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-content: space-between;
}

.tzq-dk-unit-list {}

.tzq-dk-unit-link {
    display: inline-flex;
    align-items: center;
    gap: var(--tzq-spacing-2);
    padding: var(--tzq-spacing-2) var(--tzq-spacing-4);
    color: #334155 !important;
    background: #fff;
    border: 1px solid var(--tzq-primary);
    border-radius: var(--tzq-radius-md);
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-bold);
    text-decoration: none !important;
    justify-content: space-between;
}

.tzq-dk-unit-link-pages {
    background: #fff;
    padding: var(--tzq-spacing-0-5) var(--tzq-spacing-2);
    font-size: var(--tzq-text-xs);
    color: #000000;
    border: 1px solid var(--tzq-border-light);
    border-radius: var(--tzq-radius-sm);
}

.tzq-dk-unit-link:hover {
    background: rgba(var(--tzq-primary-rgb), 0.1);
    border-color: var(--tzq-primary-light);
    color: var(--tzq-primary-dark);
}

.tzq-dk-unit-link:hover .tzq-dk-unit-link-pages {
    background: var(--tzq-primary);
    color: #fff;
    border-color: var(--tzq-primary);
}

.tzq-dk-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(65px, 2fr));
    gap: var(--tzq-spacing-4);
}

.tzq-dk-page-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    background: var(--tzq-bg-secondary);
    border: 1px solid var(--tzq-border-light);
    border-radius: var(--tzq-radius-lg);
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tzq-dk-page-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, var(--tzq-primary-dark), #120324);
    opacity: 0;
}

.tzq-dk-page-btn__num {
    font-size: var(--tzq-text-2xl);
    font-weight: var(--tzq-font-extrabold);
    color: var(--tzq-text-secondary);
    z-index: 1;
}

.tzq-dk-page-btn__label {
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-semibold);
    text-transform: uppercase;
    color: var(--tzq-text-muted);
    margin-top: var(--tzq-spacing-1);
    z-index: 1;
}

/* Dynamically styled page label to reduce HTML page payload */
.tzq-dk-page-btn::after {
    content: "SAYFA";
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-semibold);
    text-transform: uppercase;
    color: var(--tzq-text-muted);
    margin-top: var(--tzq-spacing-1);
    z-index: 1;
}

.tzq-dk-page-btn.has-image::after {
    color: #16a34a;
}

.tzq-dk-page-btn.unsolved::after {
    color: #94a3b8;
}

.tzq-dk-page-btn:hover::after {
    color: #fff !important;
}


.tzq-dk-page-btn__dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--tzq-success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--tzq-success);
}

.tzq-dk-page-btn.has-image {
    background: #f0fdf4;
    border-color: #bbf7d0;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.06), inset 0 2px 0 rgba(255, 255, 255, 1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tzq-dk-page-btn.has-image .tzq-dk-page-btn__num {
    color: #15803d;
}

.tzq-dk-page-btn.has-image .tzq-dk-page-btn__label {
    color: #16a34a;
}

.tzq-dk-page-btn.unsolved {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    opacity: 0.65;
    box-shadow: none;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tzq-dk-page-btn.unsolved .tzq-dk-page-btn__num {
    color: #94a3b8;
}

.tzq-dk-page-btn.unsolved .tzq-dk-page-btn__label {
    color: #94a3b8;
}

.tzq-dk-page-btn.unsolved:hover {
    opacity: 1;
    border-style: solid;
    border-color: var(--tzq-primary);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.tzq-dk-page-btn:hover::before {
    opacity: 1;
}

.tzq-dk-page-btn:hover .tzq-dk-page-btn__num,
.tzq-dk-page-btn:hover .tzq-dk-page-btn__label {
    color: #fff;
}

.tzq-dk-page-btn.hidden {
    display: none !important;
}

.tzq-dk-empty-state {
    text-align: center;
    padding: var(--tzq-spacing-12) var(--tzq-spacing-6);
    background: var(--tzq-bg-secondary);
    margin: var(--tzq-spacing-8);
    border: 1px dashed var(--tzq-border-medium);
}

.tzq-dk-empty-state__icon {
    font-size: var(--tzq-text-5xl);
    margin-bottom: var(--tzq-spacing-4);
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.tzq-dk-empty-state__title {
    font-size: var(--tzq-text-2xl);
    font-weight: var(--tzq-font-extrabold);
    color: var(--tzq-text-primary);
    margin: 0 0 var(--tzq-spacing-2) 0;
}

.tzq-dk-empty-state__desc {
    font-size: var(--tzq-text-base);
    color: var(--tzq-text-muted);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

.tzq-dk-seo-block {
    padding: var(--tzq-spacing-8);
    background: rgba(79, 70, 229, 0.03);
    border-top: 1px solid var(--tzq-border-light);
}

.tzq-dk-seo-block h2 {
    font-size: var(--tzq-text-xl);
    font-weight: var(--tzq-font-extrabold);
    color: var(--tzq-text-primary);
    margin: 0 0 var(--tzq-spacing-3) 0;
}

.tzq-dk-seo-block p {
    font-size: var(--tzq-text-sm);
    line-height: 1.7;
    color: var(--tzq-text-secondary);
    margin: 0 0 var(--tzq-spacing-3) 0;
}

.tzq-dk-seo-block p:last-child {
    margin-bottom: 0;
}

.tzq-dk-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--tzq-spacing-2);
    padding: var(--tzq-spacing-2-5);
    margin-bottom: var(--tzq-spacing-2-5);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-semibold);
}

.tzq-dk-breadcrumb a {
    color: var(--tzq-text-muted);
    text-decoration: none;
}

.tzq-dk-breadcrumb a:hover {
    color: var(--tzq-primary);
}

.tzq-dk-breadcrumb svg {
    width: 14px;
    height: 14px;
    color: var(--tzq-border-medium);
}

.tzq-dk-breadcrumb span {
    color: var(--tzq-primary-dark);
    font-weight: var(--tzq-font-bold);
    background: rgba(var(--tzq-primary-rgb), 0.1);
    padding: var(--tzq-spacing-1) var(--tzq-spacing-3);
}

.tzq-dk-sayfa-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--tzq-spacing-2-5);
    padding-bottom: var(--tzq-spacing-16);
    max-width: 1400px;
    margin: 0 auto;
}

.tzq-dk-page-sidebar {
    position: sticky;
    /* top: 100px; */
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
    padding: 0 !important;
}

.tzq-dk-page-sidebar__header {
    display: flex;
    align-items: center;
    gap: var(--tzq-spacing-3);
    padding: var(--tzq-spacing-2-5);
    border-bottom: 1px solid var(--tzq-border-light);
    background: rgba(255, 255, 255, 0.6);
}

.tzq-dk-page-sidebar__title {
    font-size: var(--tzq-text-xl);
    font-weight: var(--tzq-font-extrabold);
    margin: 0 !important;
    color: var(--tzq-text-primary);
}

.tzq-dk-page-sidebar__search {
    padding: var(--tzq-spacing-2-5);
    border-bottom: 1px solid var(--tzq-border-light);
    background: #fff;
}

.tzq-dk-page-no-input {
    width: 100%;
    height: 40px;
    padding: 0 var(--tzq-spacing-4);
    border: 1px solid var(--tzq-border-light);
    background: var(--tzq-bg-secondary);
    font-size: var(--tzq-text-sm);
    font-weight: var(--tzq-font-semibold);
    color: var(--tzq-text-primary);
}

.tzq-dk-page-no-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--tzq-primary);
    box-shadow: 0 0 0 3px rgba(var(--tzq-primary-rgb), 0.1);
}

.tzq-dk-page-sidebar__list {
    flex: 1;
    overflow-y: auto;
    padding: var(--tzq-spacing-3);
}

.tzq-dk-page-sidebar__list::-webkit-scrollbar {
    width: 6px;
}

.tzq-dk-page-sidebar__list::-webkit-scrollbar-track {
    background: transparent;
}

.tzq-dk-page-sidebar__list::-webkit-scrollbar-thumb {
    background: var(--tzq-border-medium);
    border-radius: var(--tzq-radius-md);
}

.tzq-dk-page-sidebar__list::-webkit-scrollbar-thumb:hover {
    background: var(--tzq-text-muted);
}

.tzq-dk-accordion-item {
    margin-bottom: var(--tzq-spacing-2);
    border: 1px solid var(--tzq-border-light);
    background: #fff;
    overflow: hidden;
}

.tzq-dk-accordion-item:hover {
    border-color: var(--tzq-border-medium);
}

.tzq-dk-accordion-item.active {
    border-color: var(--tzq-primary-light);
    box-shadow: 0 4px 12px rgba(var(--tzq-primary-rgb), 0.1);
}

.tzq-dk-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--tzq-spacing-3-5) var(--tzq-spacing-4);
    cursor: pointer;
    background: #fff;
}

.tzq-dk-accordion-item.active .tzq-dk-accordion-header {
    background: rgba(var(--tzq-primary-rgb), 0.1);
}

.tzq-dk-accordion-title {
    font-weight: var(--tzq-font-bold);
    color: var(--tzq-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: var(--tzq-spacing-3);
}

.tzq-dk-accordion-item.active .tzq-dk-accordion-title {
    color: var(--tzq-primary-dark);
}

.tzq-dk-accordion-icon {
    width: 16px;
    height: 16px;
    color: var(--tzq-text-muted);
}

.tzq-dk-accordion-item.active .tzq-dk-accordion-icon {
    transform: rotate(180deg);
    color: var(--tzq-primary);
}

.tzq-dk-accordion-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tzq-spacing-1-5);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--tzq-bg-secondary);
}

.tzq-dk-accordion-item.active .tzq-dk-accordion-body {
    max-height: 1000px;
    padding: var(--tzq-spacing-3);
    border-top: 1px solid rgba(var(--tzq-primary-rgb), 0.1);
}

.tzq-dk-pg-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--tzq-spacing-2) var(--tzq-spacing-1);
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-bold);
    color: var(--tzq-text-secondary);
    background: #fff;
    border: 1px solid var(--tzq-border-light);
    text-decoration: none !important;
    border-radius: var(--tzq-radius-md);
}

.tzq-dk-pg-link:hover {
    background: rgba(var(--tzq-primary-rgb), 0.1);
    color: var(--tzq-primary);
    border-color: var(--tzq-primary-light);
}

.tzq-dk-pg-link.current {
    background: var(--tzq-primary);
    color: #fff;
    border-color: var(--tzq-primary);
    box-shadow: 0 4px 10px rgba(var(--tzq-primary-rgb), 0.1);
}

.tzq-dk-viewer-card {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.tzq-dk-viewer-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--tzq-spacing-4);
    border-bottom: 1px solid var(--tzq-border-light);
    background: rgba(255, 255, 255, 0.7);
}

.tzq-dk-viewer-title {
    display: block;
    align-items: center;
    gap: var(--tzq-spacing-3);
    margin: 0;
    font-size: var(--tzq-text-2xl);
    font-weight: var(--tzq-font-extrabold);
    color: var(--tzq-text-primary);
    line-height: 1.3;
}

.tzq-dk-viewer-title svg {
    color: var(--tzq-primary);
}

.tzq-dk-viewer-page-badge {
    background: var(--tzq-success);
    color: #fff;
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-extrabold);
    padding: var(--tzq-spacing-1) var(--tzq-spacing-3);
    box-shadow: 0 4px 10px rgba(var(--tzq-success-rgb), 0.15);
}

.tzq-dk-viewer-tab.tzq-dk-tab-image:not(.is-active) {
    background: rgba(var(--tzq-primary-rgb), 0.06);
    color: var(--tzq-primary);
    border: 1px solid rgba(var(--tzq-primary-rgb), 0.15);
}

.tzq-dk-viewer-tab.tzq-dk-tab-text.tzq-dk-tab-text--has-solution:not(.is-active) {
    background: rgba(16, 185, 129, 0.06);
    color: var(--tzq-success-600);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.tzq-dk-viewer-tab.tzq-dk-tab-notes:not(.is-active) {
    background: rgb(11 60 245 / 6%);
    color: var(--tzq-blue-800);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.tzq-dk-viewer-tools {
    display: flex;
    gap: var(--tzq-spacing-2);
    margin-left: auto;
    align-items: center;
}

.tzq-dk-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--tzq-spacing-1-5);
    padding: var(--tzq-spacing-2-5) var(--tzq-spacing-4);
    background: #ffffff;
    border: 1px solid var(--tzq-border-light, #e2e8f0);
    font-size: var(--tzq-text-xs, 0.75rem);
    font-weight: var(--tzq-font-semibold, 600);
    color: var(--tzq-text-secondary, #64748b);
    cursor: pointer;
    text-decoration: none;
    justify-content: center;
    border-radius: var(--tzq-radius-md, 8px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.tzq-dk-tool-btn:hover {
    background: var(--tzq-bg-secondary, #f1f5f9);
    color: var(--tzq-text-primary, #0f172a);
    border-color: var(--tzq-border-medium, #cbd5e1);
}

.tzq-dk-image-area {
    padding: var(--tzq-spacing-8);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.tzq-dk-image-wrap {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}

.tzq-dk-image-wrap::after {
    content: "Büyütmek için tıkla";
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: var(--tzq-spacing-1-5) var(--tzq-spacing-4);
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-semibold);
    opacity: 0;
    pointer-events: none;
}

.tzq-dk-image-wrap:hover::after {
    opacity: 1;
}

.tzq-dk-image-wrap.zoomed {
    cursor: zoom-out;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    z-index: 50;
}

.tzq-dk-image-wrap.zoomed::after {
    display: none;
}

.tzq-dk-page-img {
    display: block;
    width: 100%;
    height: auto;
}

.tzq-dk-no-image {
    text-align: center;
    max-width: 400px;
}

.tzq-dk-no-image__icon {
    font-size: var(--tzq-text-5xl);
    display: block;
    margin-bottom: var(--tzq-spacing-4);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.tzq-dk-no-image__title {
    font-size: var(--tzq-text-2xl);
    font-weight: var(--tzq-font-extrabold);
    color: var(--tzq-text-primary);
    margin: 0 0 var(--tzq-spacing-2) 0;
}

.tzq-dk-no-image__desc {
    font-size: var(--tzq-text-base);
    color: var(--tzq-text-muted);
    line-height: 1.6;
}

/* Premium CTA Card for Empty States */
.tzq-premium-cta-card {
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 10px;
    padding: var(--tzq-spacing-2);
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.03) 0%, rgba(59, 130, 246, 0.03) 100%);
    border: 1px dashed rgba(147, 51, 234, 0.3) !important;
    border-radius: var(--tzq-radius-xl, 16px);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-direction: column;
}

.tzq-premium-cta-card:hover {
    transform: translateY(-4px);
    border-color: rgba(147, 51, 234, 0.6) !important;
    box-shadow: 0 12px 30px rgba(147, 51, 234, 0.08);
}

.tzq-premium-cta-card__bg-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.tzq-premium-cta-card__icon-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: var(--tzq-spacing-5);
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 50%;
    color: var(--tzq-primary);
    transition: transform 0.3s ease;
}

.tzq-premium-cta-card:hover .tzq-premium-cta-card__icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

.tzq-premium-cta-card__icon {
    font-size: 32px;
}

.tzq-premium-cta-card__title {
    position: relative;
    z-index: 1;
    font-size: var(--tzq-text-2xl, 24px) !important;
    font-weight: var(--tzq-font-extrabold, 800) !important;
    color: var(--tzq-text-primary, #1e293b) !important;
    margin: 0 0 var(--tzq-spacing-2) 0 !important;
}

.tzq-premium-cta-card__desc {
    position: relative;
    z-index: 1;
    font-size: var(--tzq-text-base, 16px) !important;
    color: var(--tzq-text-muted, #64748b) !important;
    line-height: 1.6 !important;
    margin-bottom: var(--tzq-spacing-6) !important;
}

.tzq-premium-cta-card__accent-box {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: var(--tzq-spacing-4);
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--tzq-radius-lg, 12px);
    margin-bottom: var(--tzq-spacing-6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tzq-premium-cta-card__accent-text {
    font-size: var(--tzq-text-sm, 14px) !important;
    color: #475569 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.tzq-premium-cta-card__btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: var(--tzq-spacing-2, 8px);
    padding: 12px 28px !important;
    background: linear-gradient(135deg, var(--tzq-primary) 0%, var(--tzq-primary-dark) 100%) !important;
    color: #ffffff !important;
    font-weight: var(--tzq-font-bold, 700) !important;
    border-radius: 9999px !important;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(147, 51, 234, 0.25);
    transition: all 0.2s ease;
}

.tzq-premium-cta-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
    opacity: 0.95;
}

.tzq-premium-cta-card__btn:active {
    transform: translateY(0);
}

/* Premium Comment Upload Box */
.tzq-comment-upload-box {
    margin-top: var(--tzq-spacing-4, 1rem);
    margin-bottom: var(--tzq-spacing-4, 1rem);
    width: 100%;
}

.tzq-comment-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--tzq-spacing-6, 1.5rem);
    border: 2px dashed rgba(147, 51, 234, 0.2) !important;
    border-radius: var(--tzq-radius-lg, 12px);
    background: rgba(147, 51, 234, 0.01);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tzq-comment-upload-box.dragover .tzq-comment-upload-label,
.tzq-comment-upload-label:hover {
    background: rgba(147, 51, 234, 0.04);
    border-color: var(--tzq-primary, #9333ea) !important;
}

.tzq-upload-icon {
    font-size: 28px;
    color: var(--tzq-primary, #9333ea);
    margin-bottom: var(--tzq-spacing-2, 8px);
    transition: transform 0.2s ease;
}

.tzq-comment-upload-label:hover .tzq-upload-icon {
    transform: translateY(-2px);
}

.tzq-upload-text {
    font-size: var(--tzq-text-sm, 14px) !important;
    font-weight: var(--tzq-font-bold, 700) !important;
    color: var(--tzq-text-primary, #1e293b) !important;
    margin-bottom: 2px !important;
}

.tzq-upload-subtext {
    font-size: var(--tzq-text-xs, 12px) !important;
    color: var(--tzq-text-muted, #64748b) !important;
}

.tzq-selected-file-preview {
    display: flex;
    align-items: center;
    gap: var(--tzq-spacing-3, 12px);
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--tzq-radius-lg, 12px);
    animation: tzqPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tzq-selected-file-preview span.ph-file-image {
    font-size: 24px;
    color: var(--tzq-primary, #9333ea);
}

.tzq-preview-filename {
    font-size: var(--tzq-text-sm, 14px) !important;
    font-weight: var(--tzq-font-semibold, 600) !important;
    color: #334155 !important;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tzq-remove-file-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fee2e2;
    color: #ef4444;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tzq-remove-file-btn:hover {
    background: #fca5a5;
    color: #b91c1c;
    transform: scale(1.05);
}

.tzq-dk-answer-area {
    padding: var(--tzq-spacing-2-5);
    background: var(--tzq-bg-secondary);
    border-top: 1px solid var(--tzq-border-light);
}

.tzq-dk-answer-area__title {
    display: flex;
    align-items: center;
    gap: var(--tzq-spacing-2-5);
    font-size: var(--tzq-text-base);
    font-weight: var(--tzq-font-extrabold);
    color: var(--tzq-text-secondary);
    margin: 0 0 var(--tzq-spacing-4) 0;
}

.tzq-dk-answer-area__title svg {
    color: var(--tzq-primary);
}

.tzq-dk-answer-textarea {
    width: 100%;
    min-height: 120px;
    padding: var(--tzq-spacing-4);
    border: 1px solid var(--tzq-border-light);
    background: #fff;
    font-family: inherit;
    font-size: var(--tzq-text-base);
    color: var(--tzq-text-primary);
    resize: vertical;
}

.tzq-dk-answer-textarea:focus {
    outline: none;
    border-color: var(--tzq-primary);
    box-shadow: 0 4px 20px rgba(var(--tzq-primary-rgb), 0.1);
}

.tzq-dk-nav-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--tzq-spacing-4);
    padding: var(--tzq-spacing-4) var(--tzq-spacing-6);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--tzq-bg-primary, #fff);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.tzq-dk-nav-group {
    display: flex;
    gap: var(--tzq-spacing-3);
    align-items: center;
}

.tzq-dk-nav-status {
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-bold);
    color: var(--tzq-text-secondary);
    padding: var(--tzq-spacing-1-5) var(--tzq-spacing-4);
    background: var(--tzq-bg-secondary, #f8fafc);
    border-radius: var(--tzq-radius-md);
    min-width: 80px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.tzq-dk-tab-content {
    display: none;
    outline: none;
}

.tzq-dk-tab-content.active {
    display: block;
    /* padding: var(--tzq-spacing-4); */
}

@keyframes fadein {

    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.tzq-dk-comments-wrap {
    max-width: 100% !important;
    margin: var(--tzq-spacing-6, 1.5rem) 0 0 !important;
    padding: var(--tzq-spacing-6, 1.5rem) var(--tzq-spacing-8, 2rem) !important;
    background: linear-gradient(135deg, #ffffff 0%, #fcfdfe 100%) !important;
    border-radius: var(--tzq-radius-xl, 16px) !important;
    border: 1px solid var(--tzq-border-light, #e2e8f0) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.tzq-dk-share-wrapper {
    position: relative;
    display: inline-block;
    align-items: center;
    border-left: 1px solid var(--tzq-border-light);
    padding-left: var(--tzq-spacing-2-5);
    margin-left: var(--tzq-spacing-1);
}

.tzq-dk-share-popup {
    display: flex;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: var(--tzq-spacing-3);
    margin-bottom: var(--tzq-spacing-2);
    z-index: 50;
    border-radius: var(--tzq-radius-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    gap: var(--tzq-spacing-2);
    opacity: 0;
    visibility: hidden;
    min-width: 200px;
}

.tzq-dk-share-popup.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tzq-dk-sidebar-close {
    display: none;
    background: #f1f5f9;
    border: 1px solid var(--tzq-border-light, #e2e8f0);
    color: var(--tzq-text-secondary, #64748b);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
    padding: 0;
    margin-left: auto;
}

.tzq-dk-sidebar-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
}


.sayfa-kapsayici-kart,
.destek-sayfa-etiket {
    background: #ffffff;
    position: relative;
}

.sayfa-numara-bandi {
    display: inline-block;
    background: var(--tzq-primary);
    color: #fff;
    font-size: var(--tzq-text-sm);
    font-weight: var(--tzq-font-bold);
    padding: var(--tzq-spacing-1-5) var(--tzq-spacing-4);
    margin-bottom: var(--tzq-spacing-5);
    box-shadow: 0 2px 4px rgba(var(--tzq-primary-rgb), 0.3);
}

.etkinlik-dilimi {
    margin-bottom: var(--tzq-spacing-10);
    padding-bottom: var(--tzq-spacing-10);
    border-bottom: 2px dashed rgba(203, 213, 225, 0.6);
}

.etkinlik-dilimi:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.kitap-soru-metni {
    position: relative;
    font-size: var(--tzq-text-base);
    gap: 10px;
    /* font-weight: var(--tzq-font-bold); */
    display: flex;
    color: var(--tzq-text-primary);
    line-height: 1.6;
    /* margin-bottom: var(--tzq-spacing-4); */
    margin-top: var(--tzq-spacing-6);
    padding: var(--tzq-spacing-4);
    background: var(--tzq-bg-secondary);
    border-left: 4px solid var(--tzq-primary);
    border-radius: var(--tzq-radius-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    flex-direction: column;
}

.kitap-soru-metni::before {
    content: "SORU METNİ";
    position: absolute;
    top: -12px;
    left: 12px;
    background: var(--tzq-primary);
    color: #fff;
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-extrabold);
    padding: 3px var(--tzq-spacing-2-5);
    border-radius: var(--tzq-radius-lg);
    letter-spacing: 0.5px;
}

.asama-baslik {
    font-weight: var(--tzq-font-bold);
    margin: var(--tzq-spacing-2-5);
    font-size: var(--tzq-text-lg);
    display: flex;
    align-items: center;
    gap: var(--tzq-spacing-2);
}

.asama-baslik::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.katman-odak {
    color: #8b5cf6;
}

.katman-odak::before {
    background: #8b5cf6;
}

.katman-analiz {
    color: var(--tzq-error-500);
}

.katman-analiz::before {
    background: #ef4444;
}

.katman-hayat {
    color: var(--tzq-teal-650);
}

.katman-hayat::before {
    background: #10b981;
}

.katman-sonuc-kutusu {
    position: relative;
    background: #f0fdf4;
    /* border-radius: var(--tzq-radius-sm); */
    margin-top: var(--tzq-spacing-6);
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.05);
}

.katman-sonuc-kutusu::before {
    content: "ÇÖZÜM / CEVAP";
    position: absolute;
    top: -12px;
    left: 12px;
    background: #10b981;
    color: #fff;
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-extrabold);
    padding: 3px var(--tzq-spacing-2-5);
    border-radius: var(--tzq-radius-lg);
    letter-spacing: 0.5px;
}

.katman-sonuc-baslik {
    color: var(--tzq-success-600);
    font-weight: var(--tzq-font-extrabold);
    font-size: var(--tzq-text-base);
    margin-bottom: var(--tzq-spacing-2);
}

.cevap-paragrafi {
    font-size: var(--tzq-text-base);
    line-height: 1.6;
    color: #1f2937;
    margin-bottom: var(--tzq-spacing-3);
}

.cevap-paragrafi:last-child {
    margin-bottom: 0;
}

.cevap-paragrafi b,
.cevap-paragrafi strong {
    color: var(--tzq-success-600);
    font-weight: var(--tzq-font-bold);
}

.soru-satiri {
    display: block;
    margin-bottom: var(--tzq-spacing-2);
}

.soru-satiri:last-child {
    margin-bottom: 0;
}

.tzq-dk-pg-link.has-solution {
    background-color: rgb(16 185 152 / 10%);
    color: var(--tzq-teal-900);
    border-color: rgba(16, 185, 129, 0.3);
    font-weight: var(--tzq-font-semibold);
}

.tzq-dk-pg-link.has-solution:hover {
    background-color: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
}

.tzq-dk-pg-link.has-solution.current {
    background: linear-gradient(135deg, var(--tzq-teal-700) 0%, var(--tzq-teal-800) 100%) !important;
    color: #ffffff;
    border-color: var(--tzq-success-rgba-40);
}

.tzq-kitap-portal-wrap {
    padding: var(--tzq-spacing-10) var(--tzq-spacing-5);
}

.tzq-kitap-portal-header {
    margin-bottom: var(--tzq-spacing-10);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.tzq-portal-header-inner {
    max-width: 800px;
}

.tzq-portal-title {
    font-size: var(--tzq-text-5xl);
    font-weight: var(--tzq-font-black);
    color: var(--tzq-text-primary);
    margin: 0 0 var(--tzq-spacing-3) 0;
}

.tzq-portal-desc {
    font-size: var(--tzq-text-base);
    color: var(--tzq-text-secondary);
    line-height: 1.6;
    margin: 0 0 var(--tzq-spacing-4) 0;
}

.tzq-portal-stats {
    display: flex;
    gap: var(--tzq-spacing-4);
}

.tzq-stat-badge {
    background: rgba(var(--tzq-primary-rgb), 0.1);
    color: var(--tzq-primary);
    padding: var(--tzq-spacing-1-5) var(--tzq-spacing-3-5);
    border-radius: var(--tzq-radius-2xl);
    font-size: var(--tzq-text-xs);
    font-weight: var(--tzq-font-medium);
}

.tzq-stat-badge strong {
    font-weight: var(--tzq-font-extrabold);
}

.tzq-mobile-filter-btn {
    display: none;
    align-items: center;
    gap: var(--tzq-spacing-2);
    background: var(--tzq-text-primary);
    color: #fff;
    border: none;
    padding: var(--tzq-spacing-2-5) var(--tzq-spacing-5);
    border-radius: var(--tzq-radius-md);
    font-weight: var(--tzq-font-semibold);
    cursor: pointer;
}

.tzq-kitap-portal-layout {
    display: grid;
    grid-template-columns: var(--tzq-sidebar-width, clamp(340px, 32vw, 420px)) 1fr;
    gap: var(--tzq-spacing-10);
    align-items: start;
}

.tzq-kitap-sidebar {
    position: sticky;
    top: 30px;
}

.tzq-kitap-sidebar-inner {
    background: #ffffff;
    border-radius: var(--tzq-radius-xl);
    padding: var(--tzq-spacing-6);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.tzq-kitap-widget-title {
    font-size: var(--tzq-text-base);
    font-weight: var(--tzq-font-extrabold);
    color: var(--tzq-text-primary);
    margin: 0 0 var(--tzq-spacing-4) 0;
    padding-bottom: var(--tzq-spacing-3);
    border-bottom: 1px solid var(--tzq-border);
}

.tzq-kitap-sidebar-widget {
    margin-bottom: var(--tzq-spacing-8);
}

.tzq-kitap-sidebar-widget:last-child {
    margin-bottom: 0;
}

.tzq-kitap-sidebar-widget.widget-info p {
    font-size: var(--tzq-text-xs);
    line-height: 1.6;
    color: var(--tzq-text-secondary);
    margin: 0;
}

.tzq-filter-list {
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-2);
}

.tzq-filter-link {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: var(--tzq-text-sm);
    color: var(--tzq-text-secondary);
    text-decoration: none;
    padding: var(--tzq-spacing-1-5) var(--tzq-spacing-2-5);
    border-radius: var(--tzq-radius-md);
}

.tzq-filter-link:hover {
    color: var(--tzq-primary);
    background: rgba(var(--tzq-primary-rgb), 0.05);
}

.tzq-filter-custom-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    margin-right: var(--tzq-spacing-3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tzq-filter-custom-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--tzq-primary);
    border-radius: 50%;
}

.tzq-filter-link.active {
    background: rgba(var(--tzq-primary-rgb), 0.08);
}

.tzq-filter-link.active .tzq-filter-custom-radio {
    border-color: var(--tzq-primary);
}

.tzq-filter-link.active .tzq-filter-text {
    font-weight: var(--tzq-font-bold);
    color: var(--tzq-text-primary);
}

.tzq-arch-search-wrap {
    position: relative;
}

.tzq-arch-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--tzq-text-subtle, #94a3b8);
}

.tzq-arch-search-input {
    width: 100%;
    background: var(--tzq-bg-secondary);
    border: 1px solid #e2e8f0;
    border-radius: var(--tzq-radius-md);
    padding: var(--tzq-spacing-3) var(--tzq-spacing-3-5) var(--tzq-spacing-3) 42px;
    font-size: var(--tzq-text-sm);
    color: var(--tzq-text-primary);
}

.tzq-arch-search-input:focus {
    background: #fff;
    border-color: var(--tzq-primary);
    box-shadow: 0 0 0 3px rgba(var(--tzq-primary-rgb), 0.1);
    outline: none;
}

.tzq-arch-toolbar-premium {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tzq-spacing-4);
    align-items: center;
    margin-bottom: var(--tzq-spacing-6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.tzq-arch-search-toggle-group {
    display: flex;
    flex: 1;
    gap: var(--tzq-spacing-4);
    align-items: center;
}

.tzq-arch-search-pill {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.tzq-arch-search-pill svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tzq-text-subtle, #94a3b8);
}

.tzq-arch-search-pill input {
    width: 100%;
    padding: var(--tzq-spacing-3-5) var(--tzq-spacing-4) var(--tzq-spacing-3-5) 44px;
    border: 1px solid #7421c3;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.9);
    font-size: var(--tzq-text-base);
    font-weight: var(--tzq-font-medium);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tzq-arch-search-pill input:hover,
.tzq-arch-select-pill:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.tzq-arch-search-pill input:focus {
    background: #fff;
    border-color: var(--tzq-primary);
    box-shadow: 0 10px 25px -5px rgba(var(--tzq-primary-rgb), 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.01);
    transform: translateY(-1px);
    outline: none;
}

.tzq-arch-filter-group {
    display: flex;
    gap: var(--tzq-spacing-3);
}

.tzq-arch-select-wrapper {
    position: relative;
}

.tzq-arch-select-pill {
    appearance: none;
    background: #ffffff;
    border: 1px solid #7421c3;
    padding: var(--tzq-spacing-3) var(--tzq-spacing-10) var(--tzq-spacing-3) var(--tzq-spacing-5);
    border-radius: 9999px;
    font-size: var(--tzq-text-sm);
    font-weight: var(--tzq-font-bold);
    color: var(--tzq-text-primary);
    cursor: pointer;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tzq-arch-select-pill:focus {
    outline: none;
    border-color: var(--tzq-primary);
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px -5px rgba(var(--tzq-primary-rgb), 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

.tzq-arch-select-wrapper::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #94a3b8;
    pointer-events: none;
}



.tzq-arch-toolbar-meta {
    margin-bottom: var(--tzq-spacing-6);
    font-size: var(--tzq-text-sm);
    color: var(--tzq-text-muted);
}

.tzq-arch-book-count strong {
    color: var(--tzq-slate-900);
    font-size: var(--tzq-text-base);
    font-weight: var(--tzq-font-extrabold);
}

.tzq-arch-book-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--tzq-spacing-6);
    padding: var(--tzq-spacing-2-5);
    perspective: 1000px;
    justify-items: center;
}

.tzq-arch-book-grid.is-filtering {
    opacity: 0.4;
}

.tzq-dk-cinematic-card {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
}

.tzq-dk-cinematic-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Premium Crimson Bookmark Ribbon hanging from top binding */
.tzq-dk-cinematic-inner::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 28px;
    width: 8px;
    height: 16px;
    background: #dc2626;
    z-index: 3;
    border-radius: 2px 2px 0 0;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 80%, 0% 100%);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transform-origin: top center;
    transition:
        height 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.tzq-dk-cinematic-card:hover .tzq-dk-cinematic-inner::before {
    height: 22px;
    transform: translateY(-8px) rotateY(-10deg) scale(1.03);
}

.tzq-dk-cinematic-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 4px 12px 12px 4px;
    background: var(--tzq-bg-secondary, #f1f5f9);
    overflow: visible;
    z-index: 1;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.15),
        1px 1px 3px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.45s ease;
}

/* Page stack sheets indicator on the right edge */
.tzq-dk-cinematic-thumb::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    right: -4px;
    width: 6px;
    background: repeating-linear-gradient(to bottom, #cbd5e1, #cbd5e1 1px, #fdfdfa 1px, #fdfdfa 3px);
    border: 1px solid #cbd5e1;
    border-left: none;
    border-radius: 0 8px 8px 0;
    z-index: -1;
    box-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.08),
        2px 2px 4px rgba(0, 0, 0, 0.05);
    transition: right 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Double-layered Overlay: Diagonal Gloss Highlight + Horizontal 3D Crease/Spine Shading */
.tzq-dk-cinematic-thumb::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px 12px 12px 4px;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.16) 0%,
            rgba(255, 255, 255, 0.08) 25%,
            rgba(255, 255, 255, 0.0) 40%,
            rgba(255, 255, 255, 0.0) 100%),
        linear-gradient(to right,
            rgba(0, 0, 0, 0.28) 0%,
            rgba(0, 0, 0, 0.12) 3%,
            rgba(0, 0, 0, 0.0) 6%,
            rgba(255, 255, 255, 0.08) 8%,
            rgba(0, 0, 0, 0.0) 10%,
            rgba(0, 0, 0, 0.18) 11.5%,
            rgba(255, 255, 255, 0.14) 12%,
            rgba(0, 0, 0, 0.0) 13.5%,
            rgba(0, 0, 0, 0.0) 97%,
            rgba(0, 0, 0, 0.15) 100%);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

.tzq-dk-cinematic-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 12px 12px 4px;
    z-index: 1;
}

.tzq-dk-cinematic-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--tzq-primary-dark), #0f172a);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--tzq-text-xl, 1.25rem);
    font-weight: 800;
    border-radius: 4px 12px 12px 4px;
    z-index: 1;
}

.tzq-dk-c-overlay-tags {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 3;
    pointer-events: none;
    transform: translateZ(10px);
}

.tzq-dk-c-tag {
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tzq-dk-c-tag--primary {
    background: var(--tzq-primary, var(--tzq-purple-600));
}

.tzq-dk-c-publisher {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 3px 6px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: var(--tzq-radius-sm, 4px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transform: translateZ(12px);
}

.tzq-dk-cinematic-body {
    padding: 0;
    margin-top: 10px;
}

.tzq-dk-c-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--tzq-slate-700, #334155);
    margin: 0;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    transition: color 0.25s ease;
}

.tzq-dk-cinematic-card:hover .tzq-dk-cinematic-thumb {
    transform: translateY(-8px) rotateY(-10deg) scale(1.03);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.22),
        2px 2px 5px rgba(0, 0, 0, 0.12);
}

.tzq-dk-cinematic-card:hover .tzq-dk-cinematic-thumb::before {
    right: -6px;
}

.tzq-dk-cinematic-card:hover .tzq-dk-c-title {
    color: var(--tzq-primary, var(--tzq-purple-600));
}


.tzq-arch-empty {
    display: none;
    padding: var(--tzq-spacing-10) 0;
}

.tzq-arch-empty-inner {
    text-align: center;
    padding: 60px var(--tzq-spacing-5);
    background: #ffffff;
    border-radius: var(--tzq-radius-xl);
    border: 2px dashed #e2e8f0;
}

.tzq-arch-empty-icon {
    font-size: var(--tzq-text-5xl);
    margin-bottom: var(--tzq-spacing-5);
    display: block;
}

.tzq-arch-empty-title {
    font-size: var(--tzq-text-2xl);
    font-weight: var(--tzq-font-extrabold);
    color: var(--tzq-text-primary);
    margin: 0 0 var(--tzq-spacing-2-5) 0;
}

.tzq-arch-empty-desc {
    color: var(--tzq-text-secondary);
    margin: 0;
}

.tzq-mobile-sidebar-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: var(--tzq-text-primary);
}

.giriÅŸ-selamlama {
    font-size: var(--tzq-text-base);
    color: var(--tzq-text-primary);
    margin-bottom: var(--tzq-spacing-8);
    padding: var(--tzq-spacing-5);
    background-color: #ffffff;
    border-left: 4px solid var(--tzq-primary, var(--tzq-purple-600));
    border-radius: var(--tzq-radius-md);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hizli-erisim-menusu {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--tzq-radius-md);
    padding: var(--tzq-spacing-5);
    margin-bottom: var(--tzq-spacing-8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hizli-erisim-baslik {
    font-size: var(--tzq-text-base);
    font-weight: var(--tzq-font-bold);
    color: var(--tzq-text-primary);
    margin-top: 0;
    margin-bottom: var(--tzq-spacing-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kelime-raporu {
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-1-5);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 3px solid var(--tzq-primary);
    border-radius: var(--tzq-radius-md);
    padding: var(--tzq-spacing-4);
    margin-bottom: var(--tzq-spacing-4);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.kelime-raporu:last-child {
    margin-bottom: 0;
}

.kelime-raporu span {
    font-size: var(--tzq-text-sm);
    line-height: 1.5;
    color: var(--tzq-text-primary);
    display: block;
}

.kelime-raporu .kelime-adi {
    font-size: var(--tzq-text-base);
    color: var(--tzq-slate-900);
    margin-bottom: var(--tzq-spacing-1);
    padding-bottom: var(--tzq-spacing-1);
    border-bottom: 1px dashed #e2e8f0;
}

.kelime-raporu b,
.kelime-raporu strong {
    color: var(--tzq-slate-900);
    margin-right: var(--tzq-spacing-1);
}

.katman-sonuc-kutusu>div[class*="-paneli"],
.katman-sonuc-kutusu>div[class*="-bloku"],
.katman-sonuc-kutusu>div[class*="-odasi"],
.katman-sonuc-kutusu>div[class*="-merkezi"],
.katman-sonuc-kutusu>div[class*="-alani"],
.katman-sonuc-kutusu>div[class*="-kutusu"],
.katman-sonuc-kutusu>div[class*="-sekmesi"],
.katman-sonuc-kutusu>div[class*="-grubu"],
.katman-sonuc-kutusu>div[class*="-degerlendirme"] {
    margin-bottom: var(--tzq-spacing-6);
    padding: var(--tzq-spacing-4);
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--tzq-radius-md);
    border: 1px dashed rgba(16, 185, 129, 0.3);
}

.katman-sonuc-kutusu>div:last-child {
    margin-bottom: 0;
}

.fiilimsi-turu-etiket {
    display: inline-block;
    background: #e0e7ff;
    padding: var(--tzq-spacing-0-5) var(--tzq-spacing-2);
    border-radius: var(--tzq-radius-sm);
    border: 1px solid #c7d2fe;
}

.fiilimsi-turu-etiket b,
.fiilimsi-turu-etiket strong {
    color: #4338ca !important;
}

.tzq-book-cover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: var(--tzq-spacing-6);
    padding: var(--tzq-spacing-2-5);
    perspective: 1000px;
}

.tzq-book-cover-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/4;
    border-radius: 4px 14px 14px 4px;
    text-decoration: none;
    padding: var(--tzq-spacing-5);
    text-align: center;
    position: relative;
    overflow: visible;
    z-index: 1;

    /* Default base gradient if not overridden by grade */
    --tzq-book-gradient: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);

    /* Cylindrical shading on spine, crease highlight line, and soft shadow */
    box-shadow:
        inset 16px 0 12px -5px rgba(0, 0, 0, 0.35),
        inset 17px 0 0 rgba(255, 255, 255, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.12);

    /* Fabric Linen Woven Texture Overlay + Base Gradient */
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0px, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 3px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0px, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 3px),
        var(--tzq-book-gradient);

    /* 3D tilt transition animation */
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.tzq-book-cover-card::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    right: -4px;
    width: 8px;
    /* Repeating linear gradient simulating paper sheets */
    background: repeating-linear-gradient(to bottom, #cbd5e1, #cbd5e1 1px, #fdfdfa 1px, #fdfdfa 3px);
    border: 1px solid #cbd5e1;
    border-left: none;
    border-radius: 0 10px 10px 0;
    z-index: -1;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tzq-book-cover-card::after {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: -8px;
    width: 8px;
    /* Repeating linear gradient simulating paper sheets */
    background: repeating-linear-gradient(to bottom, #cbd5e1, #cbd5e1 1px, #f9f9f2 1px, #f9f9f2 3px);
    border: 1px solid #cbd5e1;
    border-left: none;
    border-radius: 0 10px 10px 0;
    z-index: -2;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.06);
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tzq-book-cover-card:hover {
    transform: translateY(-8px) rotateY(-8deg) scale(1.02);
    box-shadow:
        inset 18px 0 15px -5px rgba(0, 0, 0, 0.42),
        inset 19px 0 0 rgba(255, 255, 255, 0.15),
        0 16px 30px rgba(0, 0, 0, 0.22);
}

.tzq-book-cover-card:hover::before {
    right: -6px;
}

.tzq-book-cover-card:hover::after {
    right: -11px;
}

.tzq-book-cover-spine {
    position: absolute;
    left: 8px;
    top: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    /* Premium Gold Foil Double Border Stamp */
    border: 1.5px solid rgba(212, 175, 55, 0.38);
    box-shadow: inset 0 0 0 1.5px rgba(212, 175, 55, 0.18);
    border-radius: 2px 8px 8px 2px;
    pointer-events: none;
    z-index: 2;
    /* Offset left to avoid overlapping the book spine crease shading */
    margin-left: 14px;
    background: transparent;
    transition: border-color 0.4s ease;
}

.tzq-book-cover-spine-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.22);
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.08);
    z-index: 2;
}

.tzq-book-cover-icon-wrap {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--tzq-spacing-5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.tzq-book-cover-icon-wrap span {
    font-size: var(--tzq-text-2xl);
    line-height: 1;
}

.tzq-book-cover-title {
    color: #fff;
    font-size: var(--tzq-text-xl);
    font-weight: var(--tzq-font-extrabold);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.02em;
    z-index: 3;
}

.tzq-book-cover-count {
    font-size: 0.72rem;
    font-weight: 800;
    margin-top: 8px;
    background: rgba(0, 0, 0, 0.22);
    padding: 3px 10px;
    border-radius: 9999px;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.2px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 3;
    display: inline-block;
}

.tzq-subject-pill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--tzq-spacing-4);
}

.tzq-subject-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--tzq-spacing-3);
    padding: var(--tzq-spacing-3-5) var(--tzq-spacing-7);
    border-radius: 100px;
    font-weight: var(--tzq-font-semibold);
    font-size: var(--tzq-text-lg);
    text-decoration: none;
}

.tzq-subject-pill-icon {
    font-size: var(--tzq-text-2xl);
    line-height: 1;
}

.tzq-book-cover-card[data-grade="1"],
.tzq-book-cover-card:nth-child(10n+1) {
    /* Deep Oxford Blue / Dark Navy */
    --tzq-book-gradient: linear-gradient(145deg, #2b394e 0%, #0f1622 100%);
}

.tzq-book-cover-card[data-grade="2"],
.tzq-book-cover-card:nth-child(10n+2) {
    /* Rich Forest / Hunter Green */
    --tzq-book-gradient: linear-gradient(145deg, #1d4d34 0%, #0a2416 100%);
}

.tzq-book-cover-card[data-grade="3"],
.tzq-book-cover-card:nth-child(10n+3) {
    /* Antique Crimson / Burgundy */
    --tzq-book-gradient: linear-gradient(145deg, #7c1a2d 0%, #3e0712 100%);
}

.tzq-book-cover-card[data-grade="4"],
.tzq-book-cover-card:nth-child(10n+4) {
    /* Royal Violet / Plum Purple */
    --tzq-book-gradient: linear-gradient(145deg, #5c2c77 0%, #2f0b44 100%);
}

.tzq-book-cover-card[data-grade="5"],
.tzq-book-cover-card:nth-child(10n+5) {
    /* Antique Gold / Ochre Binding */
    --tzq-book-gradient: linear-gradient(145deg, #9b6c28 0%, #5d3f10 100%);
}

.tzq-book-cover-card[data-grade="6"],
.tzq-book-cover-card:nth-child(10n+6) {
    /* Terracotta Rust Orange */
    --tzq-book-gradient: linear-gradient(145deg, #963b21 0%, #5f1b0a 100%);
}

.tzq-book-cover-card[data-grade="7"],
.tzq-book-cover-card:nth-child(10n+7) {
    /* Petrol Teal / Deep Sea */
    --tzq-book-gradient: linear-gradient(145deg, #1b5f58 0%, #092e2a 100%);
}

.tzq-book-cover-card[data-grade="8"],
.tzq-book-cover-card:nth-child(10n+8) {
    /* Mahogany Brown */
    --tzq-book-gradient: linear-gradient(145deg, var(--tzq-primary-dark) 0%, var(--tzq-primary-dark) 100%);
}

.tzq-book-cover-card[data-grade="9"],
.tzq-book-cover-card:nth-child(10n+9) {
    /* Deep Charcoal Slate */
    --tzq-book-gradient: linear-gradient(145deg, #444e5b 0%, #222933 100%);
}

.tzq-book-cover-card[data-grade="10"],
.tzq-book-cover-card:nth-child(10n+10) {
    /* Midnight Blue / Imperial Navy */
    --tzq-book-gradient: linear-gradient(145deg, #27418a 0%, #0f1c44 100%);
}

.tzq-arch-nav-filters {
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-4);
    margin-top: var(--tzq-spacing-2-5);
    padding-top: var(--tzq-spacing-5);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.tzq-arch-nav-row {
    display: flex;
    align-items: center;
    gap: var(--tzq-spacing-4);
}

.tzq-arch-nav-label {
    font-weight: var(--tzq-font-semibold);
    color: var(--tzq-text-700, #334155);
    white-space: nowrap;
    font-size: var(--tzq-text-sm);
    min-width: 60px;
}

.tzq-arch-pills-scroll {
    display: flex;
    gap: var(--tzq-spacing-2);
    flex-wrap: wrap;
    align-items: center;
}

.tzq-pill {
    padding: var(--tzq-spacing-1-5) var(--tzq-spacing-4);
    border-radius: var(--tzq-radius-2xl);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--tzq-text-600, #475569);
    font-weight: var(--tzq-font-semibold);
    font-size: var(--tzq-text-xs);
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tzq-pill:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tzq-pill.active {
    background: var(--tzq-primary, var(--tzq-purple-600));
    color: #ffffff;
    border-color: var(--tzq-primary, var(--tzq-purple-600));
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}




/* Textbook single progress bar */
.tzq-dk-meta-progress-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 8px;
    width: 100%;
}

.tzq-dk-meta-progress-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.tzq-dk-progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.tzq-dk-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 9999px;
    transition: width 0.8s ease-in-out;
}

.tzq-dk-hero-simple-meta {
    font-size: var(--tzq-text-xs);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0;
    margin: 0;
}

.tzq-dk-meta-item {
    display: flex;
    gap: var(--tzq-spacing-1-5);
}

.tzq-dk-meta-label {
    opacity: 0.7;
    font-weight: var(--tzq-font-semibold);
}

.tzq-dk-meta-link {
    color: var(--tzq-primary);
    font-weight: var(--tzq-font-bold);
    text-decoration: none;
}

.tzq-dk-meta-val {
    color: var(--tzq-text-primary);
}

.tzq-dk-meta-val-success {
    color: var(--tzq-success-dark, #047857);
    font-weight: var(--tzq-font-bold);
}

.tzq-dk-hero-subtitle {
    font-size: var(--tzq-text-xs) !important;
    color: var(--tzq-text-secondary);
    line-height: 1.5;
}

.tzq-dk-hero-actions .tzq-btn {
    display: inline-flex;
}

.tzq-dk-hero-details .tzq-dk-unit-nav .tzq-dk-unit-list {
    gap: var(--tzq-spacing-2);
}

.tzq-dk-hero-details .tzq-dk-unit-nav .tzq-dk-unit-link {
    font-weight: var(--tzq-font-extrabold);
}

.tzq-dk-unit-section {
    scroll-margin-top: 100px;
}

.tzq-dk-unit-section .tzq-dk-pages-grid {
    padding-top: var(--tzq-spacing-4);
}

.tzq-dk-unit-nav {}

.tzq-dk-unit-link .tzq-dk-unit-link-pages {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: var(--tzq-font-semibold) !important;
}

.tzq-dk-viewer-header-left {
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-1-5);
    flex: 1;
    min-width: 0;
}

.tzq-dk-viewer-breadcrumb {
    font-size: var(--tzq-text-xs);
    color: var(--tzq-text-secondary);
}

.tzq-dk-viewer-breadcrumb .tzq-breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.tzq-dk-viewer-breadcrumb .tzq-breadcrumb a {
    color: var(--tzq-primary);
    text-decoration: none;
}

.tzq-dk-viewer-breadcrumb .tzq-breadcrumb a:hover {
    text-decoration: underline;
}

.tzq-dk-mobile-menu-btn-prominent {
    display: none;
    align-items: center;
    width: 100%;
    justify-content: center;
    gap: var(--tzq-spacing-2);
    padding: var(--tzq-spacing-2);
    background: var(--tzq-teal-900);
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    font-weight: var(--tzq-font-bold);
    font-size: var(--tzq-text-md);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(var(--tzq-primary-rgb), 0.25);
    flex-shrink: 0;
}

.tzq-dk-mobile-menu-btn-prominent:hover {
    background: var(--tzq-primary-dark, var(--tzq-purple-700));
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(var(--tzq-primary-rgb), 0.35);
}

.tzq-dk-mobile-menu-btn-prominent svg {
    stroke: currentColor;
}

.tzq-dk-viewer-tabs {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #f8fafc;
    padding: var(--tzq-spacing-3) var(--tzq-spacing-6);
    gap: var(--tzq-spacing-3);
}

.tzq-dk-viewer-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--tzq-spacing-2);
    padding: var(--tzq-spacing-2-5);
    background: #ffffff;
    border: 1px solid var(--tzq-border-light, #e2e8f0);
    border-radius: var(--tzq-radius-md);
    font-size: var(--tzq-text-sm, 0.875rem);
    font-weight: var(--tzq-font-semibold, 600);
    color: var(--tzq-text-secondary, #64748b);
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tzq-dk-viewer-tab svg {
    opacity: 0.8;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.tzq-dk-viewer-tab:hover {
    background: var(--tzq-bg-secondary, #f1f5f9);
    border-color: var(--tzq-border-medium, #cbd5e1);
    color: var(--tzq-text-primary, #0f172a);
}

.tzq-dk-viewer-tab:hover svg {
    opacity: 1;
    transform: scale(1.05);
}

.tzq-dk-viewer-tab.is-active {
    background: linear-gradient(135deg, var(--tzq-purple-900) 0%, var(--tzq-purple-700) 100%);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(var(--tzq-primary-rgb), 0.2);
}

.tzq-dk-viewer-tab.is-active svg {
    opacity: 1;
    color: #ffffff !important;
}

/* --- High-Priority Solution Tab Highlight --- */
.tzq-dk-tab-text.tzq-dk-tab-text--has-solution {
    position: relative;
    background: var(--tzq-teal-50) !important;
    border-color: var(--tzq-primary-rgba-25) !important;
    color: var(--tzq-teal-900) !important;
}

.tzq-dk-tab-text.tzq-dk-tab-text--has-solution svg,
.tzq-dk-tab-text.tzq-dk-tab-text--has-solution i {
    color: #16a34a !important;
}

.tzq-dk-tab-text.tzq-dk-tab-text--has-solution:hover {
    background: #dcfce7 !important;
    border-color: #86efac !important;
    color: #166534 !important;
}

/* Tracker actions button group */
.tzq-study-tracker-actions {
    display: flex;
    align-items: center;
    gap: var(--tzq-spacing-2, 8px);
}

/* Helpful Upvote Button inside tracker box */
.tzq-page-helpful-btn-new {
    display: inline-flex;
    align-items: center;
    gap: var(--tzq-spacing-2, 0.5rem);
    font-size: var(--tzq-text-xs, 0.75rem);
    font-weight: var(--tzq-font-bold, 700);
    padding: 8px 16px;
    border-radius: var(--tzq-radius-md, 8px);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: fit-content;
    white-space: nowrap;
    text-decoration: none;
}

.tzq-page-helpful-btn-new.tzq-btn--outline {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.tzq-page-helpful-btn-new.tzq-btn--outline:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.02);
}

.tzq-page-helpful-btn-new.voted,
.tzq-page-helpful-btn-new.active {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
    pointer-events: none !important;
    cursor: default !important;
}

.tzq-page-helpful-btn-new.voted svg,
.tzq-page-helpful-btn-new.active svg,
.tzq-page-helpful-btn-new.voted i,
.tzq-page-helpful-btn-new.active i {
    color: #ffffff !important;
}

/* Empty State Button Group & Secondary Request Solution Button */
.tzq-premium-cta-card__btn-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--tzq-spacing-3, 12px);
    z-index: 1;
    position: relative;
}

.tzq-premium-cta-card__btn--secondary {
    background: #ffffff !important;
    color: var(--tzq-text-secondary, #64748b) !important;
    border: 1px solid var(--tzq-border-medium, #cbd5e1) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tzq-premium-cta-card__btn--secondary:hover {
    background: var(--tzq-bg-secondary, #f1f5f9) !important;
    border-color: var(--tzq-slate-400, #94a3b8) !important;
    color: var(--tzq-text-primary, #0f172a) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

/* Solution Requested / Active state */
.tzq-premium-cta-card__btn--secondary.requested,
.tzq-premium-cta-card__btn--secondary.active {
    background: #f0fdf4 !important;
    /* light green */
    border-color: #86efac !important;
    color: #166534 !important;
    pointer-events: none !important;
    cursor: default !important;
    box-shadow: none !important;
}

.tzq-dk-tab-text.tzq-dk-tab-text--has-solution.is-active {
    background: linear-gradient(135deg, var(--tzq-teal-700) 0%, var(--tzq-teal-800) 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
}

.tzq-dk-tab-text.tzq-dk-tab-text--has-solution.is-active svg {
    color: #ffffff !important;
}

/* Glowing Pulse Dot Indicator */
.tzq-dk-tab-text.tzq-dk-tab-text--has-solution::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    margin-left: 6px;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    animation: tzqPulseGreen 2s infinite;
}

.tzq-dk-tab-text.tzq-dk-tab-text--has-solution.is-active::after {
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
    animation: tzqPulseWhite 2s infinite;
}

@keyframes tzqPulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes tzqPulseWhite {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.tzq-dk-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--tzq-spacing-2);
    padding: var(--tzq-spacing-2-5) var(--tzq-spacing-4);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--tzq-radius-md);
    font-size: var(--tzq-text-sm);
    font-weight: var(--tzq-font-semibold);
    color: var(--tzq-text-secondary);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.tzq-dk-nav-btn:hover {
    background: var(--tzq-bg-secondary);
    color: var(--tzq-slate-900);
    border-color: var(--tzq-slate-300);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.tzq-dk-nav-btn svg {
    opacity: 0.7;
}

.tzq-dk-nav-btn:hover svg {
    opacity: 1;
}

.tzq-dk-nav-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: var(--tzq-bg-tertiary);
}

.tzq-dk-nav-btn-primary {
    background: var(--tzq-primary, var(--tzq-purple-600));
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(var(--tzq-primary-rgb), 0.2);
}

.tzq-dk-nav-btn-primary:hover {
    background: var(--tzq-primary-dark, var(--tzq-purple-700));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(var(--tzq-primary-rgb), 0.3);
}

.tzq-dk-nav-btn-danger {
    color: #b91c1c !important;
    border-color: #fecaca;
    background: #fff5f5;
}

.tzq-dk-nav-btn-danger:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b !important;
}

.tzq-dk-nav-btn-danger svg {
    color: currentColor;
    opacity: 1;
}

.tzq-faq-section.tzq-content {
    padding: 0 22px 22px;
}

.tzq-dk-footer-actions-wrap {
    margin-top: var(--tzq-spacing-6);
}

.tzq-dk-search-wrap {
    margin-bottom: var(--tzq-spacing-6);
    display: flex;
    justify-content: center;
}

.tzq-dk-search-input:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.tzq-dk-search-input:focus+svg {
    color: var(--tzq-primary);
}

.tzq-dk-accordion-container {
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-5);
}

.tzq-accordion-title {
    display: flex;
    align-items: center;
    gap: var(--tzq-spacing-2-5, 0.625rem);
    margin: 0;
}

.tzq-accordion-header-icon {
    display: inline-flex;
    align-items: center;
    color: var(--tzq-primary, var(--tzq-purple-600));
}

@media (min-width: 640px) {
    .tzq-arch-book-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .tzq-dk-hero-cover-wrap {
        width: 180px;
        max-width: none;
    }

}

@media (min-width: 1024px) {
    .tzq-dk-viewer-header {
        display: none !important;
    }

    .tzq-dk-sayfa-grid {
        grid-template-columns: var(--tzq-sidebar-width, clamp(340px, 32vw, 420px)) 1fr;
        align-items: start;
    }

    .tzq-arch-book-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1023px) {
    .tzq-dk-mobile-menu-btn-prominent {
        display: inline-flex;
    }

    .tzq-dk-page-sidebar {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        background: var(--tzq-bg-secondary) !important;
        max-height: 100vh;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        overflow-y: auto !important;
    }

    .tzq-dk-page-sidebar.active {
        display: flex !important;
    }

    .tzq-dk-sidebar-close {
        display: flex !important;
    }
}

@media (max-width: 992px) {
    .tzq-kitap-portal-layout {
        grid-template-columns: 1fr;
    }

    .tzq-kitap-portal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--tzq-spacing-5);
    }

    .tzq-mobile-filter-btn {
        display: flex;
    }

    .tzq-kitap-portal-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
    }

    .tzq-kitap-portal-sidebar.active {
        opacity: 1;
        visibility: visible;
    }

    .tzq-kitap-sidebar-inner {
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
        height: 100%;
        border-radius: 0;
        overflow-y: auto;
        transform: translateX(100%);
        padding-top: 60px;
    }

    .tzq-kitap-portal-sidebar.active .tzq-kitap-sidebar-inner {
        transform: translateX(0);
    }

    .tzq-mobile-sidebar-close {
        display: block;
    }
}

@media (max-width: 768px) {

    .tzq-dk-kitap-grid,
    .tzq-dk-sayfa-grid {
        padding: var(--tzq-spacing-4);
        gap: var(--tzq-spacing-4);
    }

    .tzq-dk-board-header,
    .tzq-dk-nav-bar {
        padding: var(--tzq-spacing-5);
        flex-direction: column;
        align-items: stretch;
    }

    .tzq-dk-search-box {
        max-width: none;
    }

    .tzq-dk-actions {
        padding: 0 var(--tzq-spacing-4) var(--tzq-spacing-4);
    }

    .tzq-dk-nav-bar>div {
        justify-content: space-between;
        width: 100%;
    }

    .tzq-arch-toolbar-premium {
        display: flex;
        flex-direction: column;
        gap: var(--tzq-spacing-4);
        align-items: stretch;
    }

    .tzq-arch-search-pill {
        min-width: 0;
    }

    .tzq-arch-filter-group {
        grid-column: 1 / -1;
        flex-direction: column;
        width: 100%;
        gap: var(--tzq-spacing-3);
    }

    .tzq-arch-select-wrapper {
        width: 100%;
    }

    .tzq-arch-nav-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--tzq-spacing-2);
    }

    .tzq-arch-pills-scroll {
        flex-wrap: wrap;
        width: 100%;
    }



    .tzq-dk-viewer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--tzq-spacing-3);
        flex-direction: column;
    }

    .tzq-dk-viewer-title {
        font-size: var(--tzq-text-xl);
    }

    .tzq-dk-nav-bar {
        padding: var(--tzq-spacing-4);
        flex-direction: column;
        align-items: stretch;
        gap: var(--tzq-spacing-4);
    }

    .tzq-dk-nav-group {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .tzq-dk-viewer-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: var(--tzq-spacing-2);
        padding: var(--tzq-spacing-2) var(--tzq-spacing-3);
    }

    .tzq-dk-viewer-tab {
        flex: 1 1 auto;
        padding: var(--tzq-spacing-2) var(--tzq-spacing-2-5);
        font-size: var(--tzq-text-xs);
        text-align: center;
        min-width: 0;
    }

    .tzq-dk-viewer-tools {
        width: auto;
        margin-left: auto;
        padding-top: 0;
        border-top: none;
        display: flex;
        gap: var(--tzq-spacing-2);
    }

    .tzq-dk-tool-btn {
        flex: 1 1 auto;
        padding: var(--tzq-spacing-2) var(--tzq-spacing-2-5);
        font-size: var(--tzq-text-xs);
    }
}

.tzq-section-title {
    color: var(--tzq-text-primary, #0f172a) !important;
}

.tzq-section-subtitle {
    color: var(--tzq-text-secondary, #475569) !important;
}

.tzq-sidebar-3d-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ==========================================================================
   Textbook Answers - List Card View Layout
   ========================================================================== */
.tzq-arch-book-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 auto !important;
    grid-template-columns: none !important;
    /* Grid şablonunu devre dışı bırakıyoruz */
}

.tzq-dk-list-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--tzq-border-light, #e2e8f0);
    border-radius: 12px;
    padding: 12px 20px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    box-sizing: border-box;
}

.tzq-dk-list-card:hover {
    border-color: var(--tzq-primary, var(--tzq-purple-600));
    box-shadow: 0 4px 15px rgba(var(--tzq-primary-rgb), 0.08);
    transform: translateY(-2px);
}

.tzq-dk-list-thumb {
    width: 60px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px 6px 6px 4px;
    overflow: hidden;
    background: var(--tzq-bg-secondary, #f1f5f9);
    margin-right: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 2px solid rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.15), inset 1px 0 0 rgba(255, 255, 255, 0.2);
    perspective: 1000px;
}

.tzq-dk-list-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 2;
}

.tzq-dk-list-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
    z-index: 2;
}

.tzq-dk-list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tzq-dk-list-fallback {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
}

.tzq-dk-list-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    /* Metin kırpma (ellipse) için önemli */
}

.tzq-dk-list-title {
    margin: 0;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--tzq-text-primary, #1e293b) !important;
    line-height: 1.4;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s ease !important;
}

.tzq-dk-list-card:hover .tzq-dk-list-title {
    color: var(--tzq-primary, var(--tzq-purple-600)) !important;
}

.tzq-dk-list-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tzq-dk-list-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
}

.tzq-dk-list-badge--primary {
    background: rgba(var(--tzq-primary-rgb), 0.08);
    color: var(--tzq-primary, var(--tzq-purple-600));
}

.tzq-dk-list-publisher {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    margin-left: 4px;
}

.tzq-dk-list-action {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: 16px;
}

.tzq-dk-list-btn {
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(var(--tzq-primary-rgb), 0.06);
    color: var(--tzq-primary, var(--tzq-purple-600));
    transition: all 0.2s ease;
}

.tzq-dk-list-card:hover .tzq-dk-list-btn {
    background: var(--tzq-primary, var(--tzq-purple-600));
    color: #ffffff;
}

.tzq-dk-list-arrow {
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.tzq-dk-list-card:hover .tzq-dk-list-arrow {
    color: var(--tzq-primary, var(--tzq-purple-600));
    transform: translateX(4px);
}

/* Mobil Cihazlar İçin Sıkıştırma */
@media (max-width: 768px) {
    .tzq-dk-list-btn {
        display: none;
        /* Butonu gizleyip sadece ok işaretini bırakıyoruz */
    }

    .tzq-dk-list-card {
        padding: 10px 14px;
    }

    .tzq-dk-list-thumb {
        margin-right: 14px;
    }

    .tzq-dk-list-title {
        font-size: 0.95rem !important;
    }

    .tzq-dk-list-meta {
        gap: 6px;
    }
}

#tzq-dk-pages-container.tzq-accordion .tzq-accordion-item.is-active {
    border-color: #4f46e5 !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}

#tzq-dk-pages-container.tzq-accordion .tzq-accordion-header {
    cursor: pointer;
    user-select: none;
}

#tzq-dk-pages-container.tzq-accordion .tzq-accordion-header.tzq-section-header__title {
    padding: 0 16px 0 0 !important;
    align-items: center !important;
    gap: 16px !important;
    min-height: 48px;
}

#tzq-dk-pages-container.tzq-accordion .tzq-accordion-header:hover {
    filter: brightness(1.05);
}

#tzq-dk-pages-container.tzq-accordion .tzq-accordion-title {
    margin: 0 !important;
    font-size: var(--tzq-text-sm, 14px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.015em;
    flex-grow: 1;
}

#tzq-dk-pages-container.tzq-accordion .tzq-accordion-icon {
    color: #ffffff !important;
    margin-right: 16px;
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

#tzq-dk-pages-container.tzq-accordion .tzq-accordion-item.is-active .tzq-accordion-icon {
    transform: rotate(180deg);
}

#tzq-dk-pages-container.tzq-accordion .tzq-accordion-content {
    border-top: none;
}

/* ─────────────────────────────────────────────────────────── */
/* ── ÇALIŞMA MASAM (STUDY DESK) STYLES ── */
/* ─────────────────────────────────────────────────────────── */

.tzq-study-desk-container {
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-5, 1.25rem);
    padding: var(--tzq-spacing-4, 1rem) 0;
}

.tzq-study-desk-card {
    background: #ffffff;
    border: 1px solid var(--tzq-border-light, #e2e8f0);
    border-left: 4px solid var(--tzq-primary, #4f46e5);
    border-radius: var(--tzq-radius-lg, 12px);
    padding: var(--tzq-spacing-6, 1.5rem);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tzq-study-desk-card:hover {
    box-shadow: 0 12px 20px -8px rgba(79, 70, 229, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.tzq-study-desk-card__title {
    font-size: var(--tzq-text-lg, 1.125rem);
    font-weight: var(--tzq-font-extrabold, 800);
    color: var(--tzq-text-primary, #1e293b);
    margin: 0 0 var(--tzq-spacing-1, 0.25rem) 0;
    display: flex;
    align-items: center;
    gap: var(--tzq-spacing-2, 0.5rem);
}

.tzq-study-desk-card__title svg,
.tzq-study-desk-card__title i,
.tzq-study-desk-card__title .ph {
    color: var(--tzq-primary, #4f46e5);
}

.tzq-study-desk-card__subtitle {
    font-size: var(--tzq-text-xs, 0.75rem);
    color: var(--tzq-text-secondary, #64748b);
    margin: 0 0 var(--tzq-spacing-4, 1rem) 0;
    line-height: 1.4;
}

/* Kişisel Notlarım Textarea */
.tzq-study-desk-card .tzq-dk-answer-textarea {
    width: 100%;
    min-height: 140px;
    border-radius: var(--tzq-radius-md, 8px);
    border: 1px solid var(--tzq-border-light, #cbd5e1);
    padding: var(--tzq-spacing-3, 0.75rem);
    font-size: var(--tzq-text-sm, 0.875rem);
    resize: vertical;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tzq-study-desk-card .tzq-dk-answer-textarea:focus {
    border-color: var(--tzq-primary, #4f46e5);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    outline: none;
}

/* Pomodoro Sayacı */
.tzq-pomodoro-card {
    background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
    border-color: rgba(79, 70, 229, 0.15);
}

.tzq-pomodoro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--tzq-spacing-4, 1rem);
    padding: var(--tzq-spacing-2, 0.5rem) 0;
}

.tzq-pomodoro-timer-display {
    font-size: 3rem;
    font-weight: 900;
    color: var(--tzq-slate-900, #0f172a);
    font-family: monospace, monospace;
    letter-spacing: -1px;
    line-height: 1;
    text-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.tzq-pomodoro-status {
    font-size: var(--tzq-text-xs, 0.75rem);
    font-weight: var(--tzq-font-bold, 700);
    color: var(--tzq-primary, #4f46e5);
    background: rgba(79, 70, 229, 0.08);
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 4px;
}

.tzq-pomodoro-presets {
    display: flex;
    gap: var(--tzq-spacing-2, 0.5rem);
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.tzq-pomo-preset-btn {
    background: #ffffff;
    border: 1px solid var(--tzq-border-light, #cbd5e1);
    color: var(--tzq-text-secondary, #64748b);
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: var(--tzq-text-xxs, 0.7rem);
    font-weight: var(--tzq-font-bold, 700);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tzq-pomo-preset-btn:hover,
.tzq-pomo-preset-btn.active {
    color: #ffffff;
    background: var(--tzq-primary, #4f46e5);
    border-color: var(--tzq-primary, #4f46e5);
}

.tzq-pomo-preset-btn.active {
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.tzq-pomodoro-controls {
    display: flex;
    gap: var(--tzq-spacing-3, 0.75rem);
    margin-top: 4px;
}

.tzq-pomodoro-control-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--tzq-radius-md, 8px);
    font-size: var(--tzq-text-xs, 0.75rem);
    font-weight: var(--tzq-font-bold, 700);
    cursor: pointer;
    border: none;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tzq-pomodoro-control-btn.play {
    background: #22c55e;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.tzq-pomodoro-control-btn.play:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

.tzq-pomodoro-control-btn.play.paused {
    background: #eab308;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
}

.tzq-pomodoro-control-btn.play.paused:hover {
    background: #ca8a04;
}

.tzq-pomodoro-control-btn.reset {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.tzq-pomodoro-control-btn.reset:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Upload Form Elements */
.tzq-study-desk-form {
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-4, 1rem);
}

.tzq-form-group {
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-1-5, 0.375rem);
}

.tzq-form-label {
    font-size: var(--tzq-text-xs, 0.75rem);
    font-weight: var(--tzq-font-bold, 700);
    color: var(--tzq-text-primary, #1e293b);
}

.tzq-form-input,
.tzq-form-textarea {
    width: 100%;
    padding: var(--tzq-spacing-3, 0.75rem) var(--tzq-spacing-4, 1rem);
    border: 1px solid var(--tzq-border-light, #cbd5e1);
    border-radius: var(--tzq-radius-md, 8px);
    font-size: var(--tzq-text-sm, 0.875rem);
    color: var(--tzq-text-primary, #1e293b);
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tzq-form-textarea {
    min-height: 80px;
    resize: vertical;
}

.tzq-form-input:focus,
.tzq-form-textarea:focus {
    outline: none;
    border-color: var(--tzq-primary, #4f46e5);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Drag and Drop Zone */
.tzq-upload-zone {
    position: relative;
    border: 2px dashed var(--tzq-border-light, #cbd5e1);
    border-radius: var(--tzq-radius-md, 8px);
    padding: var(--tzq-spacing-6, 1.5rem) var(--tzq-spacing-4, 1rem);
    text-align: center;
    background: var(--tzq-bg-secondary, #f8fafc);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tzq-upload-zone:hover,
.tzq-upload-zone.dragover {
    background: rgba(79, 70, 229, 0.02);
    border-color: var(--tzq-primary, #4f46e5);
}

.tzq-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.tzq-upload-icon {
    font-size: var(--tzq-text-3xl, 1.875rem);
    color: var(--tzq-text-secondary, #64748b);
    margin-bottom: var(--tzq-spacing-2, 0.5rem);
    transition: transform 0.3s ease, color 0.3s ease;
}

.tzq-upload-zone:hover .tzq-upload-icon {
    transform: translateY(-2px);
    color: var(--tzq-primary, #4f46e5);
}

.tzq-upload-text {
    font-size: var(--tzq-text-sm, 0.875rem);
    color: var(--tzq-text-primary, #334155);
    margin: 0 0 var(--tzq-spacing-1, 0.25rem) 0;
}

.tzq-upload-hint {
    font-size: var(--tzq-text-xxs, 0.65rem);
    color: var(--tzq-text-secondary, #94a3b8);
    margin: 0;
}

/* Selected File Info */
.tzq-upload-selected-file {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: var(--tzq-spacing-2, 0.5rem) var(--tzq-spacing-3, 0.75rem);
    border-radius: var(--tzq-radius-md, 6px);
    margin-top: var(--tzq-spacing-2, 0.5rem);
    animation: fadein 0.3s ease;
}

.tzq-file-icon {
    color: var(--tzq-primary, #4f46e5);
    font-size: 1.15rem;
    margin-right: var(--tzq-spacing-2, 0.5rem);
}

.tzq-file-name {
    font-size: var(--tzq-text-xs, 0.75rem);
    color: var(--tzq-text-primary, #334155);
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tzq-file-remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: var(--tzq-spacing-2, 0.5rem);
    transition: opacity 0.2s ease;
}

.tzq-file-remove-btn:hover {
    opacity: 0.8;
}

/* Progress bar */
.tzq-upload-progress-wrapper {
    display: flex;
    align-items: center;
    gap: var(--tzq-spacing-3, 0.75rem);
    margin-top: var(--tzq-spacing-2, 0.5rem);
}

.tzq-upload-progress-bar {
    flex-grow: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}

.tzq-upload-progress-fill {
    height: 100%;
    background: var(--tzq-primary, #4f46e5);
    border-radius: 9999px;
    transition: width 0.1s ease;
}

.tzq-upload-progress-percent {
    font-size: var(--tzq-text-xs, 0.75rem);
    font-weight: var(--tzq-font-bold, 700);
    color: var(--tzq-text-primary, #334155);
    min-width: 32px;
    text-align: right;
}

/* Submit Button & Alerts */
.tzq-form-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--tzq-spacing-2, 0.5rem);
    padding: var(--tzq-spacing-3, 0.75rem);
    font-weight: var(--tzq-font-bold, 700);
    font-size: var(--tzq-text-sm, 0.875rem);
    border-radius: var(--tzq-radius-md, 8px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tzq-form-status-alert {
    padding: var(--tzq-spacing-3, 0.75rem) var(--tzq-spacing-4, 1rem);
    border-radius: var(--tzq-radius-md, 8px);
    font-size: var(--tzq-text-xs, 0.75rem);
    line-height: 1.5;
    animation: fadein 0.3s ease;
}

.tzq-form-status-alert.success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.tzq-form-status-alert.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.tzq-form-status-alert.info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

/* Solutions & Comments Feed Column */
.tzq-study-desk-feed-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.tzq-solutions-feed {
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-4, 1rem);
    margin-top: var(--tzq-spacing-2, 0.5rem);
    max-height: 500px;
    overflow-y: auto;
    padding-right: var(--tzq-spacing-2, 0.5rem);
}

/* Custom Scrollbar for solutions feed */
.tzq-solutions-feed::-webkit-scrollbar {
    width: 6px;
}

.tzq-solutions-feed::-webkit-scrollbar-track {
    background: transparent;
}

.tzq-solutions-feed::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

.tzq-solutions-feed::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Solution Comment Card */
.tzq-solution-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--tzq-radius-md, 8px);
    padding: var(--tzq-spacing-4, 1rem);
    transition: transform 0.25s ease, border-color 0.25s ease;
    animation: fadein 0.4s ease;
}

.tzq-solution-card:hover {
    border-color: #cbd5e1;
}

.tzq-solution-card__header {
    display: flex;
    align-items: center;
    gap: var(--tzq-spacing-3, 0.75rem);
    margin-bottom: var(--tzq-spacing-3, 0.75rem);
}

.tzq-solution-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tzq-primary, #4f46e5) 0%, #a78bfa 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--tzq-text-xs, 0.75rem);
    font-weight: var(--tzq-font-bold, 700);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.15);
}

.tzq-solution-card__meta {
    display: flex;
    flex-direction: column;
}

.tzq-solution-card__author {
    font-size: var(--tzq-text-xs, 0.75rem);
    font-weight: var(--tzq-font-bold, 700);
    color: var(--tzq-text-primary, #1e293b);
}

.tzq-solution-card__date {
    font-size: var(--tzq-text-xxs, 0.65rem);
    color: var(--tzq-text-secondary, #64748b);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 1px;
}

.tzq-solution-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-3, 0.75rem);
}

.tzq-solution-card__text {
    font-size: var(--tzq-text-sm, 0.875rem);
    color: #334155;
    line-height: 1.5;
    margin: 0;
    word-break: break-word;
}

/* Video & Image Wrappers */
.tzq-solution-card__image-wrapper,
.tzq-solution-card__video-wrapper {
    position: relative;
    border-radius: var(--tzq-radius-md, 6px);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    max-height: 200px;
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tzq-solution-card__image {
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.tzq-solution-card__image:hover {
    opacity: 0.95;
}

.tzq-solution-card__video {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    outline: none;
}

/* Zoom badge on hover image */
.tzq-solution-card__zoom-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: var(--tzq-text-xxs, 0.65rem);
    font-weight: var(--tzq-font-bold, 700);
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tzq-solution-card__image-wrapper:hover .tzq-solution-card__zoom-badge {
    opacity: 1;
}

/* Empty feed state */
.tzq-feed-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--tzq-spacing-10, 2.5rem) var(--tzq-spacing-6, 1.5rem);
    background: #faf5ff;
    border: 2px dashed rgba(79, 70, 229, 0.2);
    border-radius: var(--tzq-radius-lg, 12px);
    height: 100%;
    margin-top: var(--tzq-spacing-2, 0.5rem);
}

.tzq-feed-empty-state__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.06);
    color: var(--tzq-primary, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--tzq-text-xl, 1.25rem);
    margin-bottom: var(--tzq-spacing-4, 1rem);
}

.tzq-feed-empty-state__title {
    font-size: var(--tzq-text-sm, 0.875rem);
    font-weight: var(--tzq-font-bold, 700);
    color: var(--tzq-text-primary, #1e293b);
    margin: 0 0 var(--tzq-spacing-1-5, 0.375rem) 0;
}

.tzq-feed-empty-state__desc {
    font-size: var(--tzq-text-xs, 0.75rem);
    color: var(--tzq-text-secondary, #64748b);
    line-height: 1.5;
    margin: 0;
    max-width: 280px;
}

/* Lightbox Modal */
.tzq-solution-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tzq-solution-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.tzq-solution-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.tzq-solution-lightbox.active .tzq-solution-lightbox-content {
    transform: scale(1);
}

.tzq-solution-lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
}

.tzq-solution-lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.tzq-solution-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}


/* ─────────────────────────────────────────────────────────── */
/* ── SAYFA ÇALIŞMA DURUMU (PAGE STUDY TRACKER) STYLES ── */
/* ─────────────────────────────────────────────────────────── */

.tzq-study-tracker-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.04) 0%, rgba(34, 197, 94, 0.08) 100%);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: var(--tzq-radius-lg, 12px);
    padding: var(--tzq-spacing-4, 1rem) var(--tzq-spacing-5, 1.25rem);
}

.tzq-study-tracker-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tzq-study-tracker-title {
    font-size: var(--tzq-text-sm, 0.875rem);
    font-weight: var(--tzq-font-extrabold, 800);
    color: var(--tzq-success-dark, #15803d);
    margin: 0;
    letter-spacing: -0.01em;
}

.tzq-study-tracker-desc {
    font-size: var(--tzq-text-xs, 0.75rem);
    color: var(--tzq-text-secondary, #64748b);
    margin: 0;
    line-height: 1.4;
}

/* Tracker button modifications */
.tzq-page-tracker-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--tzq-spacing-2, 0.5rem);
    font-size: var(--tzq-text-xs, 0.75rem);
    font-weight: var(--tzq-font-bold, 700);
    padding: 8px 16px;
    border-radius: var(--tzq-radius-md, 8px);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: fit-content;
    white-space: nowrap;
}

.tzq-page-tracker-btn.tzq-btn--outline {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.tzq-page-tracker-btn.tzq-btn--outline:hover {
    border-color: var(--tzq-primary, #4f46e5);
    color: var(--tzq-primary, #4f46e5);
    background: rgba(79, 70, 229, 0.02);
}

.tzq-page-tracker-btn.tzq-btn--success.done {
    background: #22c55e !important;
    border-color: #22c55e !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.2);
}

.tzq-page-tracker-btn.tzq-btn--success.done:hover {
    background: #16a34a !important;
    border-color: #16a34a !important;
    transform: translateY(-1px);
}

/* Completed indicator in Sidebar link */
.tzq-dk-pg-link.page-done {
    border-color: rgba(34, 197, 94, 0.35) !important;
    background: rgba(34, 197, 94, 0.02) !important;
}

.tzq-dk-pg-link.page-done:hover {
    background: rgba(34, 197, 94, 0.06) !important;
}

.tzq-dk-pg-link.page-done.current {
    background: var(--tzq-primary) !important;
    border-color: var(--tzq-primary) !important;
}

.tzq-sidebar-tracker-indicator {
    font-size: var(--tzq-text-sm, 0.875rem);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.tzq-dk-pg-link:hover .tzq-sidebar-tracker-indicator {
    transform: scale(1.15);
}

@media (max-width: 576px) {
    .tzq-study-tracker-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: var(--tzq-spacing-3, 0.75rem);
        padding: var(--tzq-spacing-4, 1rem);
        margin: var(--tzq-spacing-4, 1rem);
    }

    .tzq-study-tracker-actions {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: var(--tzq-spacing-2, 8px);
    }

    .tzq-page-tracker-btn,
    .tzq-page-helpful-btn-new {
        flex: 1;
        justify-content: center;
        padding: 8px 10px;
    }
}


/* Top Row Layout for Notlarım & Pomodoro */
.tzq-study-desk-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tzq-spacing-6, 1.5rem);
    width: 100%;
}

@media (max-width: 576px) {
    .tzq-study-desk-top-row {
        grid-template-columns: 1fr;
    }
}

/* Comment Form File Upload Styling */
.comment-form-file {
    margin-bottom: var(--tzq-spacing-4, 1rem);
}

.comment-form-file label {
    display: block;
    margin-bottom: var(--tzq-spacing-2, 0.5rem);
    font-size: var(--tzq-text-sm, 0.875rem);
    font-weight: var(--tzq-font-bold, 700);
    color: var(--tzq-text-primary, #1e293b);
}

.tzq-file-input {
    display: block;
    width: 100%;
    padding: var(--tzq-spacing-2, 0.5rem) var(--tzq-spacing-3, 0.75rem);
    font-size: var(--tzq-text-xs, 0.75rem);
    color: var(--tzq-text-secondary, #64748b);
    background: #f8fafc;
    border: 1px dashed var(--tzq-border-light, #e2e8f0);
    border-radius: var(--tzq-radius-md, 6px);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tzq-file-input:hover {
    background: #f1f5f9;
    border-color: var(--tzq-primary, #3b82f6);
}

/* Comment Uploaded Solution Attachment Styling */
.tzq-comment-solution-attachment {
    margin-top: var(--tzq-spacing-3, 0.75rem);
    margin-bottom: var(--tzq-spacing-2, 0.5rem);
}

.tzq-comment-image {
    max-width: 220px;
    max-height: 220px;
    object-fit: cover;
    border-radius: var(--tzq-radius-md, 8px);
    border: 1px solid var(--tzq-border-light, #e2e8f0);
    cursor: pointer;
    display: block;
    transition: transform 0.2s ease-in-out;
}

.tzq-comment-image:hover {
    transform: scale(1.025);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tzq-comment-video {
    max-width: 100%;
    border-radius: var(--tzq-radius-md, 8px);
    border: 1px solid var(--tzq-border-light, #e2e8f0);
    display: block;
}

/* Textbook Index Completed Page Button Styling */
.tzq-dk-page-btn.page-done {
    border-color: rgba(34, 197, 94, 0.35) !important;
    background: rgba(34, 197, 94, 0.03) !important;
    position: relative;
}

.tzq-dk-page-btn.page-done:hover {
    background: rgba(34, 197, 94, 0.08) !important;
}

/* Inline Comment Form Styling */
.tzq-inline-comment-form {
    width: 100%;
    margin-top: var(--tzq-spacing-2, 0.5rem);
}

.tzq-inline-comment-form .comment-form {
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-4, 1rem);
}

.tzq-inline-comment-form .comment-form-comment textarea {
    width: 100%;
    min-height: 120px;
    padding: var(--tzq-spacing-3, 0.75rem);
    border: 1px solid var(--tzq-border-light, #e2e8f0);
    border-radius: var(--tzq-radius-md, 6px);
    font-size: var(--tzq-text-sm, 0.875rem);
    outline: none;
    transition: border-color 0.2s;
}

.tzq-inline-comment-form .comment-form-comment textarea:focus {
    border-color: var(--tzq-primary, #2563eb);
}

.tzq-inline-comment-form .form-submit input[type="submit"] {
    background-color: var(--tzq-primary, #2563eb);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--tzq-radius-md, 6px);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.tzq-inline-comment-form .form-submit input[type="submit"]:hover {
    background-color: #1d4ed8;
}

/* Micro-animations and Optimizations */
@keyframes tzqPopIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.tzq-sidebar-tracker-indicator,
.tzq-index-tracker-indicator {
    animation: tzqPopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.tzq-share-solution-card .tzq-study-desk-card__title {
    color: var(--tzq-primary, #2563eb) !important;
}

.tzq-dk-disclaimer-box {
    padding: 15px !important;
    background: rgba(37, 99, 235, 0.05) !important;
    border-left: 4px solid #2563eb !important;
    border-radius: 4px !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    color: var(--tzq-slate-700, #334155) !important;
}

.tzq-dk-disclaimer-box p {
    margin: 0 !important;
}

.tzq-comments-area {
    border-top: 1px solid var(--tzq-border-light, #e2e8f0) !important;
    margin-top: var(--tzq-spacing-6, 2rem) !important;
    padding-top: var(--tzq-spacing-6, 2rem) !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    margin-bottom: 20px !important;
}

/* Immersive Fullscreen Overlay */
.tzq-fs-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    flex-direction: column;
}

.tzq-fs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(30, 41, 59, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tzq-fs-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
}

.tzq-fs-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tzq-fs-btn,
.tzq-fs-close {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
}

.tzq-fs-btn:hover,
.tzq-fs-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.tzq-fs-close {
    background: #ef4444;
}

.tzq-fs-close:hover {
    background: #dc2626;
}

.tzq-fs-body {
    flex: 1;
    overflow: auto;
    display: flex;
    cursor: grab;
    padding: 24px;
}

.tzq-fs-body.dragging {
    cursor: grabbing;
}

.tzq-fs-image-container {
    display: block;
    margin: auto;
    max-width: 100%;
}

.tzq-fs-image {
    max-width: 90vw;
    max-height: 85vh;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    user-select: none;
}

/* Custom Upload Form Styling - Çalışma Masam */
.tzq-comment-upload-box {
    margin-top: var(--tzq-spacing-4, 1rem);
    margin-bottom: var(--tzq-spacing-4, 1rem);
    width: 100%;
}

.tzq-upload-dropzone {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: var(--tzq-radius-lg, 12px);
    padding: var(--tzq-spacing-6, 1.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
}

.tzq-upload-dropzone:hover,
.tzq-upload-dropzone.dragover {
    border-color: var(--tzq-primary, #4f46e5);
    background: rgba(79, 70, 229, 0.02);
}

.tzq-dropzone-icon {
    font-size: 32px;
    color: var(--tzq-text-secondary, #64748b);
    margin-bottom: var(--tzq-spacing-2, 0.5rem);
    transition: transform 0.2s ease, color 0.2s ease;
}

.tzq-upload-dropzone:hover .tzq-dropzone-icon {
    transform: translateY(-2px);
    color: var(--tzq-primary, #4f46e5);
}

.tzq-dropzone-text {
    font-size: var(--tzq-text-sm, 0.875rem);
    font-weight: var(--tzq-font-semibold, 600);
    color: var(--tzq-text-primary, #0f172a);
    margin-bottom: 2px;
}

.tzq-dropzone-hint {
    font-size: var(--tzq-text-xs, 0.75rem);
    color: var(--tzq-text-muted, #64748b);
}

.tzq-dropzone-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.tzq-selected-file-info {
    display: flex;
    align-items: center;
    gap: var(--tzq-spacing-2, 8px);
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 10px 14px;
    border-radius: var(--tzq-radius-md, 8px);
    margin-top: 8px;
}

.tzq-file-icon {
    color: #16a34a;
    font-size: 20px;
}

.tzq-selected-file-name {
    font-size: var(--tzq-text-sm, 14px);
    font-weight: 500;
    color: #166534;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tzq-selected-file-remove {
    background: transparent;
    border: none;
    color: #b91c1c;
    cursor: pointer;
    font-weight: 600;
    font-size: var(--tzq-text-sm, 14px);
    display: flex;
    align-items: center;
    gap: 4px;
}

.tzq-selected-file-remove:hover {
    color: #991b1b;
}



.tzq-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

/* ==========================================================================
   Textbook Answers - UX Enhancements
   ========================================================================== */

.tzq-dk-page {
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-6, 24px);
}

.tzq-dk-top-layout {
    display: flex;
    flex-direction: column;
    gap: var(--tzq-spacing-6, 24px);
}

/* Geliştirme A - Desktop Collapsible Sidebar Toggle Buttons */
.tzq-dk-sidebar-toggle-desktop-btn {
    display: none;
    /* Hidden on mobile */
}

.tzq-dk-sidebar-reopen-desktop-btn {
    display: none;
    /* Hidden on mobile */
}

@media (min-width: 1024px) {
    .tzq-dk-sidebar-toggle-desktop-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: #ffffff;
        border: 1px solid var(--tzq-border-light, #e2e8f0);
        border-radius: var(--tzq-radius-md, 8px);
        color: var(--tzq-text-secondary, #64748b);
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0;
    }

    .tzq-dk-sidebar-toggle-desktop-btn:hover {
        background: var(--tzq-bg-secondary, #f1f5f9);
        color: var(--tzq-text-primary, #0f172a);
        border-color: var(--tzq-border-medium, #cbd5e1);
    }

    .tzq-dk-sidebar-reopen-desktop-btn {
        display: none;
        /* Dynamically shown by JS when collapsed */
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: #ffffff;
        border: 1px solid var(--tzq-border-light, #e2e8f0);
        border-radius: var(--tzq-radius-md, 8px);
        color: var(--tzq-text-secondary, #64748b);
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0;
        margin-right: 12px;
        flex-shrink: 0;
    }

    .tzq-dk-sidebar-reopen-desktop-btn:hover {
        background: var(--tzq-bg-secondary, #f1f5f9);
        color: var(--tzq-text-primary, #0f172a);
        border-color: var(--tzq-border-medium, #cbd5e1);
    }

    /* Collapsed Sidebar State Rules */
    .tzq-dk-sayfa-grid.tzq-sidebar-collapsed {
        grid-template-columns: 1fr !important;
    }

    .tzq-dk-sayfa-grid.tzq-sidebar-collapsed .tzq-dk-page-sidebar {
        display: none !important;
    }

    .tzq-dk-sayfa-grid.tzq-sidebar-collapsed .tzq-dk-sidebar-reopen-desktop-btn {
        display: inline-flex !important;
    }
}

/* Geliştirme B - Floating Image Navigation Arrows */
.tzq-dk-image-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.tzq-dk-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 64px;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;
    opacity: 0;
    /* Hidden by default on desktop, revealed on hover */
}

.tzq-dk-image-wrap:hover .tzq-dk-image-nav {
    opacity: 1;
}

.tzq-dk-image-nav:hover {
    background: rgba(15, 23, 42, 0.85);
    width: 56px;
}

.tzq-dk-image-nav--prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.tzq-dk-image-nav--next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.tzq-dk-image-nav.disabled {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Mobile responsive navigation arrows */
@media (max-width: 1023px) {
    .tzq-dk-image-nav {
        opacity: 0.8;
        /* Always visible on mobile/tablets */
        width: 40px;
        height: 56px;
        background: rgba(15, 23, 42, 0.55);
        font-size: 20px;
    }

    .tzq-dk-image-nav:hover {
        width: 40px;
        background: rgba(15, 23, 42, 0.7);
    }
}

/* 2-Column Desktop Goodreads Style layout for kitap index */
@media (min-width: 1024px) {
    .tzq-dk-page {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--tzq-spacing-6, 24px) !important;
        max-width: 1280px;
    }

    .tzq-dk-top-layout {
        display: grid;
        grid-template-columns: 320px 1fr;
        gap: var(--tzq-spacing-6, 24px);
        align-items: start;
        width: 100%;
    }

    .tzq-dk-page .tzq-dk-unit-list {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--tzq-spacing-2, 8px) !important;
    }

    .tzq-dk-page .tzq-dk-unit-link {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: var(--tzq-spacing-2, 8px) var(--tzq-spacing-3, 12px) !important;
        background: #ffffff !important;
        border: 1px solid var(--tzq-border-light, #e2e8f0) !important;
        border-radius: var(--tzq-radius-md, 8px) !important;
        font-size: var(--tzq-text-xs, 12px) !important;
        font-weight: 600 !important;
        color: var(--tzq-text-secondary, #475569) !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    .tzq-dk-page .tzq-dk-unit-link:hover {
        background: var(--tzq-primary-light, #f5f3ff) !important;
        border-color: var(--tzq-primary-light, #c084fc) !important;
        color: var(--tzq-primary, #6b21a8) !important;
    }

    .tzq-dk-page .tzq-dk-kitap-content,
    .tzq-dk-page .tzq-dk-kitap-bottom {
        padding: var(--tzq-spacing-6) !important;
        width: 100% !important;
    }
}


/* 6. Globally Unified Hero simple-meta & unit-nav layouts */
.tzq-dk-hero-simple-meta {
    font-size: var(--tzq-text-xs) !important;
    line-height: 1.6 !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 280px !important;
    gap: var(--tzq-spacing-2, 8px) !important;
}

/* Mobile & Tablet: cover-wrap & simple-meta side-by-side (under 1024px) */
@media (max-width: 1023px) {
    .tzq-dk-kitap-hero {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: var(--tzq-spacing-4, 16px) !important;
    }

    .tzq-dk-hero-cover-wrap {
        flex: 0 0 90px !important;
        width: 90px !important;
        margin: 0 !important;
    }

    .tzq-dk-hero-simple-meta {
        flex: 1 !important;
        max-width: none !important;
        margin: 0 !important;
        align-self: center !important;
    }

    .tzq-dk-unit-nav {
        width: 100% !important;
        margin-top: 8px !important;
    }

    .tzq-dk-hero-subtitle {
        width: 100% !important;
        margin-top: 8px !important;
    }
}

/* ==========================================================================
   7. Çözüm Sekmesi Kontrast, Tipografi ve Premium UX Tasarım İyileştirmeleri
   ========================================================================== */

/* Yazılı Çözümler Taşıyıcı Alanı (Gereksiz kenarlıklar ve gölgeler kaldırıldı) */
.tzq-dk-page-solution-text {
    background-color: rgba(30, 64, 175, 0.04) !important; /* Çok hafif mavi tonlu şeffaf arka plan */
    padding: var(--tzq-spacing-6, 24px) !important;
    border-radius: var(--tzq-radius-lg, 12px) !important;
    border: 1px solid var(--tzq-border-light, #e2e8f0) !important;
}

/* Etkinlik Dilimi (Kutular arası mesafe) */
.tzq-dk-page-solution-text .etkinlik-dilimi {
    margin-bottom: var(--tzq-spacing-8, 32px) !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    user-select: text !important;
}

.tzq-dk-page-solution-text .etkinlik-dilimi:last-child {
    margin-bottom: 0 !important;
}

/* Soru Kartı (.kitap-soru-metni) */
.tzq-dk-page-solution-text .kitap-soru-metni {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-left: 4px solid var(--tzq-primary, #4f46e5) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    padding: 24px 20px 20px 20px !important;
    margin-top: 0 !important;
    margin-bottom: var(--tzq-spacing-4, 16px) !important;
}

/* Soru Satırları */
.tzq-dk-page-solution-text .soru-satiri {
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    color: var(--tzq-text-secondary, #475569) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    border-left: none !important; /* Çift kenarlık engellendi */
    padding-left: 0 !important;
}

/* Cevap Kartı (.katman-sonuc-kutusu) */
.tzq-dk-page-solution-text .katman-sonuc-kutusu ,.cevap-paneli{
    background: #f0fdf4 !important; /* Hafif yeşil tema */
    border: 1px solid rgba(16, 185, 129, 0.1) !important;
    border-left: 4px solid var(--tzq-success, #10b981) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.03) !important;
    padding: 24px 20px 20px 20px !important;
    margin-top: 0 !important;
}

/* İç İçe Boşluk Yaratan Ara Katmanları Sıfırla (Temizle) */
.tzq-dk-page-solution-text .soru-cevap-bloku {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Cevap Paragrafı (Metin Boyutları ve Okunabilirlik) */
.tzq-dk-page-solution-text .cevap-paragrafi {
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: var(--tzq-text-secondary, #334155) !important;
    line-height: 1.65 !important;
    margin: 0 0 12px 0 !important;
}

.tzq-dk-page-solution-text .cevap-paragrafi:last-child {
    margin-bottom: 0 !important;
}

/* Dinamik Rozet (Badge) Tasarımları (Mavi) */
.tzq-dk-page-solution-text .tzq-solution-badge {
    background-color: rgba(79, 70, 229, 0.08) !important;
    color: var(--tzq-primary, #4f46e5) !important;
    border: 1px solid rgba(79, 70, 229, 0.16) !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 3px 8px !important;
    border-radius: 5px !important;
    margin-right: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    letter-spacing: 0.02em !important;
}

/* Yeşil Rozet Varyasyonu */
.tzq-dk-page-solution-text .tzq-solution-badge--success {
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: var(--tzq-success-dark, #065f46) !important;
    border-color: rgba(16, 185, 129, 0.16) !important;
}

/* Genel Çözüm Sekmesi Başlıkları */
.tzq-dk-page-solution-text h1,
.tzq-dk-page-solution-text h2,
.tzq-dk-page-solution-text h3,
.tzq-dk-page-solution-text h4 {
    color: var(--tzq-text-primary, #0f172a) !important;
    font-weight: 800 !important;
    margin-top: var(--tzq-spacing-8, 32px) !important;
    margin-bottom: var(--tzq-spacing-4, 16px) !important;
    letter-spacing: -0.02em !important;
}

.tzq-dk-page-solution-text h1:first-child,
.tzq-dk-page-solution-text h2:first-child,
.tzq-dk-page-solution-text h3:first-child,
.tzq-dk-page-solution-text h4:first-child {
    margin-top: 0 !important;
}

.tzq-dk-page-solution-text h2 {
    font-size: 1.3rem !important;
    border-bottom: 2px solid var(--tzq-border-light, #e2e8f0) !important;
    padding-bottom: 8px !important;
}

.tzq-dk-page-solution-text h3 {
    font-size: 1.15rem !important;
}

/* Tablolar İçin Modern Premium Tasarım */
.tzq-dk-page-solution-text table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: var(--tzq-spacing-5, 20px) 0 !important;
    font-size: var(--tzq-text-sm, 0.875rem) !important;
    border-radius: var(--tzq-radius-md, 8px) !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid var(--tzq-border-light, #e2e8f0) !important;
}

.tzq-dk-page-solution-text th {
    background-color: rgba(79, 70, 229, 0.05) !important;
    color: var(--tzq-primary-dark, #3730a3) !important;
    font-weight: 700 !important;
    text-align: left !important;
    padding: var(--tzq-spacing-3, 12px) !important;
    border-bottom: 2px solid var(--tzq-border-medium, #cbd5e1) !important;
}

.tzq-dk-page-solution-text td {
    padding: var(--tzq-spacing-3, 12px) !important;
    border-bottom: 1px solid var(--tzq-border-light, #e2e8f0) !important;
    color: var(--tzq-text-secondary, #334155) !important;
}

.tzq-dk-page-solution-text tr:last-child td {
    border-bottom: none !important;
}

.tzq-dk-page-solution-text tr:nth-child(even) {
    background-color: rgba(248, 250, 252, 0.5) !important;
}

/* Mobil Cihazlar İçin Responsive Düzenlemeler (UX) */
@media (max-width: 767px) {
    .tzq-dk-page-solution-text {
        padding: var(--tzq-spacing-4, 16px) !important;
        border-radius: var(--tzq-radius-md, 8px) !important;
    }

    .tzq-dk-page-solution-text .etkinlik-dilimi {
        margin-bottom: var(--tzq-spacing-5, 20px) !important;
    }

    .tzq-dk-page-solution-text .kitap-soru-metni,
    .tzq-dk-page-solution-text .katman-sonuc-kutusu {
        padding: 18px 14px 14px 14px !important;
    }

    .tzq-dk-page-solution-text .soru-satiri {
        font-size: 0.92rem !important;
    }

    .tzq-dk-page-solution-text .cevap-paragrafi {
        font-size: 0.92rem !important;
    }

    .tzq-dk-page-solution-text .tzq-solution-badge {
        font-size: 0.78rem !important;
        padding: 2px 6px !important;
        margin-right: 6px !important;
    }
}

/* AJAX Loading Overlay & Premium Transitions */
.tzq-dk-viewer-card {
    position: relative;
}
.tzq-dk-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.tzq-dk-loading-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.tzq-dk-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(79, 70, 229, 0.1);
    border-top: 4px solid var(--tzq-primary, #4f46e5);
    border-radius: 50%;
    animation: tzq-spin 0.8s linear infinite;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}
@keyframes tzq-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth tab content fade during AJAX */
.tzq-dk-tab-content {
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.tzq-dk-tab-content.ajax-transitioning {
    opacity: 0;
    transform: translateY(6px);
}