﻿@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

html, body {
    height: 100%;
    overflow: hidden;
    font-family: "Poppins", sans-serif;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5 !important;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5 !important;
}

.border-right {
    border-right: 1px solid #e5e5e5 !important;
}

.border-left {
    border-left: 1px solid #e5e5e5 !important;
}

.border-bottom-kidstime {
    border-bottom: 1px solid var(--unread-background-color);
}

.border-top-kidstime {
    border-top: 0.75px solid var(--unread-background-color);
}

.border-kidstime {
    border: 1px solid var(--light-text-color);
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.box-shadow-right {
     box-shadow: 24px 0 40px -16px rgba(0, 0, 0, 0.1);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

#blazor-error-ui {
    background-color: transparent;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9998;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

#blazor-error-ui .reload {
    height: 100%;
    position: relative;
   
    display: grid;
    place-content: center;
}

.kidstime-timetable-entity-come-in-out {
    background: #DC2725;
}

.kidstime-timetable-entity-exercises, .main-theme-color {
    background: #FBC30A;
}

.kidstime-timetable-entity-meal {
    background: #8CD130;
}

.kidstime-timetable-entity-hour {
    background: #e03461;
}

.kidstime-timetable-entity-poop {
    background: SaddleBrown;
}

.kidstime-timetable-entity-sleep {
    background: #2a85ec;
}

.kidstime-timetable-default {
    background: pink;
}

.my-reconnect-modal .show,
.my-reconnect-modal > .failed,
.my-reconnect-modal > .rejected {
    position: fixed;
    top: 120px;
    right: 40px;
    z-index: 9999;
}

.my-reconnect-modal  img {
    animation: .8s linear jump infinite;
}

.components-reconnect-hide > div, 
.components-reconnect-show > div,
.components-reconnect-failed > div,
.components-reconnect-refused > div {
    display: none;
}

.components-reconnect-failed > .failed, 
.components-reconnect-refused > .refused,
.components-reconnect-show > .show,
.components-reconnect-rejected > .show {
    display: flex;
}

.testButton {
    background-color: red;
}

.mud-drawer-content {
    /*border-width: 0 2px 0 0;*/
    /*border-style: dashed;*/
    /*border-color: #95A3C3;*/
    /*overflow-x: hidden;*/
}

.border-bottom-dashed,
.border-right-dashed {
    border-style: dashed;
    border-color: #95A3C3;
}

.border-right-dashed {
    border-width: 0 2px 0 0;
    width: 96px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.border-bottom-dashed {
    border-width: 0 0 2px 0;
}

.nav-link {
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.sub-nav-link {
    color: grey;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.75rem;
    text-decoration-line: none  !important;
    min-width: 230px;
    max-width: min-content;
}

.nav-icon {
    height: 18px;
}

.mud-main-content-custom {
    background-color: #F0F4FD;
    height: inherit;
    overflow-y: auto;
}

.full-height {
    background-color: #F0F4FD;
    min-height: calc(100vh - 64px)!important;
    min-height: calc(100svh - 64px)!important;
}

h1 {
    font-size: clamp(2rem, 1.5229rem + 2.0356vw, 2.5rem);
    font-weight: 700;
    color: #0B204C;
    margin-bottom: 0;
}

h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0B204C;
}

.bold-16 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1rem;
}

.description,
.description-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    line-height: 1rem;
    text-transform: uppercase;
    color: #22215B;
}

.description {
    font-size: 12px;
}

.description-medium {
    font-size: 14px;
}

.grey-12 {
    font-family: "Poppins", sans-serif;
    font-size: 12px !important;
    font-weight: 400;
    color: #9298A6;
    line-height: 1 !important;
    text-transform: none;
}

.mud-button {
    font-family: "Poppins", sans-serif;
}

.margin-start-end-auto {
    margin-inline: auto !important;
}

.text-address {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #832D9B;
    text-transform: uppercase;
}

.margin-top-bottom-auto {
    margin: auto 0;
}

.breadcrumb {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #22215B;
    background-color: #FFFFFF;
    margin: 0.5rem 0;
    padding: 0.5rem;
    border: 3px solid #E9EDF5;
    border-radius: 8px;
    text-transform: uppercase;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item.active {
    color: #832D9B;
}

.breadcrumb-item a {
    text-decoration: none;
}

.mud-button-filled-size-medium, .mud-button-outlined-size-medium {
    font-size: 12px;
    height: var(--button-height);
    padding: 13px 28px;
}

.white-box,
.button-white {
    font-family: 'Poppins', sans-serif;
    background-color: transparent;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    outline: none;
    transition: box-shadow 0.2s ease;
}

.button-white:hover {
    box-shadow: var(--shadow-hover);
}

.dashboard-box {
    font-family: 'Poppins', sans-serif;
    background-color: transparent;
    border-radius: 16px;
    box-shadow: none;
    outline: none;
}

.chat-box {
    background-color: #FFFFFF;
    border: 1px solid var(--unread-background-color);
    border-radius: 16px 16px 0 0 ;
    font-family: 'Poppins', sans-serif;
    width: 35vw;
    min-width: 300px;
    max-width: 400px;
    overflow: hidden;
}

.white-box {
    height: 56px;
    padding: 12px 16px;
    align-items: center;
}

.white-box-large {
    height: 96px;
}

.button-white {
    padding: 16px 22px;
    margin-bottom: 16px;
    height: auto;
    min-height: 56px;
}

.button-white-padding-y {
    padding: 10px 20px;
}

.button-elevated {
    background-color: transparent !important;
    box-shadow: var(--shadow-md) !important;
    transition: box-shadow 0.2s ease;
}

.button-elevated:hover {
    box-shadow: var(--shadow-hover) !important;
}

.button-white-padding-small {
    border-radius: 50%;
    padding: 6px;
    margin: 0;
    min-height: 0;
    min-width: 0;
}

.button-white > .mud-button-label {
    justify-content: flex-start;
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.button-white-small > .mud-button-label {
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    line-height: 1;
}

.mud-button-label * {
    -webkit-user-select: none;
}

.mud-button-full-height > *  {
    height: 100%;
}

.button-remove {
    height: 1.5rem;
    width: 1.5rem;
    background-color: #fff;
    border-radius: 50%;
    
    top: 2.5%;
    right: 5.5%;
}

.button-remove i {
    font-size: 1.5rem;  
    color: var(--payment-debit-color);
}

.button-play {
    height: 3.25rem;
    width: 3.25rem;
    background-color: var(--brown-color);
    border-radius: 50%;
    
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    display: grid;
    place-content: center;
}

.button-play i {
    margin-left: 0.25rem;
    font-size: 1.5rem;
    color: var(--dark-text-color);;
}

.button,
.button-default,
.button-default-negative {
    height: var(--button-height);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 12px;
    box-shadow: none;
}

.button-disabled-brown {
    background-color: var(--brown-color);
    opacity: 0.75;
    cursor: default !important;
}

.button-disabled-brown:hover,
.button-disabled-brown:active {
    box-shadow: none !important;
    background-color: var(--brown-color);
}

.button-disabled {
    background-color: var(--default-background-color) !important;
    cursor: default !important;
}

.button-disabled:hover,
.button-disabled:active {
    background-color: var(--default-background-color);
    box-shadow: none;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%; /* Take the full height of the parent */
}

.button-default {
    color: var(--dark-text-color);
    background-color: var(--brown-color);
}

.button-small {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    height: max-content !important;
    line-height: 1;
}

.meals-declaration-button ~ i {
    font-size: 12px;
}

.dashboard-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
}

.dashboard-empty-state-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: #D1FAE5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 12px #ECFDF5;
}

.dashboard-empty-state-icon i {
    font-size: 36px;
    color: #065F46;
}

.dashboard-empty-state-text {
    font-size: 15px;
    color: var(--light-text-color);
    max-width: 380px;
    line-height: 1.6;
}

.dashboard {
    column-count: 1;
    column-gap: 1.25rem;
}

@media only screen and (min-width: 768px) {
    .dashboard {
        column-count: 2;
    }
}

.blazor-error-boundary, errorcontent {
    position: fixed;
    top: 0;
    left: 0;
}

.dashboard-box {
    padding: 1.5rem;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    gap: 1rem;
    break-inside: avoid;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.2s ease;
    overflow: hidden;
}

.badge-percentage {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
}

.dashboard-box:hover {
    box-shadow: var(--shadow-hover);
}


.dashboard-label, .dashboard-label-kids {
    display: flex;
    align-items: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
}

.dashboard-label {
    display: flex;
    align-items: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 8px;
}

.dashboard-label-kids {
    padding: 8px;
    gap: 10px;
    max-width: fit-content;
}

.dashboard-label-kids .mud-avatar.mud-avatar-medium {
    height: 20px;
    width: 20px;
    border-radius: 50%;
}

.grey-label {
    background-color: #ECECEC;
    color: #9298A6;
}

.green-info {
    background-color: rgba(44, 192, 156, 0.15);
    color: #2CC09C;
}

.red-info {
    background-color: rgba(220, 39, 37, 0.15);
    color: #DC2725;
}

.yellow-info {
    background-color: rgba(234, 179, 8, 0.15);
    color: #CA8A04;
}

.dashboard-message-body {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.dashboard-gallery-image {
    border-radius: 1rem;
}

.dashboard-gallery-image img {
    object-fit: cover;
    height: 88px;
    width: 88px;
}

.dashboard-event:before {
    content:"";
    display: inline-block;
    width: 4px;
    height: 30px;
    background-color: var(--brown-color);
}

.dashboard-green-text {
    color: var(--payment-income-color);
    font-weight: 700;
    font-size: 2.50rem;
    line-height: 1;
}

.dashboard-chart,
.dashboard-chart-small {
    border-radius: 8px;
    width: 100%;
    overflow: hidden;
}

.dashboard-chart {
    height: 40px;
}

.dashboard-chart-small {
    height: 24px;
}

.dashboard-chart-bar {
    padding: 12px;   
}

@media only screen and (max-width: 767px){
    .meals-declaration-title > div {
        justify-content: center;
        align-items: center;
        display: flex;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        margin-top: 4rem;
        font-size: 10px;
    }
}

.media-gallery-post-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.media-gallery-post-container img,
.media-gallery-post-container video {
    object-fit: cover;
    height: 190px;
    width: 100%;
}

@media only screen and (min-width: 600px) {
    .media-gallery-post-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media only screen and (min-width: 768px) {
    .media-gallery-post-container {
        max-height: 396px;
        overflow-y: scroll;
    }

    .media-gallery-container {
        max-width: 588px;
    }

    .day-item-kids-container {
        max-height: 350px;
        overflow-y: scroll;
    }
}

.group-day-item-button-container {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 0.75rem;
}

@media only screen and (min-width: 400px) {
    .group-day-item-button-container {
        grid-template-columns: repeat(2,1fr);
    }
}

.common-tile {
    height: auto;
    min-height: 56px;
}

.label-top {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text-color);
    text-transform: none;
}

.invoice-container-big, 
.invoice-container-small,
.invoice-container-medium,
.kids-container,
.kids-container-small {
    display: grid;
    gap: 1rem;
    align-items: center;
    padding-inline-start: 4px
}

.invoice-container-big {
    grid-template-columns: 40px 180px 200px repeat(4, 1fr) 120px 15px;
}

.invoice-container-medium {
    grid-template-columns: 60px 1fr 150px 80px 100px;
}

.invoice-container-small {
    grid-template-columns: 40px 200px 220px repeat(3, 1fr) 120px 15px;
}

.kids-container  {
    grid-template-columns: 45px 2fr repeat(3, 1fr) 16px;
}

.kids-container-small  {
    grid-template-columns: 45px 2fr repeat(2,1fr)  16px;
}

@media(max-width: 1399px){
    .invoice-container-big {
        grid-template-columns: 40px 120px 140px repeat(5, 1fr) 15px;
    }

    .invoice-container-small {
        grid-template-columns: 40px 150px 180px repeat(3, 1fr) 120px 15px;
    }
}

@media(max-width: 1199px){
    .invoice-container-big, .invoice-container-small {
        grid-template-columns: 1fr;
        gap: 0.5rem
    }
}

@media(max-width: 767px) {
    .invoice-container-medium {
        grid-template-columns: 45px 1fr 100px;
        gap: 0.25rem;
    }
    
    .kids-container,
    .kids-container-small{
        grid-template-columns: 45px 1fr;
        gap: 0.25rem;
    }
    
    .kids-container {
        grid-template-areas: 
                "lp name"
                "date date"
                "age age"
                "group group";
    }

    .kids-container-small {
        grid-template-areas: 
                "lp name"
                "date date"
                "age age";
    }

    .area-name {
        grid-area: name
    }

    .area-lp {
        grid-area: lp;
    }

    .age {
        grid-area: age
    }

    .date {
        grid-area: date;
    }

    .group {
        grid-area: group
    }
}

.warning-label {
    top: -16px;
    left: -6px;
    
    font-size: 24px;
}

.button-label {
    top: -12px;
    right: 0;
}

.label-container {
    top: -8px;
    right: -8px;
    
    display: flex;
    gap: 1rem;
}

.button-label, 
.invoice-label, 
.label-container,
.warning-label  {
    position: absolute;
}

.invoice-label-not-absolute {
    position: unset;
}

.button-label, .invoice-label, .label {
    border: none;
    font-weight: bold;
    border-radius: 8px;
    height: 24px;
    font-size: 11px;
    padding: 0 10px;

    display: grid;
    place-items: center;
}

.invoice-label {
    top: -8px;
    right: -8px;
}

.button-label:hover,
.invoice-label:hover {
    border: none !important;
}

.invoice-label-green {
    color: white!important; 
    background-color: var(--payment-income-color)!important;  
}

.invoice-label-debit {
    color: white!important;
    background-color: var(--payment-debit-color)!important;
}

.invoice-label-brown {
    color: var(--dark-text-color)!important;
    background-color: var(--brown-color)!important;
}

.label-kidstime {
    border: 2px solid var(--unread-background-color);
    background-color: var(--default-background-color);
    color: var(--dark-text-color);
}

.common-tile-label-top,
.common-tile-label-medium,
.common-tile-label-bottom,
.survey-body,
.tile-mud-input-text input.mud-input-root {
    color: var(--dark-text-color);
    font-family: "Poppins", sans-serif;
    text-transform: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.common-tile-label-top, 
.tile-mud-input-text input.mud-input-root {
    font-size: 16px ;
    font-weight: 700;
}

.tile-mud-input-text input.mud-input-root,
.tile-mud-input-text  {
    text-align: end;
    border: 0;
}

.tile-mud-input-text .mud-input-control>.mud-input-control-input-container>div.mud-input.mud-input-text {
    margin: 0
}
.common-tile-label-medium {
    font-size: 14px;
    font-weight: 600;
}

.common-tile-label-bottom {
    font-size: 12px;
    font-weight: 400;
    color: var(--light-text-color);
}

.survey-body {
    font-size: 18px;
}

.background-blur {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.dialog-title-label {
    font-family: "Poppins";
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-text-color);
    text-transform: none;
    line-height: 28px;
}

.dialog {
    padding: 0 40px 40px 40px;
}

.close {
    width: 18px;
    height: 18px;
    margin-top: 20px;
}

    .close:hover {
        cursor: pointer;
    }

.default-input {
    border-width: 1px;
    border-color: #190B204C;
    background-color: var(--default-background-color);
    border-radius: 8px;
    height: 48px;
    margin-top: 16px;
}

.default-input > input {
    background-color: transparent;
    height: 40px;
    margin: 2px 2px 2px 0;
    width: 80%;
    font-family: "Poppins";
    font-size: 12px;
    font-weight: 400;
    color: var(--dark-text-color);
}
 
.default-input > img {
    margin: 0 20px;
}

.checkbox {
    height: 24px;
}

.checkbox-span {
    margin-left: 10px;
    margin-top: 5px;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.checkbox-background {
    border-width: 1px;
    border-color: #190B204C;
    background-color: var(--default-background-color);
    padding: 5px;
    border-radius: 8px;
    width: 24px;
    height: 24px;
}

.checkbox-checked {
    display: block !important;
    font-size: 12px;
}

.checkbox-unchecked {
    display: none !important;
    font-size: 12px;
}

.checkbox:hover {
    cursor: pointer;
}

.invitation-code {
    background-color: var(--kidstime-green-color);
    border-radius: 0.5rem;
    min-height: 1.5rem !important;
    padding: 2px 0.75rem ;

    position: absolute;
    top: -8px;
    right: 2px;
    border: none;
}

.invitation-code-span {
    color: white;
    font-family: "Poppins",sans-serif;
    font-size: 11px;
    font-weight: 800;
}

.data-container {
    overflow: auto;
    height: 73%;
}

.mud-dialog-width-sm {
    width: 551px;
}

.dialog-wide {
    min-width: 700px;
    max-width: 90vw;
}

@media(max-width: 768px) {
    .dialog-wide {
        min-width: auto;
        width: 95vw;
    }
}

.mud-dialog-custom > .mud-dialog-title {
    padding: 20px 40px 20px 40px !important;
    min-height: 64px;
    display: flex;
    justify-content: space-between
}

.mud-dialog-custom > .mud-dialog-title > .mud-typography {
    text-align: left !important;
}

.mud-dialog-custom > .mud-dialog-title > .mud-typography-h6 {
    font-size: 24px;
    font-weight: 700;
}

.mud-dialog-custom .mud-dialog-content {
    border-radius: 16px;
    padding: 8px 40px 20px 40px !important;
    margin: 0;
}

@media(max-width: 768px){
    .mud-dialog-custom > .mud-dialog-title {
        padding: 20px !important;
    }

    .mud-dialog-custom .mud-dialog-content {
        padding: 8px 20px 10px 20px !important;
        min-height: 54px;
    }
}

.mud-dialog-sticky .mud-dialog-content {
    padding-bottom: 0 !important;
}

.pdf-dialog {
    width: 60vw;
    width: 60svw;
    height: 90vh;
    height: 90svh;
}

.pdf-dialog .outline-none {
    height: 100%;
}

.pdf-dialog .mud-dialog-content,
.pdf-dialog .outline-none > div {
    height: 100%;
}

.mud-checkbox .mud-typography-body1 {
    color: #0B204C;
    font-size: 12px;
}

.mud-input > input.mud-input-root-outlined {
    background-color: #F0F4FD;
    font-size: 12px;
}

.mud-input.mud-input-outlined:focus-within .mud-input-outlined-border {
    border-color: #9298A6;
}

.mud-select .mud-select-input {
    background-color: #F0F4FD;
    font-size: 12px;
}

.mud-list-item-text > p.mud-typography-body1 {
    font-size: 12px;
}

.mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol {
    color: #0B204C;
}

.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol.mud-input-error {
    background-color: #F0F4FD;
}

.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    background-color: #F0F4FD;
    color: #0B204C;
    font-size: 12px;
    line-height: 12px;
}

.mud-input > input.mud-input-root-outlined, div.mud-input-slot.mud-input-root-outlined {
    background-color: #F0F4FD;
    padding: 18px;
    border-radius: 8px;
}

.mud-input-control > .mud-input-control-input-container > .mud-input-label-outlined.mud-input-label-inputcontrol {
    line-height: 12px;
    background-color: #F0F4FD;
}

.mud-input.mud-input-outlined .mud-input-outlined-border {
    border-radius: 8px;

}

.mud-input.mud-input-outlined.mud-input-adorned-end {
    background-color: #F0F4FD;
    border-radius: 8px;
}

.mud-overlay {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.mud-dialog-custom .mud-overlay {
    /*top: -118px;*/
    /*position: absolute;*/
}

.mud-carousel-item {
    display: flex;
    align-items: center;
}

.bar {
    display: flex;
    flex-direction: column;
    border-radius: .5rem;
}

.bar span {
    text-align: end;
}

.survey-answer {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(100px, 1fr) 1fr;
    align-items: center;
    margin-bottom: 0.5rem; 
}

.survey-count:before {
    content: "";
    display: inline-block;
    height: .75rem;
    width: .75rem;
    border-radius: 50%;
    background-color: var(--brown-color);
}

.mud-popover.mud-popover-open:has(.mud-picker-inline-paper) {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%,-50%);
    position: fixed; !important;
}

.mud-picker-view {
   margin-top: 0; 
}

.custom-mud-input * .mud-input-underline::before {
    border: none;
}

.custom-mud-input, 
.custom-mud-input .mud-input, 
.custom-mud-input .mud-input-control {
    margin: 0 !important;
}

.custom-mud-input .mud-input-slot {
    text-align: right !important;
    padding-right: 4px !important;
}

.custom-mud-input .mud-button-root {
    padding: 0 !important;
}


.custom-mud-input .mud-input-root-text {
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 0 !important;
}

.custom-mud-input .mud-icon-root {
    fill: var(--dark-text-color) !important;
    font-size: 20px !important;
}

.mud-input.mud-input-underline:hover:not(.mud-disabled)::before {
    display: none;
}

.calendar-component {
    background-color: #fff;
    border-radius: 8px;
    padding: 8px;
}

.mud-dialog-calendar .mud-dialog-content {
    padding: 0 !important;
}

.mud-dialog-calendar {
    border-radius: 16px;
}

.mud-input-control {
    margin-top: 0 !important;
}

.custom-button {
    border-radius: 1rem;
    background-color: var(--unread-background-color);
    box-shadow: 0 1rem 2rem -1rem rgba(0, 0, 0, .05);
    display: flex;
    overflow: hidden;
    transition: 300ms;
    margin-bottom: 1rem
}

.custom-tile-button {
    height: 150px;
    width: 150px;
    flex-direction: column;
}

.custom-list-button {
    height: 100px;
    width: 100%;
    flex-direction: row;
}
 
.img-button-container {
    height: 100%;
    width: 100%;
    padding: 1rem;
}

.custom-list-button .img-button-container {
    width: 100px;
    border-radius: 1rem;
}

.img-button-container img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.text-button-container {
    background-color: #fff;
    padding: 1rem;
    width: 100%;
}

.custom-list-button .text-button-container {
    height: 100%;    
    display: flex;
    align-items: center;
}

.text-button-container h3 {
    text-align: left;
    color: var(--dark-text-color);
    font-size: 1.25rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.custom-button:hover {
    box-shadow: 0 1rem 2rem -0.75rem rgba(0, 0, 0, .08);
}

.kidstime-icon {
    font-size: 20px !important;
    color: var(--kidstime-purple);
}

.technical-support-buttons {
    position: fixed;
    bottom: 32px;
    left: 60px;
    padding: 0;
    z-index: 999;
}

.technical-support-buttons button,
.technical-support-buttons a {
    position: absolute;
    bottom: 0;
    opacity: 0;
}

.technical-support-buttons button:nth-child(1),
.technical-support-buttons a:nth-child(1){
    animation: bounce-in-right-1 1s 200ms ease 1 forwards;
}

.technical-support-buttons button:nth-child(2),
.technical-support-buttons a:nth-child(2){
    animation: bounce-in-right-2 1s 100ms ease 1 forwards;
}

.technical-support-buttons button:nth-child(3),
.technical-support-buttons a:nth-child(3){
    animation: bounce-in-right-3 1s ease 1 forwards;
}

.mud-drawer-content {
    border: none !important;
    height: 100%;
}

.current-nav-item {
    background-color: var(--default-background-color);
    color: var(--dark-text-color)
}

@keyframes bounce-in-right-1 {
    0% {opacity: 0; left: 0;}
    60% {left: 70px;}
    80% {opacity: 1; left: 55px; }
    100% {opacity: 1; left: 60px; }
}

@keyframes bounce-in-right-2 {
    0% {opacity: 0; left: 0;}
    60% {left: 130px;}
    80% {opacity: 1; left: 115px; }
    100% {opacity: 1; left: 120px; }
}

@keyframes bounce-in-right-3 {
    0% {opacity: 0; left: 0;}
    60% {left: 190px;}
    80% {opacity: 1; left: 175px; }
    100% {opacity: 1; left: 180px; }
}

.gallery-container {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gallery-container > div,
.gallery-container button,
.gallery-container .mud-button-label {
    width: 100%;
    height: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 400px;
    object-fit: cover;
}

/* Live Feed Bar */
.live-feed-bar {
    background-color: var(--mud-palette-error);
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
}

.live-feed-bar:hover {
    background-color: var(--mud-palette-error-darken);
}

.live-feed-actor {
    font-weight: 600;
    font-size: 14px;
}

.live-feed-action {
    font-size: 13px;
    opacity: 0.9;
}

.live-feed-time {
    font-size: 12px;
    opacity: 0.8;
}

/* Activity Feed Icon */
.activity-feed-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--mud-palette-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Send Message To Kids Dialog */
.send-message-kids-list,
.send-message-templates-list {
    max-height: 400px;
    overflow-y: auto;
    height: auto;
}

.send-message-kid-row {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.send-message-kid-row:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.send-message-kid-row.selected {
    background-color: var(--unread-background-color);
}

.send-message-template-row {
    padding: 4px 8px;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

.send-message-template-row:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.send-message-template-row.selected {
    background-color: var(--unread-background-color);
}

@media (max-width: 768px) {
    .send-message-kids-list,
    .send-message-templates-list {
        max-height: 250px;
    }
}

/* ===== NEW DESIGN: Slim Sidebar ===== */

.slim-sidebar {
    width: 72px;
    min-width: 72px;
    background-color: var(--dark-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    height: 100%;
}

.slim-sidebar::-webkit-scrollbar {
    display: none;
}

.slim-sidebar .sidebar-logo {
    margin-bottom: 1.5rem;
    padding: 4px;
}

.slim-sidebar .sidebar-logo img {
    width: 44px;
    height: auto;
}

.slim-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin: 2px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.slim-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.slim-nav-item.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.slim-nav-item.active::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background-color: var(--brown-color);
    border-radius: 0 4px 4px 0;
}

.slim-nav-item .nav-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: #DC2725;
    color: white;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}

.slim-nav-item .nav-tooltip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--dark-text-color);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 1000;
}

.slim-nav-item:hover .nav-tooltip {
    opacity: 1;
}

.slim-nav-item .nav-tooltip::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-right-color: var(--dark-text-color);
    border-left: none;
}

.sidebar-spacer {
    flex-grow: 1;
}

.sidebar-help-fab {
    margin-top: auto;
    margin-bottom: 8px;
}

/* ===== NEW DESIGN: Header ===== */

.header-greeting-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text-color);
    line-height: 1.3;
}

.header-greeting-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: var(--light-text-color);
    line-height: 1.3;
}

.header-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: white !important;
    border: 1px solid #E0E4ED;
    border-radius: 10px;
    padding: 8px 16px;
    color: var(--light-text-color);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s ease;
    min-width: 240px;
}

.header-search-btn:hover {
    border-color: var(--blue-color);
}

.header-search-btn .search-shortcut {
    margin-left: auto;
    background-color: var(--default-background-color);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--light-text-color);
}

/* Status indicator */
.header-status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background-color: white;
    border: 1px solid #E0E4ED;
    cursor: pointer;
    transition: border-color 0.15s ease;
    white-space: nowrap;
}

.header-status-indicator:hover {
    border-color: var(--blue-color);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot-operational { background-color: #22c55e; box-shadow: 0 0 4px #22c55e80; }
.status-dot-degraded { background-color: #eab308; box-shadow: 0 0 4px #eab30880; }
.status-dot-outage { background-color: #ef4444; box-shadow: 0 0 4px #ef444480; }
.status-dot-unknown { background-color: #9ca3af; }

.status-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--light-text-color);
}

.header-notification-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #E0E4ED;
    color: var(--dark-text-color);
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.header-notification-btn:hover,
.header-notification-btn:visited,
.header-notification-btn:active {
    border-color: var(--blue-color);
    color: var(--dark-text-color);
}

.header-notification-btn .notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: #DC2725;
    color: white;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* ===== NEW DESIGN: Menu Sections (InstitutionDetails) ===== */

.menu-sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 1200px) {
    .menu-sections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-sections-grid {
        grid-template-columns: 1fr;
    }
}

.menu-section {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.menu-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    border-left: 4px solid var(--section-color, var(--blue-color));
}

.menu-section-header .section-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--section-color, var(--blue-color));
    background-color: var(--section-bg, #EBF5FF);
    flex-shrink: 0;
}

.menu-section-header .section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text-color);
    flex-grow: 1;
}

.menu-section-header .section-count {
    background-color: var(--section-bg, #EBF5FF);
    color: var(--section-color, var(--blue-color));
    font-size: 11px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.menu-section-header .section-chevron {
    color: var(--light-text-color);
    font-size: 14px;
    transition: transform 0.25s ease;
}

.menu-section-header .section-chevron.collapsed {
    transform: rotate(-90deg);
}

.menu-section-body {
    padding: 0 20px 8px 20px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease;
    max-height: 1000px;
    opacity: 1;
}

.menu-section-body.collapsed {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.menu-section-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    color: var(--dark-text-color);
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.15s ease;
    margin-bottom: 2px;
}

.menu-section-item:hover {
    background-color: var(--section-hover, #F0F4FD);
}

.menu-section-item i {
    width: 20px;
    text-align: center;
    color: var(--section-color, var(--blue-color));
    font-size: 15px;
    flex-shrink: 0;
}

.menu-section-item .item-label {
    flex-grow: 1;
    line-height: 1.2;
}

.menu-section-item .item-badge {
    background-color: #DC2725;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.menu-section-item .item-arrow {
    color: var(--light-text-color);
    font-size: 12px;
    flex-shrink: 0;
}

/* Menu Section Color Themes */
.menu-section.theme-blue {
    --section-color: #3794f5;
    --section-bg: #EBF5FF;
    --section-hover: #F0F7FF;
}

.menu-section.theme-green {
    --section-color: #2CC09C;
    --section-bg: #E6F9F3;
    --section-hover: #F0FBF7;
}

.menu-section.theme-amber {
    --section-color: #D97706;
    --section-bg: #FFF8EB;
    --section-hover: #FFFBF2;
}

.menu-section.theme-purple {
    --section-color: #832D9B;
    --section-bg: #F5ECFA;
    --section-hover: #FAF5FC;
}

.menu-section.theme-lightgreen {
    --section-color: #65a30d;
    --section-bg: #F0F9E8;
    --section-hover: #F7FCF2;
}

.menu-section.theme-teal {
    --section-color: #0d9488;
    --section-bg: #E6F7F5;
    --section-hover: #F0FAF9;
}

.menu-section.theme-coral {
    --section-color: #e11d48;
    --section-bg: #FFF1F3;
    --section-hover: #FFF5F7;
}

/* ===== Institution Header ===== */

.institution-header {
    background-color: var(--default-background-color);
    border-radius: 16px;
    padding: 1.5rem 2rem 1rem 2rem;
    margin-bottom: 0;
}

.institution-header h1 {
    font-weight: 800;
    color: var(--dark-text-color);
    margin: 0;
    line-height: 1.2;
}

.institution-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
}

.institution-badge-green {
    background-color: #D1FAE5;
    color: #065F46;
}

.institution-badge-debit {
    background-color: #FEE2E2;
    color: #991B1B;
}

.institution-switch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: white;
    border: 1px solid #E0E4ED;
    color: var(--kidstime-purple);
    transition: all 0.15s ease;
}

.institution-switch-btn:hover {
    border-color: var(--kidstime-purple);
    background-color: #F5F3FF;
}

.institution-address {
    font-size: 14px;
    font-weight: 500;
    color: var(--light-text-color);
}

.institution-address i {
    color: var(--kidstime-purple);
    font-size: 14px;
}

.button-white-outline {
    background-color: white !important;
    color: var(--dark-text-color) !important;
    border: 1px solid #E0E4ED !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
}

.button-white-outline:hover {
    border-color: var(--blue-color) !important;
    background-color: #F8FAFC !important;
}

/* ===== Responsive: hide slim sidebar on mobile ===== */
@media (max-width: 959.95px) {
    .slim-sidebar {
        display: none;
    }

    .menu-sections-grid {
        grid-template-columns: 1fr;
    }

    .institution-header {
        padding: 1rem;
    }

    .institution-header h1 {
        font-size: 1.25rem;
    }

    .institution-menu-panel {
        display: none;
    }
}

/* ===== Institution Master-Detail Layout ===== */
.institution-layout {
    display: flex;
    height: 100%;
}

.institution-menu-panel {
    width: 310px;
    min-width: 310px;
    background-color: var(--default-background-color) !important;
    overflow-y: auto;
    padding: 0;
    flex-shrink: 0;
    position: sticky;
    top: 12px;
    border-radius: 16px !important;
    margin: 12px 0 12px 12px;
    max-height: calc(100vh - 64px - 24px);
    z-index: 1;
}

.institution-content {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    height: 100%;
}

/* Hide breadcrumbs & back arrows inside institution layout - panel provides navigation */
.institution-content .breadcrumb-container-big {
    min-height: 145px;
}

.institution-content nav[aria-label="breadcrumb"] {
    display: none;
}

.institution-content .col-auto:has(> a[href="/dashboard"] > img) {
    display: none;
}

/* Menu panel header */
.menu-panel-header {
    padding: 16px 16px 8px;
    border-bottom: 1px solid #E0E4ED;
    margin-bottom: 8px;
}

.menu-panel-title {
    font-size: 15px;
    font-weight: 700;
    color: #0B204C;
    margin: 0;
    line-height: 1.3;
}

.menu-panel-address {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6B7A99;
    margin-top: 6px;
    padding-bottom: 8px;
}

.menu-panel-address i {
    font-size: 11px;
}

.menu-panel-badge-row {
    margin-top: 8px;
    padding-bottom: 4px;
}

/* Compact menu sections in panel */
.institution-menu-panel .menu-section {
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    border: none;
    border-bottom: 1px solid #E0E4ED;
    background-color: transparent;
}

.institution-menu-panel .menu-section-header {
    padding: 10px 16px;
    min-height: auto;
}

.institution-menu-panel .menu-section-body {
    padding: 0;
}

.institution-menu-panel .menu-section-item {
    padding: 8px 16px 8px 20px;
    font-size: 13px;
    border-radius: 0;
    transition: background-color 0.15s ease, border-left 0.15s ease;
    border-left: 3px solid transparent;
}

.institution-menu-panel .menu-section-item:hover {
    background-color: var(--section-hover, #F0F4FD);
}

.institution-menu-panel .menu-section-item.active {
    background-color: var(--section-hover, #F0F4FD);
    font-weight: 600;
    border-left: 3px solid var(--section-color, #3794f5);
}

.institution-menu-panel .menu-section-item .item-arrow {
    display: none;
}

/* Settlements Dashboard */
.settlements-dashboard {
    column-count: 1;
}

.settlements-kid-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid #ECECEC;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease;
    border-radius: 4px;
}

.settlements-kid-row:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* ===== Company Details page ===== */
.company-institution-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.5rem;
    border-bottom: 1px solid #ECECEC;
    transition: background-color 0.15s ease;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.company-institution-row:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.company-institution-row:last-child {
    border-bottom: none;
}

.company-invoice-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.5rem;
    border-bottom: 1px solid #ECECEC;
    transition: background-color 0.15s ease;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
}

.company-invoice-row:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.company-invoice-row:last-child {
    border-bottom: none;
}

.company-status-badge {
    font-size: 11px;
    font-weight: 700;
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.company-summary-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.company-summary-label {
    font-size: 0.75rem;
    color: #6B7280;
    margin-top: 0.25rem;
}

/* Company Map */
.company-map-container {
    overflow: hidden;
}

.company-map-container .gm-style-iw {
    max-width: 280px !important;
    padding-top: 0 !important;
}

.company-map-container .gm-style-iw-chr {
    position: absolute !important;
    top: 0;
    right: 0;
    z-index: 1;
    height: auto !important;
}

.company-map-container .gm-style-iw-d {
    overflow: hidden !important;
    padding: 10px 28px 4px 4px;
}

/* Report cards */
.report-card {
    width: 280px;
    border-radius: 12px;
}

/* Onboarding wizard */
.onboarding-add-card {
    border: 2px dashed var(--border-color, #dee2e6);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    background: transparent;
    width: 100%;
}

.onboarding-add-card:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.03);
}

.onboarding-entity-card {
    background: #fff;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
}

.onboarding-entity-card .entity-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color-lighter, #e8f5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    font-size: 18px;
}

.onboarding-family-card {
    background: #fff;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 12px;
    overflow: hidden;
}

.onboarding-family-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color, #dee2e6);
}

.onboarding-family-header .entity-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color-lighter, #e8f5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    font-size: 18px;
}

.onboarding-family-members {
    padding: 0;
}

.onboarding-family-member {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 12px 76px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s;
}

.onboarding-family-member:last-child {
    border-bottom: none;
}

.onboarding-family-member:hover {
    background: #fafbfd;
}

.onboarding-family-member .member-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.onboarding-family-member .member-icon.guardian {
    background: #ede9fe;
    color: #7c3aed;
}

.onboarding-family-member .member-icon.kid {
    background: #fef3c7;
    color: #d97706;
}

.onboarding-family-empty {
    padding: 16px 20px 16px 76px;
    color: var(--light-text-color, #6c757d);
    font-size: 14px;
    font-style: italic;
}

.onboarding-summary-stat {
    background: #fff;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.onboarding-summary-stat .stat-value {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
}

.onboarding-summary-stat .stat-label {
    font-size: 14px;
    color: var(--light-text-color, #6c757d);
    margin-top: 4px;
}

.onboarding-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: calc(72px + 310px);
    right: 0;
    background: rgba(240, 244, 253, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-color, #dee2e6);
    z-index: 100;
}

.onboarding-nav-buttons-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.button-secondary {
    height: var(--button-height);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 12px;
    box-shadow: none;
    color: var(--dark-text-color);
    background-color: #E0E4ED;
}

.onboarding-feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.onboarding-features-scroll {
    max-height: 50vh;
    overflow-y: auto;
    border-top: 1px solid #dee2e6;
}

.onboarding-step-content {
    min-height: 200px;
    overflow: visible;
}

.onboarding-section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-text-color, #0B204C);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.onboarding-section-title i {
    color: var(--primary-color);
    font-size: 14px;
}

.onboarding-info-toggle {
    color: var(--light-text-color, #6c757d);
    cursor: pointer;
    font-size: 14px;
    margin-left: 4px;
    transition: color 0.15s ease;
}

.onboarding-info-toggle:hover,
.onboarding-info-toggle.active {
    color: var(--primary-color);
}

.onboarding-info-box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background-color: #EDF2FC;
    color: var(--dark-text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    padding: 10px 14px;
    margin: 4px 0 8px 32px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.onboarding-info-box i {
    font-size: 13px;
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}

@media (max-width: 959.95px) {
    .onboarding-nav-buttons {
        left: 0;
    }
}

/*
=============================
KT-TABLE — Shared table component
Used by: WorkScheduleEmployees, WorkScheduleLeaveBalances
=============================
*/

.kt-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.kt-table thead th {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--dark-text-color);
    padding: 8px 16px;
    border-bottom: 2px solid var(--dark-text-color);
}

.kt-table tbody tr {
    background: transparent;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
}

.kt-table tbody tr:hover {
    background: rgba(251, 195, 10, 0.05);
}

.kt-table tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    color: var(--dark-text-color);
}

.kt-table tbody td:first-child {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.kt-table tbody td:last-child {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.kt-group-header {
    box-shadow: none !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.kt-group-header td {
    padding: 8px 16px !important;
    border-radius: var(--radius-sm) !important;
}

/*
=============================
KT-TABS — Shared tab styling (brown active, transparent bar)
Used by: WorkScheduleVacations, WorkScheduleLeaveBalances
=============================
*/

.kt-tabs .mud-tab {
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
}

.kt-tabs .mud-tabs-tabbar {
    background: transparent !important;
}

.kt-tabs .mud-tab.mud-tab-active {
    color: var(--brown-color) !important;
}

.kt-tabs .mud-tab-slider {
    background: var(--brown-color) !important;
}

/*
=============================
KT-DATA-GRID — Shared data grid layout
Used by: TimeClockAdmin, TimeClockSummary, MyTimeClock
=============================
*/

.kt-data-grid {
    display: grid;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

.kt-data-grid > div {
    display: flex;
    align-items: center;
    min-height: 40px;
}

/*
=============================
INLINE LABEL BADGES — Shared compact labels
Used by: TimeClockSummary, invoices
=============================
*/

.kt-label-inline {
    display: inline-block;
    border-radius: var(--radius-sm);
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 700;
}

.kt-label-inline--debit {
    background-color: var(--payment-debit-color);
    color: white;
}

.kt-label-inline--brown {
    background-color: var(--brown-color);
    color: var(--dark-text-color);
}

.kt-label-inline--green {
    background-color: var(--payment-income-color);
    color: white;
}

/*
=============================
UTILITY — Reset styles
=============================
*/

/* ===== Mobile drawer: horizontal nav + institution menu ===== */
.mobile-drawer {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

/* NavMenu icons → horizontal row inside mobile drawer */
.mobile-drawer .slim-sidebar {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    min-width: unset;
    height: auto;
    padding: 12px 8px;
    gap: 4px;
    border-bottom: 1px solid #e0e0e0;
    overflow: visible;
    background-color: var(--dark-text-color);
}

/* Hide logo in mobile drawer (already in the app bar) */
.mobile-drawer .slim-sidebar .sidebar-logo {
    display: none;
}

/* Hide vertical spacer (not needed horizontally) */
.mobile-drawer .slim-sidebar .sidebar-spacer {
    display: none;
}

/* Compact nav items in horizontal mode */
.mobile-drawer .slim-sidebar .slim-nav-item {
    width: auto;
    min-width: 48px;
    height: auto;
    padding: 8px 6px;
    font-size: 18px;
    flex-direction: column;
    gap: 2px;
}

/* Show tooltips as labels below icons in mobile drawer */
.mobile-drawer .slim-sidebar .slim-nav-item .nav-tooltip {
    position: static;
    visibility: visible;
    opacity: 1;
    font-size: 9px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    padding: 0;
    margin: 0;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

.mobile-drawer .slim-sidebar .slim-nav-item .nav-tooltip::before {
    display: none;
}

/* Override institution-menu-panel inside mobile drawer */
.mobile-drawer .institution-menu-panel {
    display: block !important;
    width: 100%;
    min-width: unset;
    position: static;
    margin: 0;
    max-height: none;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: 1;
    overflow-y: auto;
}

.no-shadow {
    box-shadow: none !important;
}

.no-radius {
    border-radius: 0 !important;
}