/* ============================================================
   SUBSTRAT — KONU ÖZETLERİ
   KOZMİK / DARK TEMA
============================================================ */


/* ============================================================
   RESET
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #05070b;
    color: #f5f5f7;
    font-family: Arial, Helvetica, sans-serif;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ============================================================
   KOZMİK ARKA PLAN
============================================================ */

.space-background {
    position: fixed;
    inset: 0;
    z-index: -10;

    background:
        radial-gradient(
            circle at 72% 18%,
            rgba(128, 64, 190, 0.13),
            transparent 27%
        ),
        radial-gradient(
            circle at 30% 80%,
            rgba(78, 72, 145, 0.08),
            transparent 30%
        ),
        url("galeri/arkaplan.png")
        center center /
        cover
        fixed
        no-repeat;
}

.space-background::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.42),
            rgba(0, 0, 0, 0.18)
        );
}


/* ============================================================
   YILDIZLAR
============================================================ */

.stars {
    position: fixed;
    inset: 0;

    pointer-events: none;
    z-index: -8;

    opacity: 0.45;
}

.stars-1 {
    background-image:
        radial-gradient(circle, rgba(255,255,255,.7) 1px, transparent 1px);

    background-size: 130px 130px;
}

.stars-2 {
    background-image:
        radial-gradient(circle, rgba(255,255,255,.35) 1px, transparent 1px);

    background-size: 210px 210px;

    opacity: .25;
}



.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;

width: var(--sidebar-width) !important;

    padding: 28px 20px;

    background:
        linear-gradient(
            180deg,
            rgba(5,7,10,0.92),
            rgba(4,5,7,0.78)
        );

    border-right:
        1px solid rgba(255,255,255,0.10);

    backdrop-filter: blur(22px);

    z-index: 50;

    display: flex;
    flex-direction: column;
}

/* ============================================================
   SIDEBAR BRAND
============================================================ */

.sidebar-brand {
    display: flex;

    align-items: center;

    gap: 13px;

    padding:
        0
        10px
        34px;
}

.brand-symbol {
    font-size: 28px;

    color: #ffffff;

    line-height: 1;
}

.brand-content {
    min-width: 0;
}

.brand-name {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 23px;

    letter-spacing: 3px;

    color: #ffffff;
}

.brand-subtitle {
    margin-top: 5px;

    font-size: 10px;

    color: #858891;
}


/* ============================================================
   SIDEBAR NAVIGATION
============================================================ */

.sidebar-navigation {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.sidebar-link {
    position: relative;

    height: 54px;

    display: flex;

    align-items: center;

    gap: 18px;

    padding:
        0
        20px;

    border:
        1px solid
        transparent;

    border-radius: 12px;

    color: #d4d5da;

    font-size: 15px;

    transition:
        background .2s ease,
        border .2s ease,
        transform .2s ease;
}

.sidebar-link:hover {
    background:
        rgba(255, 255, 255, 0.04);
}

.sidebar-link.active {
    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(155, 77, 255, 0.15),
            rgba(155, 77, 255, 0.04)
        );

    border-color:
        rgba(177, 110, 255, 0.34);

    box-shadow:
        inset 3px 0 #9b4dff;
}

.sidebar-icon {
    width: 18px;

    text-align: center;

    color: #c9cad0;

    font-size: 17px;
}


/* ============================================================
   SIDEBAR QUOTE
============================================================ */

.sidebar-quote {
    margin:
        35px
        11px
        0;

    padding-top: 14px;

    border-top:
        1px solid
        rgba(155, 77, 255, 0.55);
}

.quote-decoration {
    width: 73px;

    height: 1px;

    margin-bottom: 14px;

    background: #9b4dff;
}

.sidebar-quote p {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    line-height: 1.35;

    font-style: italic;

    color: #d9d9dd;
}

.sidebar-quote span {
    display: block;

    margin-top: 16px;

    color: #777a83;

    font-size: 8px;

    letter-spacing: 4px;
}


/* ============================================================
   SIDEBAR YKS CARD
============================================================ */

.sidebar-yks-card {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 24px;

    padding: 19px;

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius: 15px;

    background:
        rgba(14, 16, 22, .86);
}

.yks-card-label {
    color: #92959e;

    font-size: 9px;

    letter-spacing: 3px;
}

.yks-card-title {
    margin:
        12px
        0
        19px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;

    line-height: 1.25;

    color: #ffffff;
}

.yks-card-button {
    width: 100%;

    height: 39px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0
        13px;

    border:
        1px solid
        rgba(255,255,255,.15);

    border-radius: 8px;

    background:
        rgba(255,255,255,.04);

    color: #eeeeef;

    font-size: 12px;

    transition: .2s ease;
}

.yks-card-button:hover {
    background:
        rgba(155,77,255,.10);

    border-color:
        rgba(155,77,255,.35);
}


/* ============================================================
   MAIN
============================================================ */

.main-content {
    min-height: 100vh;

    margin-left: 290px;

    padding:
        18px
        26px
        50px;
}


/* ============================================================
   TOPBAR
============================================================ */

.topbar {
    height: 66px;

    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 0;
}


/* ============================================================
   TOP SEARCH
============================================================ */

.top-search {
    height: 48px;

    flex: 1;

    max-width: 850px;

    display: flex;

    align-items: center;

    padding:
        0
        15px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 13px;

    background:
        rgba(7,9,14,.72);

    backdrop-filter: blur(15px);
}

.top-search input {
    flex: 1;

    min-width: 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: #ffffff;

    padding:
        0
        12px;

    font-size: 14px;
}

.top-search input::placeholder {
    color: #898c96;
}

.search-left-icon,
.search-right-icon {
    color: #e0e1e5;

    font-size: 22px;

    line-height: 1;
}

.search-right-icon {
    opacity: .65;
}


/* ============================================================
   TOPBAR RIGHT
============================================================ */

.topbar-right {
    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 9px;
}

.topbar-button {
    position: relative;

    width: 47px;
    height: 47px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 50%;

    background:
        rgba(12,14,19,.80);

    color: #eeeeef;

    font-size: 18px;
}

.topbar-button:hover {
    border-color:
        rgba(180,115,255,.35);
}

.notification-dot {
    position: absolute;

    top: 9px;
    right: 10px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #c07aff;
}


/* ============================================================
   USER
============================================================ */

.topbar-user {
    height: 47px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        0
        14px
        0
        7px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 25px;

    background:
        rgba(12,14,19,.80);

    color: #eeeeef;
}

.topbar-avatar {
    width: 33px;
    height: 33px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 50%;

    background: #20232b;

    font-size: 12px;
}

.topbar-arrow {
    color: #858892;
}


/* ============================================================
   TOP LEVEL PAGE
============================================================ */

.topic-app {
    min-height:
        calc(100vh - 105px);

    padding:
        35px
        38px;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius: 18px;

    background:
        rgba(5,7,11,.73);

    backdrop-filter:
        blur(18px);
}


/* ============================================================
   SCREEN
============================================================ */

.screen {
    width: 100%;
}

.hidden {
    display: none !important;
}


/* ============================================================
   SUBJECT SCREEN HEADER
============================================================ */

.screen-header {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 32px;
}

.section-label {
    display: flex;

    align-items: center;

    gap: 12px;

    color: #c0c2c8;

    font-size: 11px;

    letter-spacing: 4px;
}

.section-label span {
    width: 28px;

    height: 1px;

    background: #9b4dff;
}

.section-label i {
    width: 70px;

    height: 1px;

    background: #9b4dff;
}

.screen-header h1 {
    margin-top: 15px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 46px;

    font-weight: 400;

    line-height: 1.05;

    color: #ffffff;
}

.screen-header-left > p {
    max-width: 650px;

    margin-top: 12px;

    color: #92959f;

    font-size: 14px;

    line-height: 1.6;
}


/* ============================================================
   QUOTE CARD
============================================================ */

.screen-quote {
    position: relative;

    width: 330px;
    min-height: 108px;

    padding:
        21px
        25px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 14px;

    background:
        rgba(10,12,18,.68);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 16px;

    font-style: italic;

    color: #e0e0e4;
}

.screen-quote-symbol {
    position: absolute;

    right: 20px;
    top: 4px;

    font-size: 75px;

    line-height: 1;

    color: rgba(155,77,255,.12);
}

.screen-quote p {
    position: relative;

    z-index: 2;

    line-height: 1.45;
}

.screen-quote span {
    display: block;

    width: 45px;
    height: 1px;

    margin-top: 16px;

    background: #9b4dff;
}


/* ============================================================
   EXAM SWITCH
============================================================ */

.exam-switch {
    display: flex;

    gap: 8px;

    margin-bottom: 25px;

    padding-bottom: 18px;

    border-bottom:
        1px solid
        rgba(255,255,255,.08);
}

.exam-switch-button {
    min-width: 110px;

    height: 43px;

    padding:
        0
        24px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 9px;

    background:
        rgba(255,255,255,.025);

    color: #898c95;

    font-size: 12px;

    transition: .2s ease;
}

.exam-switch-button:hover {
    color: #ffffff;

    border-color:
        rgba(155,77,255,.35);
}

.exam-switch-button.active {
    color: #ffffff;

    background:
        rgba(155,77,255,.14);

    border-color:
        rgba(155,77,255,.40);

    box-shadow:
        inset 0 -2px #9b4dff;
}


/* ============================================================
   SUBJECT SECTION
============================================================ */

.subject-section-title {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 13px;
}

.subject-section-title > div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.subject-section-title span {
    color: #777b84;

    font-size: 9px;

    letter-spacing: 3px;
}

.subject-section-title strong {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;

    font-weight: 400;

    color: #ffffff;
}

.subject-section-title small {
    color: #777b84;

    font-size: 10px;
}


/* ============================================================
   SUBJECT CAROUSEL
============================================================ */

.subject-carousel {
    display: flex;

    gap: 12px;

    overflow-x: auto;

    padding:
        5px
        2px
        17px;

    scroll-behavior: smooth;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(155,77,255,.45)
        transparent;
}

.subject-carousel::-webkit-scrollbar {
    height: 5px;
}

.subject-carousel::-webkit-scrollbar-track {
    background: transparent;
}

.subject-carousel::-webkit-scrollbar-thumb {
    border-radius: 10px;

    background:
        rgba(155,77,255,.45);
}


/* ============================================================
   SUBJECT CARD
============================================================ */

.subject-card {
    flex:
        0
        0
        235px;

    min-height: 118px;

    position: relative;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    text-align: left;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(15,17,23,.88),
            rgba(7,9,14,.78)
        );

    color: #ffffff;

    transition:
        transform .22s ease,
        border .22s ease,
        background .22s ease;
}

.subject-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 18px;
    bottom: 18px;

    width: 2px;

    border-radius: 2px;

    background:
        rgba(155,77,255,.0);

    transition: .2s ease;
}

.subject-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(177,110,255,.43);

    background:
        linear-gradient(
            145deg,
            rgba(23,18,32,.92),
            rgba(8,10,15,.86)
        );
}

.subject-card:hover::before {
    background: #9b4dff;
}

.subject-icon {
    flex: 0 0 auto;

    width: 49px;
    height: 49px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(155,77,255,.25);

    border-radius: 50%;

    background:
        rgba(155,77,255,.13);

    color: #d5b4ff;

    font-size: 17px;
}

.subject-info {
    min-width: 0;

    flex: 1;
}

.subject-info strong {
    display: block;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    font-weight: 400;

    white-space: nowrap;
}

.subject-info small {
    display: block;

    margin-top: 6px;

    color: #7f828c;

    font-size: 10px;
}

.subject-arrow {
    color: #8e919a;

    font-size: 20px;
}


/* ============================================================
   CAROUSEL DOTS
============================================================ */

.carousel-dots {
    display: flex;

    justify-content: center;

    gap: 6px;

    margin-top: 4px;
}

.carousel-dot {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #555861;
}

.carousel-dot.active {
    width: 18px;

    border-radius: 5px;

    background: #9b4dff;
}


/* ============================================================
   LESSON SCREEN
============================================================ */

.lesson-screen {
    width: 100%;
}


/* ============================================================
   LESSON TOP
============================================================ */

.lesson-top {
    display: flex;

    flex-direction: column;

    gap: 18px;

    margin-bottom: 25px;
}

.back-button {
    width: fit-content;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding:
        10px
        15px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 9px;

    background:
        rgba(255,255,255,.035);

    color: #d7d8dc;

    font-size: 12px;

    transition: .2s ease;
}

.back-button:hover {
    color: #ffffff;

    border-color:
        rgba(155,77,255,.42);

    background:
        rgba(155,77,255,.08);
}

.lesson-heading {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.lesson-exam {
    color: #a879d8;

    font-size: 10px;

    letter-spacing: 3px;
}

.lesson-heading h1 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 40px;

    font-weight: 400;

    color: #ffffff;
}

.lesson-heading p {
    color: #92959f;

    font-size: 13px;

    line-height: 1.6;
}


/* ============================================================
   LESSON WORKSPACE
============================================================ */

.lesson-workspace {
    display: grid;

    grid-template-columns:
        255px
        minmax(0, 1fr);

    gap: 17px;

    align-items: start;
}


/* ============================================================
   TOPIC SIDEBAR
============================================================ */

.topic-sidebar {
    position: sticky;

    top: 20px;

    min-width: 0;

    padding: 14px;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius: 13px;

    background:
        rgba(8,10,15,.75);

    backdrop-filter: blur(12px);
}

.topic-sidebar-header {
    padding:
        5px
        5px
        15px;
}

.topic-sidebar-label {
    color: #777b84;

    font-size: 9px;

    letter-spacing: 3px;
}

.topic-sidebar-lesson {
    margin-top: 7px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;
}


/* ============================================================
   TOPIC SEARCH
============================================================ */

.topic-search {
    height: 40px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        0
        10px;

    margin-bottom: 10px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 8px;

    background:
        rgba(255,255,255,.025);
}

.topic-search > span {
    color: #8b8e97;

    font-size: 17px;
}

.topic-search input {
    flex: 1;

    min-width: 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: #ffffff;

    font-size: 11px;
}

.topic-search input::placeholder {
    color: #70737c;
}

.topic-search button {
    width: 20px;
    height: 20px;

    border: 0;

    background: transparent;

    color: #777b84;

    font-size: 17px;

    line-height: 1;
}

.topic-search button:hover {
    color: #ffffff;
}


/* ============================================================
   TOPIC LIST
============================================================ */

.topic-list {
    max-height: 540px;

    overflow-y: auto;

    padding-right: 3px;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(155,77,255,.35)
        transparent;
}

.topic-list::-webkit-scrollbar {
    width: 4px;
}

.topic-list::-webkit-scrollbar-track {
    background: transparent;
}

.topic-list::-webkit-scrollbar-thumb {
    border-radius: 10px;

    background:
        rgba(155,77,255,.35);
}

.topic-item {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        11px
        9px;

    margin-bottom: 4px;

    text-align: left;

    border:
        1px solid
        transparent;

    border-radius: 8px;

    background: transparent;

    color: #999ca4;

    transition: .18s ease;
}

.topic-item:hover {
    color: #eeeeef;

    background:
        rgba(255,255,255,.035);
}

.topic-item.active {
    color: #ffffff;

    background:
        rgba(155,77,255,.12);

    border-color:
        rgba(155,77,255,.28);

    box-shadow:
        inset 2px 0 #9b4dff;
}

.topic-number {
    flex: 0 0 auto;

    width: 24px;
    height: 24px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.045);

    color: #777b84;

    font-size: 9px;
}

.topic-item.active .topic-number {
    color: #d6b4ff;

    background:
        rgba(155,77,255,.16);
}

.topic-name {
    flex: 1;

    font-size: 11px;

    line-height: 1.35;
}

.topic-arrow {
    color: #686b74;

    font-size: 14px;
}


/* ============================================================
   SUMMARY PANEL
============================================================ */

.summary-panel {
    min-width: 0;

    min-height: 650px;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius: 13px;

    background:
        rgba(8,10,15,.70);

    overflow: hidden;
}


/* ============================================================
   EMPTY SUMMARY
============================================================ */

.summary-empty {
    min-height: 650px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 40px;

    text-align: center;
}

.empty-icon {
    width: 66px;
    height: 66px;

    display: grid;

    place-items: center;

    margin-bottom: 18px;

    border:
        1px solid
        rgba(155,77,255,.25);

    border-radius: 50%;

    background:
        rgba(155,77,255,.10);

    color: #c79aff;

    font-size: 25px;
}

.summary-empty h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px;

    font-weight: 400;

    color: #ffffff;
}

.summary-empty p {
    max-width: 380px;

    margin-top: 9px;

    color: #80838d;

    font-size: 12px;

    line-height: 1.6;
}


/* ============================================================
   SUMMARY CONTENT
============================================================ */

.summary-content {
    padding:
        28px
        31px
        38px;
}


/* ============================================================
   SUMMARY HEADER
============================================================ */

.summary-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 22px;
}

.summary-exam {
    color: #a97ed4;

    font-size: 9px;

    letter-spacing: 3px;
}

.summary-header h2 {
    margin-top: 8px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 31px;

    font-weight: 400;

    line-height: 1.2;

    color: #ffffff;
}

.summary-header p {
    margin-top: 7px;

    color: #858892;

    font-size: 12px;
}

.summary-actions {
    display: flex;

    gap: 7px;
}

.summary-action {
    width: 39px;
    height: 39px;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius: 8px;

    background:
        rgba(255,255,255,.03);

    color: #aaaeb7;

    font-size: 18px;
}

.summary-action:hover {
    color: #ffffff;

    border-color:
        rgba(155,77,255,.4);
}


/* ============================================================
   SUMMARY SEARCH
============================================================ */

.summary-search {
    height: 45px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        0
        13px;

    margin-bottom: 10px;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius: 9px;

    background:
        rgba(255,255,255,.025);
}

.summary-search > span:first-child {
    color: #8c8f98;

    font-size: 19px;
}

.summary-search input {
    flex: 1;

    min-width: 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: #ffffff;

    font-size: 12px;
}

.summary-search input::placeholder {
    color: #777a83;
}

.summary-search-hint {
    color: #5f626b;

    font-size: 9px;

    white-space: nowrap;
}


/* ============================================================
   SEARCH RESULT INFO
============================================================ */

.search-result-info {
    margin-bottom: 15px;

    padding:
        8px
        11px;

    border:
        1px solid
        rgba(155,77,255,.20);

    border-radius: 7px;

    background:
        rgba(155,77,255,.06);

    color: #999ca6;

    font-size: 10px;
}

.search-result-info strong {
    color: #d3b4f4;
}


/* ============================================================
   SUMMARY BODY
============================================================ */

.summary-body {
    color: #b8bac1;

    font-size: 13px;

    line-height: 1.8;
}

.summary-body h3 {
    position: relative;

    margin:
        28px
        0
        11px;

    padding-left: 13px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;

    font-weight: 400;

    color: #ffffff;
}

.summary-body h3::before {
    content: "";

    position: absolute;

    left: 0;
    top: 5px;
    bottom: 5px;

    width: 2px;

    border-radius: 2px;

    background: #9b4dff;
}

.summary-body p {
    margin-bottom: 15px;

    color: #b2b4bc;

    font-size: 13px;

    line-height: 1.85;
}

.summary-body ul {
    margin:
        0
        0
        17px;

    padding-left: 22px;
}

.summary-body li {
    margin-bottom: 7px;

    color: #aeb0b8;

    font-size: 13px;

    line-height: 1.75;
}

.summary-body li::marker {
    color: #9b4dff;
}


/* ============================================================
   IMPORTANT BOX
============================================================ */

.summary-info-box {
    margin-top: 25px;

    padding:
        15px
        17px;

    border:
        1px solid
        rgba(155,77,255,.23);

    border-radius: 9px;

    background:
        rgba(155,77,255,.06);

    color: #b9b3c2;

    font-size: 12px;

    line-height: 1.65;
}

.summary-info-box strong {
    color: #d8b7fa;
}


/* ============================================================
   ARAMA VURGUSU
============================================================ */

.summary-highlight {
    display: inline;

    padding:
        1px
        3px;

    border-radius: 3px;

    background:
        rgba(155,77,255,.25);

    color: #ffffff;

    font-size: 1.12em;

    font-weight: 700;

    box-shadow:
        0 0 14px
        rgba(155,77,255,.16);
}


/* ============================================================
   SEARCH NO RESULT
============================================================ */

.topic-no-result {
    padding:
        20px
        8px;

    text-align: center;

    color: #6f727b;

    font-size: 11px;

    line-height: 1.6;
}


/* ============================================================
   RESPONSIVE — 1200
============================================================ */

@media (max-width: 1200px) {

    .sidebar {
        width: 230px;
    }

    .main-content {
        margin-left: 250px;
    }

    .subject-card {
        flex-basis: 220px;
    }

    .screen-quote {
        width: 280px;
    }

}

/* ============================================================
   RESPONSIVE — 1000
============================================================ */

@media (max-width: 1000px) {

    .sidebar {
        width: 230px;

        padding:
            23px
            18px;
    }

    .main-content {
        margin-left: 220px;

        padding:
            15px
            18px
            40px;
    }

    .topic-app {
        padding:
            28px
            25px;
    }

    .sidebar-yks-card {
        left: 18px;
        right: 18px;
    }

    .lesson-workspace {
        grid-template-columns:
            220px
            minmax(0,1fr);
    }

    .screen-quote {
        display: none;
    }

}


/* ============================================================
   RESPONSIVE — 800
============================================================ */

@media (max-width: 800px) {

    .sidebar {
        position: relative;

        width: 100%;

        min-height: auto;

        padding:
            18px;

        border-right: 0;

        border-bottom:
            1px solid
            rgba(255,255,255,.10);
    }

    .sidebar-brand {
        padding-bottom: 18px;
    }

    .sidebar-navigation {
        display: grid;

        grid-template-columns:
            repeat(3,1fr);

        gap: 6px;
    }

    .sidebar-link {
        height: 46px;

        padding:
            0
            10px;

        justify-content: center;

        gap: 8px;

        font-size: 11px;
    }

    .sidebar-quote,
    .sidebar-yks-card {
        display: none;
    }

    .main-content {
        margin-left: 0;

        padding:
            10px
            10px
            30px;
    }

    .topbar {
        height: auto;

        margin-bottom: 10px;
    }

    .topbar-button {
        display: none;
    }

    .topbar-user {
        height: 44px;
    }

    .topic-app {
        min-height: auto;

        padding:
            23px
            17px;

        border-radius: 14px;
    }

    .screen-header {
        display: block;
    }

    .screen-header h1 {
        font-size: 38px;
    }

    .lesson-workspace {
        display: block;
    }

    .topic-sidebar {
        position: relative;

        top: auto;

        margin-bottom: 12px;
    }

    .topic-list {
        max-height: 260px;
    }

    .summary-panel {
        min-height: auto;
    }

    .summary-empty {
        min-height: 420px;
    }

}


/* ============================================================
   RESPONSIVE — 550
============================================================ */

@media (max-width: 550px) {

    .sidebar-navigation {
        grid-template-columns:
            repeat(2,1fr);
    }

    .top-search {
        width: 100%;
    }

    .topbar-username {
        display: none;
    }

    .topbar-user {
        padding-right: 8px;
    }

    .screen-header h1 {
        font-size: 34px;
    }

    .exam-switch {
        overflow-x: auto;
    }

    .exam-switch-button {
        flex: 0 0 auto;

        min-width: 90px;

        padding:
            0
            18px;
    }

    .subject-card {
        flex-basis: 205px;
    }

    .summary-content {
        padding:
            22px
            18px
            30px;
    }

    .summary-header h2 {
        font-size: 25px;
    }

    .summary-search-hint {
        display: none;
    }

}

/* ============================================================
   DERSLER — GRID GÖRÜNÜMÜ
============================================================ */

.subject-carousel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;

    overflow: visible;

    padding: 5px 2px 20px;
}

/* Kartlar artık sabit genişlikte değil */
.subject-card {
    width: 100%;
    min-width: 0;
    min-height: 120px;

    flex: none;
}

/* Kaydırma çubuğunu kaldır */
.subject-carousel::-webkit-scrollbar {
    display: none;
}

.subject-carousel {
    scrollbar-width: none;
}

/* Noktalara artık gerek yok */
.carousel-dots {
    display: none;
}






/* =========================================================
   SIDEBAR BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 5px 8px 34px;
}

.brand-symbol {
    color: white;
    font-size: 29px;
    text-shadow:
        0 0 18px rgba(180,100,255,0.65);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-text strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
    letter-spacing: 1.8px;
}

.brand-text span {
    color: #aeb0b6;
    font-size: 9px;
    letter-spacing: 0.35px;
}


/* =========================================================
   SIDEBAR MENU
========================================================= */

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.menu-item {
    height: 50px;

    display: flex;
    align-items: center;

    gap: 15px;
    padding: 0 16px;

    color: #ededed;

    border: 1px solid transparent;
    border-radius: 11px;

    font-size: 14px;

    transition: 0.25s ease;
}

.menu-icon {
    width: 20px;

    display: inline-flex;
    justify-content: center;

    color: #dedee2;
    font-size: 17px;
}

.menu-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.09);
}

.menu-item.active {
    background:
        linear-gradient(
            100deg,
            rgba(255,255,255,0.16),
            rgba(125,60,180,0.17)
        );

    border-color: rgba(255,255,255,0.24);

    box-shadow:
        inset 3px 0 0 #9c4dff,
        0 0 28px rgba(125,45,190,0.10);
}


/* =========================================================
   SIDEBAR BOTTOM
========================================================= */

.sidebar-bottom {
    margin-top: auto;
}

.sidebar-quote {
    padding: 0 10px 26px;
}

.quote-line {
    width: 70px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #9c4dff,
            transparent
        );

    margin-bottom: 16px;
}

.sidebar-quote p {
    color: #f1f1f1;

    font-family: "Cormorant Garamond", serif;

    font-size: 18px;
    line-height: 1.25;

    font-style: italic;
}

.sidebar-quote span {
    display: block;

    margin-top: 12px;

    color: #85858c;

    font-size: 8px;
    letter-spacing: 4px;
}


/* =========================================================
   YKS CARD
========================================================= */

.sidebar-card {
    padding: 20px;

    min-height: 145px;

    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 14px;

    background: rgba(20,21,25,0.58);

    backdrop-filter: blur(15px);

    box-shadow:
        0 15px 40px rgba(0,0,0,0.35);
}

.sidebar-card small {
    display: block;

    color: #c6c6cb;

    font-size: 9px;
    letter-spacing: 2px;

    margin-bottom: 10px;
}

.sidebar-card strong {
    display: block;

    color: white;

    font-family: "Cormorant Garamond", serif;

    font-size: 19px;
    line-height: 1.15;

    margin-bottom: 16px;
}

.sidebar-card button {
    width: 100%;
    height: 36px;

    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;

    background: rgba(255,255,255,0.05);

    color: white;

    cursor: pointer;

    font-size: 11px;

    transition: 0.25s;
}

.sidebar-card button:hover {
    background: rgba(145,70,220,0.20);
    border-color: rgba(170,90,255,0.5);
}

.sidebar-card button span {
    margin-left: 8px;
}



/* =========================================================
   TABLET — DERS KARTLARI
========================================================= */

@media (max-width: 900px) {

    .subject-carousel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .subject-card {
        width: 100%;
        min-width: 0;
    }

    .subject-card h3,
    .subject-card .subject-title {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: normal;
    }

}