body {
    margin: 0px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    /*background-color: black;*/
}

#desktop {
    position: relative;
    width: 100%;
    height: 100vh;
    /*background: url('/img/bg-desktop.jpg') no-repeat center center;*/
    background: url('/img/bg-desktop-4.webp') no-repeat center center;
    /*opacity: 0.1;*/
    background-size: cover;
}
#workspace {
    position: relative;
    width: 100%;
    height: calc(100vh - 40px); /* Înălțimea ecranului minus taskbar */
    overflow: hidden;
}
#taskbar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: #33333396;
    display: flex;
    align-items: center;
    /*padding: 0 10px;*/
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
}
#opened-windows {
    display: flex;
    flex-grow: 1;
    overflow-x: auto;
    padding-left: 10px;
}
.taskbar-btn {
    margin-right: 5px;
    padding: 5px 10px;
    color: white;
    background: #444;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    height: 35px;
}
#start-menu-container-old {
    position: absolute;
    bottom: 0;
    left: 0;
}
#start-menu-container {
    flex-shrink: 0;
    height: 100%;
}
#start-button {
    width: 80px;
    height: 50px;
    background-color: #333;
    color: white;
    border: none;
    border-top-right-radius: 5px;
    cursor: pointer;
}
#start-button {
    width: 80px;
    height: 100%;
    background-color: #444;
    color: white;
    border: none;
    cursor: pointer;
}
#start-button .k-font-icon {
    margin-right: 4px;
    color: #2ab2db;
}

#start-menu {
    display: none;
    position: absolute;
    bottom: 40px;
    left: 0;
    width: auto;
    background-color: rgb(34 34 34 / 70%);
    border: 1px solid #444;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

#start-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 10px 0;
}

#start-menu li {
    padding: 10px 15px;
    cursor: pointer;
    color: white !important;
}

#start-menu li:hover {
    /*background-color: #444;*/
    color: var(--kendo-color-on-primary, #ffffff);
    background-color: var(--kendo-color-primary, #ff6358)
}

.k-block-bis {
    padding: 4px 8px;
    border: none;
}

.k-block>.k-header{
    background-color: #fafafa;
    margin: -4px -8px 4px;
    padding: 8px 8px;
}

#user-info {
    display: flex;
    align-items: center;
    margin-right: 10px;
    margin-left: 10px;
}

#user-info #user-name {
    text-align: center;
}

.nott-info, .nott-success, .nott-warning, .nott-error {
    width: 100%;
}

.appTitle {
    font-size: 18px;
    margin: 0;
}

.window-main{
    padding: var(--kendo-spacing-1);
}

/*
#drawer {
    white-space: nowrap; !* Previne ruperea textului pe mai multe linii *!
}
.k-drawer-item {
    display: block; !* Se asigură că lățimea este calculată corect *!
    padding: 10px;
}*/

/*
.k-grid-content {
    overflow-y: auto;
}*/

.k-window-titlebar-action[aria-label="window-restore"] {
    display: none !important;
}

#show-desktop {
    width: 10px;
    height: 40px;
    background-color: #1f1f1f;
    color: white;
    border: none;
    cursor: pointer;
}

.k-toolbar-item.k-grid-custom-toolbar {
    width: 100% !important;
}

.greeting {
    font-weight: 300;
    font-size: 28px;
    padding: 24px 0px 8px 17px;
}

.taskbar-btn.current {
    border: 2px solid #ea5a51;
}

.k-edit-form-container {
    width: 100% !important;
}

.jsoneditor-dark {
    --background-color: #1e1e1e;
    --text-color: #d4d4d4;
    background-color: var(--background-color);
    color: var(--text-color);
}

.jsoneditor-dark .jsoneditor-menu,
.jsoneditor-dark .jsoneditor-navigation-bar {
    background: #2d2d2d;
    border-color: #444;
}

.jsoneditor-dark .ace_editor {
    background-color: #1e1e1e !important;
    color: #d4d4d4 !important;
}

.main-theme-switch {
    float: right;
    margin: 4px;
}

.main-theme-switch.k-switch-on .k-switch-track {
    background-color: #5a5a5a;
}

.main-theme-switch.k-switch-off .k-switch-track {
    background-color: #ffffff;
    color: black;
}

.k-toolbar-item #recordCount{
    padding-left: 10px;
    display: flex;
    align-items: center;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.k-card {
    /*width: 285px;
    margin: 5%;*/
}

#dockmanager {
    min-height: 500px;
}

.dockmanager-without-close .k-tabstrip-item button[data-action="close"],
.dockmanager-without-close .k-tabstrip-item button[data-action="unpin"] {
    display: none;
}

.k-dock-manager .k-tabstrip {
    width: 100% !important;
}

.k-drawer-container {
    height: 100% !important;
}

.k-drawer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.card .big {
    font-size: 2.5em;
    /* line-height: 101px; */
    font-weight: 300;
    color: #37B400;
}
#kpiTotal-box,#kpiNr-box{
    background-color: aliceblue;
}
#kpiTotal{
    color: #a23411;
}
#kpiSMS-box,#kpiVal-box{
    background-color: #d8fdf2;
}
#kpiSMS{
    color: #1b91d5;
}
#kpiEMAIL-box{
    background-color: #d8fdf2;
}
#kpiEMAIL{
    color: #aca510;
}
#kpiArii-box{
    background-color: #f4f0ff;
}
#kpiArii{
    color: #f77e11;
}
#kpiErr-box{
    background-color: #ff9ed2;
}
#kpiErr{
    color: #f71111;
}

/* Containerul body devine „viewport-ul” imaginii */
.k-card .bg-card{
    position: relative;
    min-height: 180px;              /* ajustează după nevoie */
    padding: 16px;
    display: flex;
    align-items: flex-end;          /* text jos */
    color: #fff;                    /* contrast pe fundalul întunecat */
    overflow: hidden;
}

/* Fundalul cu imagine + blur */
.k-card .bg-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.65) saturate(0.9);
    transform: scale(1.08);         /* previne marginile dure după blur */
    z-index: 0;
}

/* Un mic gradient de jos pentru lizibilitate suplimentară */
/*.k-card .bg-card::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
    z-index: 0;
}*/

/* Conținutul rămâne deasupra */
.k-card .bg-card .body-content{
    position: relative;
    z-index: 1;
}