﻿/* =========================================================
   LAFPageHeader stilleri
   Not: Bu dosya global olarak yuklenmelidir (index.html link
   veya CSS bundle import). .razor icindeki <style> blogu da
   global oldugu icin davranis birebir aynidir.
   ========================================================= */

.laf-pageheader {
    position: sticky;
    top: 48px;
    height: 52px;
    z-index: 10;
/*    background: linear-gradient(to left, var(--LAF-palette-surface), var(--LAF-palette-background)) !important;*/
    border-radius: 0px;
    padding: 8px 16px;
    border: none;
    border-bottom: 1px solid var(--LAF-palette-lines-divider);
}

.laf-pageheader-root {
    display: flex;
    align-items: center;
    width: 100%;
}

.laf-pageheader-title {
    max-width: 60%;
    min-width: 35%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.laf-pageheader-title-single {
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 26px;
}

.laf-pageheader-title-main {
    font-weight: 500;
    line-height: 1.0;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
}

.laf-pageheader-title-sub {
    opacity: 0.9;
    line-height: 1.1;
    white-space: nowrap;
    font-weight: 700;
    text-overflow: ellipsis;
    font-size: 16px;
    margin-top: 3px;
}

.laf-pageheader-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 34.75px;
}

.laf-pageheader-animate-in {
    animation: laf-pageheader-fade-slide-in 180ms ease-out;
}

@keyframes laf-pageheader-fade-slide-in {
    from {
        opacity: 0;
        transform: translateX(6px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================
   MOBILE TITLE SCALE
   ========================= */
@media (max-width: 900px) {

    .laf-pageheader-title-single {
        font-size: 20px;
        line-height: 1.15;
    }

    .laf-pageheader-title-main {
        font-size: 13px;
        line-height: 1.05;
    }

    .laf-pageheader-title-sub {
        font-size: 14px;
        line-height: 1.05;
    }

    .laf-pageheader-title {
        max-width: 70%;
    }
}

@media (max-width: 500px) {

    .laf-pageheader-title-single {
        font-size: 17px;
        line-height: 1.15;
    }
}
