
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Lato, sans-serif;
  font-size: 1rem;
  letter-spacing: -0.4px;
}
#app-root {
position: relative;
    background-image: url(./images/bckgr.svg);
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    height: 100%;
    width: 100%;
    min-width: 1550px;
    display: grid;
    grid-template-rows: 40px 1fr;
}
.log-cont {
  color: #2a2a2a;
  border-radius: 5px;
  /*width: 310px;*/
  height: 200px;
  position: absolute;
  left: 50%;
  top: 25%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-rows: 1fr 3fr 1fr;
  align-items: center;
  user-select: none;
  padding: 6px;
  border: 1px solid rgb(0 0 0 / 40%);
  background: #f0f0f0;
  box-shadow: 0 0 1px 0.5px #aedfee;
  justify-items: center;
}
.log-cont h1 {
  margin: 7px 0;
}
.center {
}
.h-100{
    height: 100%;
}
.w-100{
    width: 100%;
}
.fieldset {
  margin: 5px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.field-row {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.field-row label {
  width: 10rem;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"] {
  width: -webkit-fill-available;
  padding: 8px;
  border: 1px solid #ccc;
    font-size: 18px;
    font-weight: 400;
    font-family: Lato, sans-serif;
}
input:focus {
  outline: none;
  border-color: #86c6e8 #b3e0f9 #b3e0f9 !important;
}
.cont-btn {
  margin-right: 0;
  position: relative;
  width: -webkit-fill-available;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}
.btn-login {
    font-family: Lato, sans-serif;
    font-size: 1rem;
    position: absolute;
    margin: auto;
    right: 0;
    color: #2a2a2a;
    box-sizing: border-box;
    border: 1.5px solid #888;
    border-radius: 3px;
    box-shadow: inset 0 -1px 1px #fff, inset 0 1px 1px #fff;
    min-width: 82px;
    min-height: 28px;
    padding: 0 12px;
    text-align: center;
    background: linear-gradient(180deg, #eee 45%, #ddd 0, #bbb);
}

.btn-login:hover {
  border-color: #72a2c5;
  background: linear-gradient(180deg, #e5f4fd 45%, #b3e0f9 0);
}
.btn-login:active {
  box-shadow: none;
  border-color: #6d91ab;
  background: linear-gradient(180deg, #cee9f8 45%, #86c6e8 0);
}
.btn-login:focus {
  box-shadow: inset 0 0 0 2px #86c6e8;
  outline: 1px dotted #000;
  outline-offset: -4px;
}
.log-cont .field-row {
  display: flex;
  justify-content: space-between;
}
.field-row {
  display: flex;
  align-items: center;
  margin-top: 6px;
}
.field-row label {
  display: inline-flex;
  align-items: center;
  letter-spacing: 1px;
}
.field-row input {
  padding: 3px 4px 5px;
  border: 1px solid #ccc;
  border-top-color: #888;
  border-radius: 2px;
  background-color: #fff;
  box-sizing: border-box;
  font-family: Lato, sans-serif;
}
/*****scrollbar******/
::-webkit-scrollbar {
  height: 1rem;
  width: 0.5rem;
}

::-webkit-scrollbar:horizontal {
  height: 0.5rem;
  width: 1rem;
}

::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb {
  background-color: #3b4e62cc;
  border-color: red;
  border-radius: 9999px;
  border-width: 1px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #0e2944;
}

/***end scrollbar****/
.menu {
  display: flex;
  justify-content: center;
  background-color: #f0f0f0; /* Fundal alb */
  padding: 5px;
  height: 30px;
  font-family: Lato, sans-serif;
  font-size: 16px;
  user-select: none;
}

.menu-button {
  background-color: #ddd; /* Gri deschis */
  color: #333; /* Culoare text inchisa */
  border: none;
  padding: 5px 15px;
  margin: 0 5px;
  cursor: pointer;
}

.menu-button.active {
  background-color: #3498db;
  color: #fff; /* Text alb pentru elementul activ */
}
.menu-button.BorderNone {
    background: #555;
    color: #f0f0f0;
}
.menu-button:hover {
  background-color: #ccc; /* Gri mai inchis la hover */
}
#theme-toggle-button{
    position: absolute;
    right: 0;
}
.ImgFileFolder {
  content: url("../style/icon/FileFolder.png");
  width: 45px;
  filter: drop-shadow(0px 1px 1px #284751);
  margin: 0 5px 5px 5px;
}
.ImgOpenFileFolder {
  content: url("../style/icon/OpenFileFolder.png");
  width: 45px;
  margin: 0 5px 5px 5px;
  filter: drop-shadow(1px 2px 2px #284751);
}
.ImgFileFolderTrash {
  content: url("../style/icon/FileFolderTrash.png");
  width: 45px;
  margin: 0 5px 5px 5px;
  filter: drop-shadow(1px 2px 2px #284751);
}
.ImgGoodlist {
  content: url("../style/icon/Goodlist.png");
  width: 45px;
  margin: 0 5px 5px 5px;
  filter: drop-shadow(1px 2px 2px #284751);
}

/*********Window******/
.container-w {
  position: absolute;
  width: 100dvw;
  height: 100dvh;
  top: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  background-color: #8080806e;
  z-index: 10;
}
.window {
  border-radius: 7px;
  width: 310px;
  height: 230px;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  padding: 6px;
  border: 1px solid rgb(0 0 0 / 40%);
  background: #f0f0f0;
  box-shadow: 0 0 1px 0.5px #aedfee;
  justify-content: space-between;
  overflow: hidden;
  resize: both;
}
.title-bar {
  box-shadow: inset 0 0 0.5px 0.5px #fff;
  width: 100%;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 6px 6px 0 0;
  padding: 6px;
  top: -6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
      90deg,
      hsla(0, 0%, 100%, 0.4),
      rgba(0, 0, 0, 0.1),
      hsla(0, 0%, 100%, 0.2)
    ),
    linear-gradient(
      55deg,
      transparent,
      rgba(0, 0, 0, 0.1) 20%,
      rgba(0, 0, 0, 0.1) 50%,
      transparent 53%
    ),
    #666e78;
}
.title-bar-text {
  color: #000;
  letter-spacing: 0;
  line-height: 15px;
  text-shadow:
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff;
}
.title-bar-controls {
  display: flex;
  background: hsla(0, 0%, 100%, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-top: 0;
  border-radius: 0 0 5px 5px;
  margin-top: -6px;
  box-shadow: 0 0 2px #fff;
}
.title-bar-controls button {
  position: relative;
  min-width: 26px;
  min-height: 20px;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 0;
  box-shadow: inset 0 0 0 0.5px #eee;
  box-sizing: border-box;
  background: linear-gradient(
    hsla(0, 0%, 100%, 0.3),
    hsla(0, 0%, 100%, 0.3) 45%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.1) 75%,
    hsla(0, 0%, 100%, 0.5)
  );
}
.title-bar-controls button:first-child {
  border-bottom-left-radius: 5px;
}
.title-bar-controls button:last-child {
  border: 0;
  border-bottom-right-radius: 5px;
}
.title-bar-controls button:focus {
  outline: none;
}
.title-bar-controls button:hover {
  background: radial-gradient(circle at 50% 100%, #2aceda, transparent 60%),
    linear-gradient(#a9d2e8 50%, #196c9b 0);
}
.title-bar-controls button:active {
  box-shadow: inset 0 0 0 0.5px #eee;
  background: radial-gradient(circle at 50% 100%, #0bfdfa, transparent 60%),
    linear-gradient(#86a7bc 50%, #092747 0);
}
.title-bar-controls button:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.title-bar-controls button[aria-label="Minimize"]:before {
  background: url(icon/minimize.png) no-repeat center 10px;
}
.title-bar-controls button[aria-label="Maximize"]:before {
  background: url(icon/maximize.png) no-repeat 50%;
}
.title-bar-controls button[aria-label="Restore"]:before {
  background: url(icon/restore.png) no-repeat 50%;
}
.title-bar-controls button[aria-label="Close"] {
  background-color: #d04a37;
  width: 45px;
}
.title-bar-controls button[aria-label="Close"]:before {
  background: url(icon/close.png) no-repeat 50%;
      opacity: 1;
}
.title-bar-controls button[aria-label="Close"]:hover {
  filter: contrast(1.3);
}
.title-bar-controls button[aria-label="Close"]:active,
.title-bar-controls button[aria-label="Close"]:hover {
  background-image: linear-gradient(
    hsla(0, 0%, 100%, 0.3),
    hsla(0, 0%, 100%, 0.3) 45%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.1) 75%,
    hsla(0, 0%, 100%, 0.5)
  );
}
.title-bar-controls button[aria-label="Close"]:active {
  filter: contrast(1.3) brightness(0.7);
}
.window-body {
    width: 100%;
    height: -webkit-fill-available;
    overflow: auto;
    position: relative;
}
.form-cell {
  padding: 6px;
  margin: 10px;
  border: 1px solid #9eb6ce !important;
  border-width: 1px 1px 1px 1px !important;
  width: calc(100% - 20px);
  position: relative;
}
.save-cancel-btn {
  box-sizing: border-box;
  border: 1.5px solid #888;
  border-radius: 3px;
  box-shadow:
    inset 0 -1px 1px #fff,
    inset 0 1px 1px #fff;
  min-width: max-content;
  cursor: pointer;
  min-height: 23px;
  padding: 0 12px;
  text-align: center;
  background: linear-gradient(180deg, #eee 45%, #ddd 0, #bbb);
}
.window footer {
  width: 100%;
  margin-right: 20px;
}
.container-menu-item {
  padding: 6px;
}
.t-cell {
  padding: 8px;
  border: 1px solid #9eb6ce !important;
  border-width: 0px 1px 1px 0px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  font-size: 18px;
}
.t-cell:hover {
  overflow: visible;
  white-space: normal;
}
.row {
  /*transition: box-shadow 0.5s ease;*/
}
.l-border {
  border-left: 1px solid #9eb6ce !important;
}
.t-border {
  border-top: 1px solid #9eb6ce !important;
}
.row:hover {
  box-shadow: 0px 0px 4px 3px rgb(0 0 0 / 20%);
}
select{
	font:11pt Calibri;
	border:1.5px solid #888;
	border-radius:3px;
	box-sizing:border-box;
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	position:relative;
	padding:2px 30px 2px 3px;
	background:url(icon/button-down.svg),linear-gradient(180deg,#eee 45%,#ddd 0,#bbb);
	background-position:100%;
	background-repeat:no-repeat
}
select:focus{
	outline:none;
	border-color:#6d91ab;
	/*background-image:url(icon/button-down.svg),linear-gradient(180deg,#cee9f8 45%,#86c6e8 0)*/
}
.field-row{
	display:flex;
	align-items:center
}
.field-row>*+*{
	margin-left:6px
}
.field-row-stacked{
	display:flex;
	flex-direction:column;
}
.field-flex-row{
	display:flex;
	flex-direction: row;
}
.field-row-stacked>label{
    /*margin-left: 8px;*/
    padding: 8px;
        font-size: 17px;
    /* font-weight: 400; */
    color: #434448;
}
.field-row-stacked *+*,[class^=field-row]+[class^=field-row]{
	margin-top:0px;
}
.button, button {
    position: relative; /* Creează context pentru pseudo-elemente */
    font: 16pt Segoe UI, sans-serif;
    box-sizing: border-box;
    border: 1.5px solid #888;
    border-radius: 3px;
    box-shadow: inset 0 -1px 1px #fff, inset 0 1px 1px #fff;
    min-width: 75px;
    min-height: 23px;
    padding: 6px 12px;
    text-align: center;
    background-color: #f2f2f2;
    background: linear-gradient(180deg, #eee 45%, #ddd 0%, #bbb);
    cursor: pointer;
    transition: background 0.7s ease, color 0.3s ease; /* Tranziție doar pe fundal și culoare */
}

.button:hover, button:hover {
    background: linear-gradient(180deg, #d9d9d9 45%, #bfbfbf);
    color: #000; /* Textul devine mai întunecat */
    border-color: #555; /* Contur mai vizibil */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Adaugă o umbră externă */
}

.button::before, button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.1)); /* Efect suplimentar */
    border-radius: inherit; /* Păstrează forma butonului */
    z-index: 1; /* Afișat deasupra fundalului */
    opacity: 0; /* Invizibil implicit */
    transition: opacity 0.7s ease;
}

.button:hover::before, button:hover::before {
    opacity: 1; /* Devine vizibil la hover */
}


/*********************/
/*#main*/
#main{
    height: -webkit-fill-available;
    overflow: hidden;
}
/***/
.grid{
    display: grid;
}
.Clasificator {
    width: 270px;
    margin-left: 3px;
    position: relative;
    height: -webkit-fill-available;
    padding: 20px;
    box-shadow: -2px 0px 4px 2px #8b8b7d;
    font-size: 20px;
    display: flex;
    background-color: #ebebeb;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
.Container_Nomen{
    display: flex;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.miez-table{
height: -webkit-fill-available;
    position: relative;
    width: -webkit-fill-available;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #edede4;
}
.j-center {
    justify-content: center;
}
.center {
    text-align: center;
}
.bg-gr-01 {
    background: linear-gradient( 0deg, rgba(210, 219, 232, 1) 0%, rgba(240, 245, 246, 1) 100% );
}
/*Paginator style*/
.PgntrBlk {
  align-items: center;
  padding: 4px;
  font-size: 15px;
  justify-content: center;
}
.PgntrFrw {
  margin: 0 2px 0 2px;
  border-radius: 4px;
  border: 1px solid #e3e3e3;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 0 #fff,
    0 1px 2px #666;
  text-shadow: 0 1px 1px #fff;
  text-align: center;
  background-color: #e6e6e6;
  background-image: -webkit-linear-gradient(top, #f3f3f3, #d7d7d7);
  background-image: -moz-linear-gradient(top, #f3f3f3, #d7d7d7);
  background-image: -ms-linear-gradient(top, #f3f3f3, #d7d7d7);
  background-image: -o-linear-gradient(top, #f3f3f3, #d7d7d7);
  background-image: linear-gradient(top, #f3f3f3, #d7d7d7);
  padding: 1px 0 0 0;
  transition: 0.5s;
}
.PgntrFrw:hover {
  background-color: #4f96bffc;
  background-image: none;
}
.PgntrFrw:active {
  box-shadow: 0 1px 1px #999;
  background-color: #dfdfdf;
  background-image: -webkit-linear-gradient(top, #d0d0d0, #ebebeb);
  background-image: -moz-linear-gradient(top, #d0d0d0, #ebebeb);
  background-image: -ms-linear-gradient(top, #d0d0d0, #ebebeb);
  background-image: -o-linear-gradient(top, #d0d0d0, #ebebeb);
  background-image: linear-gradient(top, #d0d0d0, #ebebeb);
}
.PgntrPag {
  border: 1px solid #e9e9e9;
  border-radius: 4px;
  box-shadow: 0 1px 1px #999;
  background-color: #dfdfdf;
  background-image: -webkit-linear-gradient(top, #d0d0d0, #ebebeb);
  background-image: -moz-linear-gradient(top, #d0d0d0, #ebebeb);
  background-image: -ms-linear-gradient(top, #d0d0d0, #ebebeb);
  background-image: -o-linear-gradient(top, #d0d0d0, #ebebeb);
  background-image: linear-gradient(top, #d0d0d0, #ebebeb);
  padding: 1px 0 0 0;
  text-align: center;
  transition: 0.5s;
}
/*************************/
.column1 {
    flex-grow: 0;
}
.rsz {
    width: 3px;
    border: 1px solid;
    cursor: col-resize;
    background-color: #ccc;
}
.column {
    width: -webkit-fill-available;
    min-width: 200px;
    /* padding: 20px; */
    /*border: 1px solid #ccc;*/
    overflow-y: hidden;
}
.c-pointer{
    cursor: pointer;
}
.context-menu {
    position: absolute;
    z-index: 77777;
}

/*******************ul*******************/
ul[role] {
  margin: 0;
  padding: 0;
  list-style: none;
  cursor: default;
}
ul[role="menubar"] {
  height: 30px;
  display: flex;
  background: linear-gradient(0deg, #aeaead 0%, #999595 100%);
}
ul[role="menubar"] > [role="menuitem"] {
  position: relative;
  padding: 6px 10px;
}
ul[role="menubar"] > [role="menuitem"]:focus,
ul[role="menubar"] > [role="menuitem"]:focus-within,
ul[role="menubar"] > [role="menuitem"]:hover {
  background: #39f;
  color: #fff;
  outline: none;
}
ul[role="menu"] {
  position: relative;
  min-width: 150px;
  padding: 2px 0px;
  background: #f0f0f0;
  color: initial;
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 4px 4px 3px -2px rgba(0, 0, 0, 0.5);
}
ul[role="menu"]:before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 28px;
  width: 2px;
  height: calc(100% - 4px);
  box-shadow:
    inset 1px 0 rgba(0, 0, 0, 0.15),
    inset -1px 0 #fff;
}
[role="menuitem"] ul[role="menu"] {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 99;
}
ul[role="menu"] [role="menuitem"] > [role="menu"] {
  top: -4px;
  left: 100%;
}
ul[role="menu"] > [role="menuitem"] > a,
ul[role="menu"] > [role="menuitem"] > button,
ul[role="menu"] > [role="menuitem"][aria-haspopup="true"] {
  all: unset;
  position: relative;
  display: block;
  width: 100%;
  padding: 4px 10px 4px 32px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 3px;
}
ul[role="menu"] > [role="menuitem"] > a:focus,
ul[role="menu"] > [role="menuitem"] > a:hover,
ul[role="menu"] > [role="menuitem"] > button:focus,
ul[role="menu"] > [role="menuitem"] > button:hover,
ul[role="menu"] > [role="menuitem"][aria-haspopup="true"]:focus,
ul[role="menu"] > [role="menuitem"][aria-haspopup="true"]:hover {
  background: linear-gradient(
    180deg,
    hsla(0, 0%, 100%, 0.5),
    rgba(184, 214, 251, 0.5) 60%,
    rgba(184, 214, 251, 0.5) 90%,
    hsla(0, 0%, 100%, 0.8)
  );
  border-color: #b8d6fb;
}
ul[role="menu"] > [role="menuitem"][aria-haspopup="true"]:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: currentcolor;
}
ul [role="menuitem"] {
  position: relative;
}
ul [role="menuitem"]:focus-within > [role="menu"],
ul [role="menuitem"]:focus > [role="menu"] {
  display: block;
}
ul [role="menuitem"].has-divider:after {
  content: "";
  pointer-events: none;
  display: block;
  height: 2px;
  margin: 3px 0 2px 28px;
  box-shadow:
    inset 0 1px rgba(0, 0, 0, 0.15),
    inset 0 -1px #fff;
}
ul [role="menuitem"] img {
  position: absolute;
  z-index: 1;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
ul.can-hover [role="menuitem"]:hover > [role="menu"] {
  display: block;
}
.ClTtl {
    grid-template-columns: 0px 1fr;
    display: grid;
    font-size: 18px;
    color: #434a56;
    text-align: center;
    padding: 4px;
    letter-spacing: 0.6px;
    font-weight: 700;
    margin: 11px 7px 4px 4px;
    box-shadow: 2px 2px 6px 1px #918888;
    align-items: center;
}
.noselect{
    user-select: none;
}
.container{
    position: relative;
    overflow: hidden;
    height: -webkit-fill-available;
    width: -webkit-fill-available;
}
input[type="text"].f-input, input[type="number"].f-input{
    all: unset;
    padding: 2px 4px;
    border: 1px solid #9eb6ce !important;
    border-width: 0px 1px 1px 0px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: text;
}
.right{
    text-align: right!important;
    justify-content: flex-end;
}
input[type="text"], input[type="password"] {
    border-radius: 0;
}
fieldset {
    border: 1px solid #cdd7db;
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px #fff;
    padding: 6px;
    padding-block-start: 6px;
    margin: 0;
}
legend{
    background: #f0f0f0;
}