/* Öğretmen sol menü — profil kartı dikey, branş yatay, doğum günü alta */
#teacher-sidebar {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
}

#teacher-sidebar .tdash-sidebar-logo {
    padding: 0.85rem 0.95rem 0.7rem;
    border-bottom: 1px solid #eef2f6;
    flex-shrink: 0;
}

#teacher-sidebar .tdash-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

#teacher-sidebar .tdash-brand-logo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 4.6rem;
    padding: 0;
    border: 0;
    background: #fff;
    border-radius: 0.7rem;
    cursor: pointer;
}
#teacher-sidebar #tdash-sidebar-logo-img {
    display: block;
    width: 4.6rem;
    height: auto;
    max-height: 3.6rem;
    object-fit: contain;
    background: #fff;
}

#teacher-sidebar .tdash-sidebar-brand-text p:first-child {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
}

#teacher-sidebar .tdash-sidebar-brand-text p:last-child {
    font-size: 0.68rem !important;
    font-weight: 700;
    color: #64748b !important;
    letter-spacing: 0.02em;
    margin: 0.12rem 0 0;
    line-height: 1.25 !important;
}

#teacher-sidebar .tdash-sidebar-profile-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
    padding: 0.8rem 0.85rem !important;
    border-bottom: 1px solid #eef2f6;
    flex-shrink: 0;
    position: relative;
    background: #fff;
}

#teacher-sidebar .tdash-profile-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    min-width: 0;
}

#teacher-sidebar .tdash-profile-trigger {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.15rem 0.1rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    border-radius: 0.85rem;
    overflow: hidden;
    word-break: normal;
    overflow-wrap: normal;
}

#teacher-sidebar .tdash-sidebar-profile-photo-wrap,
#teacher-sidebar .teacher-profile-photo-wrap {
    width: 3.15rem !important;
    height: 3.15rem !important;
    max-width: 3.15rem !important;
    aspect-ratio: 1 / 1;
    border-radius: 9999px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fafc, #e2e8f0);
}

#teacher-sidebar .tdash-sidebar-profile-meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

#teacher-sidebar .tdash-profile-name-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    width: 100%;
}

#teacher-sidebar #teacher-sidebar-name {
    display: block;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
    font-size: 0.88rem !important;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: keep-all !important;
}

#teacher-sidebar #teacher-sidebar-branch {
    display: block;
    min-width: 0;
    max-width: 100%;
    margin-top: 0.12rem;
    font-size: 0.72rem !important;
    font-weight: 650;
    color: #64748b;
    line-height: 1.3;
    letter-spacing: 0 !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal !important;
}

#teacher-sidebar .tdash-profile-bell {
    flex-shrink: 0;
    margin-left: 0 !important;
    width: 2rem !important;
    height: 2rem !important;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 0.72rem !important;
}

#teacher-sidebar .tdash-bday-countdown-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    margin: 0;
    padding: 0.42rem 0.6rem;
    border: 1px solid #ffedd5;
    border-radius: 0.75rem;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.68rem;
    font-weight: 750;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
    word-break: normal;
}

#teacher-sidebar #sidebar-nav {
    padding: 0.45rem 0.55rem 0.7rem;
}

#teacher-sidebar .tdash-nav-group {
    margin: 0.35rem 0 0.1rem;
    padding: 0 0.2rem;
}

#teacher-sidebar .tdash-nav-group-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0.35rem 0.28rem;
}

#teacher-sidebar .tdash-nav-item {
    width: 100%;
    overflow: hidden;
    word-break: normal;
    overflow-wrap: normal;
}

#teacher-sidebar .tdash-sidebar-footer {
    margin-top: auto;
    padding: 0.65rem 0.75rem;
    border-top: 1px solid #eef2f6;
    background: #fff;
}

#teacher-sidebar #sa-shortcut-container {
    flex-shrink: 0;
}

@media (max-width: 1023px) {
    #teacher-sidebar {
        width: min(18rem, 88vw);
        max-width: 88vw;
    }
}
