/* Öğretmen ana sayfa — öğrenci Başöğretmen Atatürk çekmecesi (birebir)
 * Kaynak: css/student/home-islands.css (#student-panel .s-bento-ataturk…)
 * Sınıflar aynı; kapsam #teacher-dashboard-view.
 */

#teacher-dashboard-view .s-bento-ataturk.tdash-student-ataturk {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.28rem 0.45rem !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden !important;
    cursor: default;
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(15, 23, 42, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 1rem !important;
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28) !important;
}

#teacher-dashboard-view .tdash-student-ataturk .s-ataturk-compact {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.4rem;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    order: 1;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 0.08rem 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

#teacher-dashboard-view .tdash-student-ataturk .s-ataturk-compact-copy {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    flex: 1 1 auto;
}

#teacher-dashboard-view .tdash-student-ataturk .s-ataturk-compact .s-bento-section-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.58rem !important;
    letter-spacing: 0.02em;
    margin: 0 !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 800;
}

#teacher-dashboard-view .tdash-student-ataturk .s-ataturk-chevron {
    color: #94a3b8;
    flex-shrink: 0;
    font-size: 0.7rem;
    transition: transform 0.25s ease;
    order: 3;
}

#teacher-dashboard-view .tdash-student-ataturk .s-ataturk-expand {
    order: 2;
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 2.35rem;
    overflow: hidden;
    border-radius: 0.42rem;
    display: block;
}

#teacher-dashboard-view .tdash-student-ataturk .s-bento-ataturk-photo-wrap {
    position: relative !important;
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 2.35rem !important;
    overflow: hidden !important;
    border-radius: 0.42rem !important;
    background: rgba(15, 23, 42, 0.35);
    padding: 0 !important;
    margin: 0 !important;
}

#teacher-dashboard-view .tdash-student-ataturk .s-bento-ataturk-photo {
    width: 100% !important;
    height: 100% !important;
    max-height: 2.35rem !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    filter: none;
    transition: filter 0.35s ease, max-height 0.3s ease;
}

#teacher-dashboard-view .tdash-student-ataturk .s-bento-ataturk-quote-glass {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 0.9rem;
    background: rgba(28, 25, 23, 0.32);
    backdrop-filter: blur(5px) saturate(1.05);
    -webkit-backdrop-filter: blur(5px) saturate(1.05);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 3;
}

#teacher-dashboard-view .tdash-student-ataturk:not(.is-expanded) .s-bento-ataturk-quote-glass {
    display: none;
}

#teacher-dashboard-view .tdash-student-ataturk .s-bento-ataturk-quote-text,
#teacher-dashboard-view .tdash-student-ataturk #ataturk-quote {
    margin: 0 !important;
    max-width: 28rem;
    color: #facc15 !important;
    font-size: clamp(0.72rem, 3.4cqi, 0.92rem) !important;
    line-height: 1.5 !important;
    font-weight: 650 !important;
    text-align: center;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
}

#teacher-dashboard-view .tdash-student-ataturk.is-expanded {
    flex-direction: column !important;
    align-items: stretch !important;
}

#teacher-dashboard-view .tdash-student-ataturk.is-expanded .s-ataturk-compact {
    flex-wrap: wrap !important;
    width: 100%;
}

#teacher-dashboard-view .tdash-student-ataturk.is-expanded .s-ataturk-expand {
    order: 4;
    width: 100%;
    height: auto;
    flex: 1 1 100%;
    max-height: none;
}

#teacher-dashboard-view .tdash-student-ataturk.is-expanded .s-ataturk-chevron {
    transform: rotate(180deg);
}

#teacher-dashboard-view .tdash-student-ataturk.is-expanded .s-bento-ataturk-photo-wrap {
    max-height: none !important;
    height: auto !important;
    border-radius: 1rem !important;
}

#teacher-dashboard-view .tdash-student-ataturk.is-expanded .s-bento-ataturk-photo {
    height: auto !important;
    max-height: none !important;
}

#teacher-dashboard-view .tdash-student-ataturk.is-quote-open .s-bento-ataturk-photo {
    filter: blur(2.4px) brightness(0.62) saturate(0.85);
}

#teacher-dashboard-view .tdash-student-ataturk.is-quote-open .s-bento-ataturk-quote-glass {
    opacity: 1;
    display: flex;
}

/* Bağlam satırında öğrenci kartı doğal yükseklik */
#teacher-dashboard-view .tdash-context-row .tdash-student-ataturk {
    flex: 0 0 auto !important;
    max-width: 100% !important;
}
