/* 
   Desk Workspace Navbar Height expansion 
   To increase the logo size in the Desk Workspace, we must also expand 
   the height of the Navbar Frame so it looks spacious and fits elegantly.
*/

:root {
    --navbar-height: 60px !important; /* Standard Frappe is 42px */
}

/* 1. Expand Navbar row height */
body .navbar {
    height: var(--navbar-height) !important;
    display: flex !important;
    align-items: center !important;
}

/* 2. Scale the Navbar Logo inside the frame */
body .navbar .navbar-brand img,
body .navbar-brand img {
    height: 45px !important; /* Fits flush inside 60px frame with vertical space */
    max-height: 45px !important;
    width: auto !important;
}

/* 3. Shift core Workspace down so it aligns below the taller navbar */
body #page-workspace, 
body #page-desk, 
body .desk-container {
    padding-top: calc(var(--navbar-height) + 10px) !important;
}

/* Apply top margin safety fallback for standard layouts */
body .layout-side-section {
    margin-top: calc(var(--navbar-height) - 30px) !important;
}
