@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600;700;800&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --brand-lime: #A8D64D;
    --brand-navy: #002B45;
    --brand-white: #FFFFFF;
    --brand-orange: #FF8A00;
    --brand-teal: #3FBFB7;
    --brand-slate: #6B7280;
    --brand-ivory: #F2F4E9;
    
    --headline-font: 'Baloo 2', cursive;
    --body-font: 'Montserrat', sans-serif;
}

html, body {
    height: 100%;
    font-family: var(--body-font);
    background-color: var(--brand-ivory);
    color: var(--brand-navy);
}

h1, h2, h3, h4, h5, h6, .brand-headline {
    font-family: var(--headline-font);
    font-weight: 800;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-color: var(--brand-lime);
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

#blazor-error-ui {
    background: var(--brand-ivory);
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

/* DevExpress Override Example */
.dx-blazor-grid {
    --dx-grid-header-bg: var(--brand-navy);
    --dx-grid-header-color: var(--brand-white);
}

.btn-primary {
    background-color: var(--brand-lime) !important;
    border-color: var(--brand-lime) !important;
    color: var(--brand-navy) !important;
    font-family: var(--headline-font);
    font-weight: 700;
}

/* Grid ve Tablolarda (ListView) Resim Standardizasyonu */
.dxbs-grid td img, 
.dx-grid td img, 
.xaf-grid-image,
.dx-grid-row td img {
    max-height: 50px !important;
    max-width: 80px !important;
    object-fit: cover !important;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
}

.dxbs-grid td img:hover, 
.dx-grid td img:hover,
.dx-grid-row td img:hover {
    transform: scale(1.18);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}