nav .app-logo .logo {
    display: inline-flex !important;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    max-width: 100%;
}

nav .app-logo .logo img.panel-brand-logo {
    width: 64px;
    height: 64px;
    float: none;
    object-fit: contain;
    flex-shrink: 0;
}

nav .app-logo .panel-brand-title {
    display: flex;
    flex-direction: column;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.22;
    color: rgba(var(--dark), 1);
}

nav .app-logo .panel-brand-line {
    display: block;
    color: rgba(var(--dark), 1);
}

nav .app-logo .panel-brand-line-sub {
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(var(--dark), 1);
}

.app-wrapper .semi-nav .app-logo .logo {
    width: auto;
    overflow: visible;
}

.app-wrapper .semi-nav .app-logo .panel-brand-title {
    display: none;
}

.app-wrapper .semi-nav .app-logo .logo img.panel-brand-logo {
    width: 48px;
    height: 48px;
}

.login-form-container .panel-brand-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

/* Profil paneli — sabit genislik, icerik kadar yukseklik */
header.header-main .container-fluid .header-right .header-profile #profilecanvasRight.header-profile-canvas {
    --bs-offcanvas-width: 280px;
    position: fixed !important;
    top: 64px !important;
    right: 10px !important;
    bottom: auto !important;
    left: auto !important;
    width: 280px !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    border: 0;
    border-radius: var(--app-border-radius);
    box-shadow: 0 0.2rem 1.2rem rgba(var(--dark), 0.12);
    background-color: var(--bs-offcanvas-bg, #fff);
}

header.header-main .container-fluid .header-right .header-profile #profilecanvasRight .panel-profile-popover-body {
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    padding: 1rem 1.25rem 10px !important;
    overflow: visible !important;
}

header.header-main .container-fluid .header-right .header-profile .panel-profile-user h6,
header.header-main .container-fluid .header-right .header-profile .panel-profile-user p {
    word-break: break-word;
}

header.header-main .container-fluid .header-right .header-profile .panel-profile-divider {
    margin: 0.75rem 0 0.65rem;
}

header.header-main .container-fluid .header-right .header-profile .js-panel-logout {
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

header.header-main .container-fluid .header-right .header-profile .panel-header-profile-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    font-size: inherit !important;
    text-decoration: none !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

header.header-main .container-fluid .header-right .header-profile .panel-header-avatar {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    line-height: 1 !important;
    vertical-align: middle;
    user-select: none;
    box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(15, 23, 42, 0.18);
    text-shadow: none;
}

header.header-main .container-fluid .header-right .header-profile .panel-header-avatar-lg {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px;
    min-height: 52px;
    font-size: 16px !important;
    box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(15, 23, 42, 0.12);
}
