@font-face {
  font-family: FontAwesome;
  src: url("../assets/fonts/fontawesome-webfont.eot?v=4.7.0");
  src: url("../assets/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0") format("embedded-opentype"), url("../assets/fonts/fontawesome-webfont.woff2?v=4.7.0") format("woff2"), url("../assets/fonts/fontawesome-webfont.woff?v=4.7.0") format("woff"), url("../assets/fonts/fontawesome-webfont.ttf?v=4.7.0") format("truetype"), url("../assets/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular") format("svg");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: Montserrat;
  src: url("../assets/fonts/Montserrat-Regular.ttf");
}
@font-face {
  font-family: ExoLight;
  src: url("../assets/fonts/Exo2-Light.woff2");
}
*,
::after,
::before {
  box-sizing: border-box;
}
img {
  border: 0;
}
body,
html {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
  font-family: "Montserrat", sans-serif;
  background-color: #f1f5f9;
}
form {
  margin: 0;
  padding: 0;
  border: 0;
}
::placeholder {
  color: #bbbbbb;
  opacity: 1;
}
.container {
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
.container .loginWrapper {
  display: flex;
  align-items: center;
  width: 480px;
  margin: auto;
}
.container .loginWrapper .loginWrap {
  background-color: #ffffff;
  width: 100%;
  margin-top: 30%;
  padding: 1.5rem 1.5rem;
  box-shadow: 0 0 0 0 rgba(90,113,208,0.11), 0 4px 16px 0 rgba(167,175,183,0.33);
  -webkit-box-shadow: 0 0 0 0 rgba(90,113,208,0.11), 0 4px 16px 0 rgba(167,175,183,0.33);
  -moz-box-shadow: 0 0 0 0 rgba(90,113,208,0.11), 0 4px 16px 0 rgba(167,175,183,0.33);
  -ms-box-shadow: 0 0 0 0 rgba(90,113,208,0.11), 0 4px 16px 0 rgba(167,175,183,0.33);
}
.container .loginWrapper .loginFrm {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
}
.container .loginWrapper .loginFrm form {
  margin: 0;
  padding: 0;
  border: 0;
}
.container .loginWrapper .loginFrm form h4,
.container .loginWrapper .loginFrm form .h4,
.container .loginWrapper .loginFrm form .h4 {
  font-size: 1.125rem;
}
.container .loginWrapper .loginFrm form h6,
.container .loginWrapper .loginFrm form .h6,
.container .loginWrapper .loginFrm form .h6 {
  font-size: 1.18rem;
}
.container .loginWrapper .loginFrm form .fw-light {
  font-weight: 300 !important;
  margin: 0;
  padding: 0;
}
.container .loginWrapper .loginFrm form label {
  display: block;
  margin: 1.2rem 0 0.5rem 0;
  font-size: 0.94rem;
}
.container .loginWrapper .loginFrm form input,
.container .loginWrapper .loginFrm form select {
  width: 100%;
  font-size: 0.94rem;
  padding: 7px;
  font-weight: 400;
  border: 1px solid #4b4b4b;
}
.container .loginWrapper .loginFrm form fieldset {
  padding: 0 0 19px 15px;
  border-color: #f8f8f8;
}
.container .loginWrapper .loginFrm form button {
  font-size: 0.94rem;
  padding: 9px 15px;
  font-weight: 400;
  border: 1px solid #1F3BB3;
  border-radius: 5px;
  margin: 1.5rem 0 0 0;
  background-color: #1F3BB3;
  color: #ffffff;
  cursor: pointer;
  width: 100%;
}
.container .loginWrapper .loginFrm form .loginRow {
  display: inline-block;
  width: 100%;
  clear: both;
}
.container .loginWrapper .loginFrm form .logLeft {
  display: inline-block;
  width: 49%;
  text-align: left;
}
.container .loginWrapper .loginFrm form .logRight {
  display: inline-block;
  width: 49%;
  text-align: right;
  position: relative;
}
.container .loginWrapper .loginFrm form .logRight a {
  font-size: 0.94rem;
  line-height: 55px;
  color: #06a3da;
  text-decoration: none;
}
.container .loginWrapper .loginFrm form .logRight a:hover {
  text-decoration: none;
  color: #1a708e;
}
.container .loginWrapper .loginFrm form .error {
  font-size: 0.88rem;
  padding: 0 7px;
  font-weight: 400;
  text-align: left;
  color: #ff0000;
}
.container .loginWrapper .loginFrm form .msg {
  font-size: 0.9rem;
  padding: 15px 0 0 0;
  font-weight: 600;
}
.container .loginWrapper .loginFrm form .txtError {
  text-align: center;
  color: #ff0000;
}
.container .loginWrapper .loginFrm form .error-border {
  border: 1px solid #e70000;
}
.container .loginWrapper .loginFrm form .error {
  color: red;
  font-size: 0.85rem;
  margin: 5px 0 0 -5px;
}
.register-footer {
  margin-top: 10px;
  text-align: center;
  font-size: 15px;
  color: #313131;
}

.register-footer a {
  font-size: 0.94rem;
  line-height: 55px;
  color: #06a3da;
  text-decoration: none;
}

.register-footer a:hover {
  text-decoration: none;
  color: #1a708e;
}
header.header {
  padding: 27px 0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 99;
  margin: 0;
}
header.header .header-content {
  display: flex;
  align-items: center;
}
header.header .header-content a.button {
  margin: 0 1.5rem;
  cursor: pointer;
  display: inline-block;
  font-weight: 500;
  border-radius: 5px;
  font-size: 1rem;
  font-family: "RobotoRegular", Tahoma;
  line-height: 24px;
  padding: 8px 14px;
  background-color: #4e6691da;
  color: #ffffff;
  text-align: center;
  transition: background 300ms ease-in-out 0s, color 300ms ease-in-out 0s;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid #4e6691da;
  min-width: 102px;
}
header.header .header-content a.button:hover {
  background-color: #0083b8;
  border: 1px solid #0083b8;
}
header.header .header-content a.button i.button-icon {
  font-family: FontAwesome;
  font-size: 1rem;
  font-weight: 500;
  font-style: normal;
  margin-right: 10px;
  width: 20px;
  height: auto;
  color: #ffffff;
  transition: 200ms ease;
}
header.header .header-content a.button .close-menu::after {
  content: "\f053";
}
header.header .header-content a.button .open-menu::before {
  content: "\f039";
}
header.header .header-content .user-logged {
  position: absolute;
  display: inline-flex;
  align-items: center;
  margin: 1px auto;
  height: 42px;
  right: 25px;
}
header.header .header-content .user-logged span.lang { padding: 5px 10px; background-color: #00bd387a; margin-right: 12px; border-radius: 5px; font-size: 12px; color: #333; }
header.header .header-content .user-logged p {
  font-size: 16px;
  font-weight: 600;
  color: #1A2142;
  margin: 0;
  cursor: pointer;
}
header.header .header-content .user-logged ul.user-menu {
  display: none;
  list-style: none;
  margin: 12px auto;
  padding: 12px 0;
  background-color: #ffffff;
  box-shadow: 0 0 15px 0 #ddd;
  position: absolute;
  right: 0px;
  min-width: 180px;
}
header.header .header-content .user-logged ul.user-menu li {
  display: block;
}
header.header .header-content .user-logged ul.user-menu li a {
  text-decoration: none;
  outline: 0;
  color: #6d789f;
  text-align: left;
  font-family: "Montserrat", Tahoma;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  padding: 14px 28px 14px 16px;
  line-height: 26px;
}
header.header .header-content .user-logged ul.user-menu li a:hover {
  color: #06070a;
}
header.header .header-content form {
  position: relative;
  border: 1px solid #4e6691da;
  border-radius: 6px;
  background: #f8f8f8;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  height: 42px;
  width: 45%;
}
header.header .header-content form select {
  width: auto;
  text-transform: capitalize;
  background-color: transparent;
  position: relative;
  border: 0;
  border-radius: 0;
  padding: 12px 20px 11px 20px;
  font-family: "RobotoRegular", Tahoma;
  font-size: 0.9rem !important;
  color: #1A2142;
  cursor: pointer;
  outline: 0;
}
header.header .header-content form select option {
  padding: 5px 8px;
}
header.header .header-content form input[type^="text"] {
  position: static;
  padding: 10px 20px;
  width: 80%;
  box-shadow: none;
  vertical-align: bottom;
  font-family: "RobotoRegular", Tahoma;
  font-size: 0.92rem !important;
  color: #1A2142;
  background-color: transparent;
  outline: 0 !important;
  border: 0;
  margin: auto;
  border-left: 1px solid #4e6691da;
}
header.header .header-content form input[type^="submit"] {
  position: static;
  padding: 14px 30px !important;
  margin-left: 10px;
  border: 0;
  text-transform: uppercase;
  font-size: 13px !important;
  color: #ffffff;
  background-color: #4e6691da;
  border-color: #4e6691da;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  transition: 200ms ease;
  font-weight: 600;
  font-family: "RobotoRegular", Tahoma;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  outline: none;
}
header.header .header-content form input[type^="submit"]:hover {
  background-color: #0083b8;
}
aside.containerLeft {
  background: #ffffff;
  width: 280px;
  padding: 0;
  height: 100vh;
  position: fixed;
  overflow-y: scroll;
  overflow-x: hidden;
  top: 0;
  left: 0;
  z-index: 20;
  box-shadow: 0px 0px 30px 0px rgba(200,208,216,0.3);
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
aside.containerLeft .logo {
  display: flex;
  align-items: center;
  padding: 0 21px;
  margin-bottom: 30px;
  margin-top: 23px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0083b8;
  text-indent: 10px;
  font-family: "ExoLight", sans-serif;
}
aside.containerLeft .logo img {
  width: auto;
  height: 32px;
}
aside.containerLeft .logo i.menu-icon {
  font-family: FontAwesome;
  font-size: 1.1rem;
  font-style: normal;
  margin-right: 9px;
  color: #0083b8;
}
aside.containerLeft .toggleOn {
  display: block;
}
aside.containerLeft .toggleOff {
  display: none;
}
aside.containerLeft ul.navMenu {
  margin: 0;
  padding: 0;
}
aside.containerLeft ul.navMenu li.nav-section {
  margin: 0;
  list-style-type: none;
  color: #6d789f;
}
aside.containerLeft ul.navMenu li.nav-section ul.sub-nav {
  margin: 0;
  padding: 5px 24px 15px 25px;
}
aside.containerLeft ul.navMenu li.nav-section ul.sub-nav li.nav-item {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
aside.containerLeft ul.navMenu li.nav-section a {
  display: flex;
  align-items: center;
  color: #6d789f;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  position: relative;
  z-index: 1;
  padding: 7px 25px;
  text-decoration: none;
}
aside.containerLeft ul.navMenu li.nav-section a i.end-menu-icon {
  font-family: FontAwesome;
  font-size: 0.9rem;
  font-style: normal;
  color: #6d789f;
  position: absolute;
  right: 25px;
  top: 12px;
  font-size: 14px;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}
aside.containerLeft ul.navMenu li.nav-section a i.menu-icon {
  font-family: FontAwesome;
  font-size: 1.1rem;
  font-style: normal;
  margin-right: 9px;
  color: #6d789f;
  width: 20px;
}
aside.containerLeft ul.navMenu li.nav-section a .arrow::after {
  content: "\f107";
}
aside.containerLeft ul.navMenu li.nav-section a .clinic::before {
  content: "\f0f8";
}
aside.containerLeft ul.navMenu li.nav-section a .content::before {
  content: "\f15c";
}
aside.containerLeft ul.navMenu li.nav-section a .dashboard::before {
  content: "\f015";
}
aside.containerLeft ul.navMenu li.nav-section a .settings::before {
  content: "\f085";
}
aside.containerLeft ul.navMenu li.nav-section a .users::before {
  content: "\f2be";
}
aside.containerLeft ul.navMenu li.nav-section a .links::before {
  content: "\f074";
}
aside.containerLeft ul.navMenu li.nav-section a .projects::before {
  content: "\f1c0";
}
aside.containerLeft ul.navMenu li.nav-section a .images::before {
  content: "\f1c5";
}
aside.containerLeft ul.navMenu li.nav-section a .logout::before {
  content: "\f08b";
}
aside.containerLeft ul.navMenu li.nav-section a:hover {
  color: #06070a;
}
aside.containerLeft ul.navMenu li.nav-section a:hover i.menu-icon {
  color: #cc0074;
}

i.icon_href {
  font-family: FontAwesome;
  font-size: 14px;
  font-style: normal;
  color: #464646;
  width: 20px;
}
i.icon_href::before {
  content: "\f0c1";
}

aside.containerLeft ul.navMenu li.nav-section a:hover i.end-menu-icon {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
  color: #06070a;
}
aside.containerLeft ul.navMenu li.nav-section a.selected {
  color: #06070a;
}
aside.containerLeft ul.navMenu li.nav-section a.selected i.menu-icon {
  color: #cc0074;
}
aside.containerLeft ul.navMenu li.nav-section a.selected i.end-menu-icon {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
  color: #06070a;
}
aside.containerLeft ul.navMenu li.nav-section a.nav-link {
  display: block;
  color: #6d789f;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  position: relative;
  z-index: 1;
  padding: 0 28px;
  text-decoration: none;
  line-height: 32px;
}
aside.containerLeft ul.navMenu li.nav-section a.nav-link:hover {
  color: #06070a;
}
aside.containerLeft ul.navMenu li.nav-section a.current {
  color: #06070a;
}
.main-wrapper {
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  margin-left: 280px;
  min-height: 100vh;
  position: relative;
}
.content-wrapper {
  position: relative;
  width: 96%;
  margin: 0 auto;
}
.content-wrapper .form-group {
  position: relative;
  width: 100%;
  display: inline-block;
  padding: 1.2rem 0.2rem;
}
.content-wrapper .form-group .row-1 {
  background-color: #eaeaf1;
  border: 0;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}
.content-wrapper .form-group .row-0 {
  background-color: #fafafa;
  border: 0;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.content-wrapper .form-group .row-head,
.content-wrapper .form-group .row-record {
  position: relative;
  float: left;
  display: table;
  width: 100%;
}
.content-wrapper .form-group .row-head div,
.content-wrapper .form-group .row-record div {
  display: table-cell;
  width: auto;
  border: 0;
  padding-left: 15px;
}
.content-wrapper .form-group .row-head div {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 43px;
}
.content-wrapper .form-group .row-record div {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 24px;
  padding: 8px 14px;
}
.content-wrapper .form-group .row-record div img {
  display: inline-block;
  height: 24px;
  margin-right: 20px;
  vertical-align: middle;
  cursor: pointer;
}
.content-wrapper .form-group .row-record div span {
  position: relative;
  vertical-align: middle;
  padding: 0;
}
.content-wrapper .form-group .row-record .row-1 {
  background-color: #eaeaf1;
  border: 0;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}
.content-wrapper .form-group .row-record .row-0 {
  background-color: #fafafa;
  border: 0;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.content-wrapper .form-group .boxHeaderCard {
  position: relative;
  width: 50%;
  display: inline-block;
  text-align: left;
}
.content-wrapper .form-group .boxHeaderCard h2 {
  margin: 0;
  font-family: "Montserrat", Tahoma;
  font-size: 1.5rem;
  letter-spacing: 0.008em;
  text-align: left;
  padding: 0;
  color: #1A2142;
}
.content-wrapper .form-group .boxHeaderButtons {
  position: relative;
  width: 49%;
  display: inline-block;
  text-align: right;
}
.content-wrapper .form-group .boxHeaderButtons button {
  font-size: 0.94rem;
  padding: 10px 25px;
  font-weight: 400;
  border: 1px solid #1F3BB3;
  border-radius: 5px;
  margin: 0;
  background-color: #1F3BB3;
  color: #ffffff;
  cursor: pointer;
}
.content-wrapper .form-group .boxHeaderButtons button:hover {
  background-color: #02315f;
}
.content-wrapper .form-group .card-style {
  position: relative;
  float: left;
  width: 100%;
  background-color: #ffffff;
  box-shadow: rgba(50,50,93,0.25) 0px 6px 12px -2px, rgba(0,0,0,0.3) 0px 3px 7px -3px;
  border-radius: 10px;
  margin: 1rem 0;
  padding: 18px;
}
.content-wrapper .form-group .card-style .form-buttons {
  position: relative;
  width: 100%;
  display: inline-block;
}
.content-wrapper .form-group .card-style .form-buttons button {
  font-size: 0.94rem;
  padding: 10px 35px;
  font-weight: 400;
  border: 1px solid #1F3BB3;
  border-radius: 5px;
  margin: 1.5rem 1rem 0.7rem 0;
  background-color: #1F3BB3;
  color: #ffffff;
  cursor: pointer;
}
.content-wrapper .form-group .card-style .form-buttons .primary {
  background-color: #1F3BB3;
}
.content-wrapper .form-group .card-style .form-buttons .primary:hover {
  background-color: #02315f;
}
.content-wrapper .form-group .card-style .form-buttons .secondary {
  background-color: #b6b3b3;
  border-color: #6b6c6f;
}
.content-wrapper .form-group .card-style .form-buttons .secondary:hover {
  background-color: #6b6c6f;
}
.content-wrapper .table-container .frmColFirst,
.content-wrapper .table-container .frmColSecond {
  position: relative;
  text-align: left;
  width: 48.5%;
  display: inline-block;
  vertical-align: top;
}
.content-wrapper .table-container .frmColSecond {
  float: right;
}
.content-wrapper .table-container .frmColFirst .entire-col,
.content-wrapper .table-container .frmColSecond .entire-col {
  display: table;
  width: 100%;
  border: 0;
}
.content-wrapper .table-container .frmColFirst .fifty-col,
.content-wrapper .table-container .frmColSecond .fifty-col {
  display: table-cell;
}
.content-wrapper .table-container .frmColFirst input,
.content-wrapper .table-container .frmColFirst select,
.content-wrapper .table-container .frmColFirst textarea,
.content-wrapper .table-container .frmColSecond input,
.content-wrapper .table-container .frmColSecond select,
.content-wrapper .table-container .frmColSecond textarea {
  width: 100%;
  font-size: 14px;
  padding: 7px;
  font-weight: 400;
  border: 1px solid #bbbbbb;
  background-color: #bbbbbb30;
  border-radius: 5px;
  margin: 0;
  outline: none;
}
.content-wrapper .table-container .frmColFirst input:focus,
.content-wrapper .table-container .frmColFirst select:focus,
.content-wrapper .table-container .frmColFirst textarea:focus,
.content-wrapper .table-container .frmColSecond input:focus,
.content-wrapper .table-container .frmColSecond select:focus,
.content-wrapper .table-container .frmColSecond textarea:focus {
  border: 1px solid #898989;
  background-color: #ffffff;
}
.content-wrapper .table-container .frmColFirst input[type=checkbox] { float: left; width: 20px; height: 20px; margin: 0 12px 0 0; }
.content-wrapper .table-container .frmColFirst label,
.content-wrapper .table-container .frmColSecond label {
  display: block;
  margin: 1.2rem 0 0.5rem 0;
  font-size: 0.94rem;
}
.content-wrapper .table-container .frmColFirst fieldset,
.content-wrapper .table-container .frmColSecond fieldset {
  padding: 0 0 19px 15px;
  border-color: #f8f8f8;
}
.content-wrapper .table-container .frmColFirst div span, .content-wrapper .table-container .frmColSecond div span { display: block; text-align: right; cursor: pointer; font-size: 14px; margin: 5px; color: #002519; }
.user-menu-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-left: auto;
}

.user-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.icon, .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.icon:hover {
  border-radius: 0;
}
.avatar:hover {
  position: absolute;
  transform: scale(6.5);
  z-index: 30;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  border-radius: 0;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 10px;
  background: white;
  border: 1px solid #ccc;
  padding: 10px;
  width: 220px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  display: none;
  z-index: 100;
}

.dropdown-menu hr { margin: 5px; }

.dropdown-menu a {
  display: block;
  padding: 5px 0;
  color: #333;
  text-decoration: none;
  font-size: 15px; 
  margin-left: 5px;
}

.dropdown-menu a:hover {
  /*text-decoration: underline;*/
  color: #ac0000;
}

.dropdown-menu.show {
  display: block;
}

.head-form {
  display: flex;
  justify-content: space-between; /* titlu stânga, acțiune dreapta */
  align-items: center;            /* aliniază pe verticală */
  width: 100%;
  margin: 12px 0;
}
.action-form {
  display: flex;
  justify-content: flex-end; /* butonul lipit la dreapta */
  align-items: center;
}
.action-form a {
  position: relative;
  margin: auto;
  cursor: pointer;
  display: flex;
  font-weight: 500;
  border-radius: 5px;
  font-size: 1rem;
  padding: 5px 14px;
  background-color: #222e44da;
  color: #ffffff;
  transition: background 300ms ease-in-out 0s, color 300ms ease-in-out 0s;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid #4e6691da;
  min-width: 102px;
  align-items: center;
}
.action-form a:hover {
  background-color: #1c5ac9da;
}
.action-form a span { font-size: 31px; margin: 0; padding: 0 7px 0 0; line-height: normal; }

.action-form button.save {
  position: relative;
  margin: auto auto auto 5px;
  cursor: pointer;
  display: inline-block;
  font-weight: 500;
  border-radius: 5px;
  font-size: 15px;
  padding: 5px 14px;
  background-color: #222e44da;
  color: #ffffff;
  transition: background 300ms ease-in-out 0s, color 300ms ease-in-out 0s;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid #4e6691da;
  min-width: 102px;
  text-align: center;
  line-height: 24px;
}
.action-form button.save:hover {
  background-color: #1c5ac9da;
}

.action-form a.cancel {
  position: relative;
  margin: auto;
  cursor: pointer;
  display: inline-block;
  font-weight: 500;
  font-size: 15px;
  padding: 5px 0 5px 14px;
  color: #4e6691da;
  text-decoration: none;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 24px;
  background-color: transparent;
  border: 0;
}
.action-form a.cancel:hover {
  color: #31415d;
}

.title-form {
  position: relative;
}
.title-form h2 {
  font-size: 22px;
  font-weight: 600;
  text-align: left;
}

.table-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 100%;
    margin: auto;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
label { font-size: 14px; }
select, input[type="text"], input[type="date"] {
    padding: 5px;
    border: 1px solid #a7a7a7;
    border-radius: 5px;
    font-size: 14px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #f1f3f5;
}

th, td {
    font-size: 14px;
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
td span.mobile { display: none; }
td a { text-decoration: none; font-weight: 600; color: #333; }
td a:hover { color: #5a2525; }
tr td:last-child { text-align: right; }

tr td:last-child img { width: 22px; margin: 0 10px; }

p.no-records { text-align: center; color: #023e58; font-size: 15px; }

td span {
    display: inline-block;
    padding: 7px 9px;
    cursor: pointer;
}

span.green { background-color: #199600; padding: 5px 10px; border-radius: 7px; color: #fff; font-size: 12px; }
span.red { background-color: #cf1c0c; padding: 5px 10px; border-radius: 7px; color: #fff; font-size: 12px; }

th {
    cursor: pointer;
}

tbody tr:hover {
    background-color: #f1f3f5;
}

.pagination {
    margin-top: 25px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.pagination button {
    padding: 5px 10px;
    border: none;
    background-color: #fff;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid #ddd;
}

.pagination button.active {
    background-color: #3366ff;
    color: #fff;
}

.pagination button:hover:not(.active) {
    background-color: #e0e0e0;
}

#return-to-top {
    position: fixed;
    bottom: 50px;
    right: 20px;
    background-color: #222e44da;
    width: 50px;
    height: 50px;
    text-decoration: none;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    line-height: normal;
    border-radius: 50%;
    z-index: 2000;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: #1c5ac9da;
}
#return-to-top:hover i {
    color: #ffffff;
}
.icon-chevron-up:before {
    content: "\f077";
}
[class*=" icon-"],
[class^="icon-"] {
    font-family: FontAwesome;
    font-weight: 400;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
}

.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  z-index: 1000;
}
.popup-overlay.displayed {
  display: flex; /* se afișează la apel */
}

/* Popup */
.popup {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  width: 380px;
  max-width: 88%;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  animation: fadeInUp 0.4s ease;
}

.popup h2 {
  margin-top: 0;
  color: #222;
  font-size: 18px;
}

.popup p {
  color: #555;
  margin: 15px 0 25px;
  font-size: 16px;
  line-height: 1.5;
}
.popup p a {
    display: block;
    color: #555;
    margin: 15px 0 25px;
    font-size: 16px;
    line-height: 1.5;
}
.popup-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.btn {
    padding: 7px 14px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 10px;
    outline: 0;
    border-color: transparent;
    cursor: pointer;
}
.btn-red {
  background: #f44c4c;
  color: white;
}

.btn-red:hover {
  background: #d93636;
}

.btn-gray {
  background: #e0e0e0;
  color: #333;
}

.btn-gray:hover {
  background: #ccc;
}

.error-box {
    background: #ffd6d6;
    padding: 7px 10px;
    margin-bottom: 15px;
    border: 1px solid #ff5a5a;
    color: #c40000;
}
.error-box p.error { font-size: 16px; padding: 0 0 0 12px; line-height: normal; }

.success-box {
    background: #ffd6d6;
    padding: 7px 10px;
    margin-bottom: 15px;
    border: 1px solid #ff5a5a;
    color: #029e9e;
}
.success-box p.success { font-size: 16px; padding: 0 0 0 12px; line-height: normal; }

.success-box {
    background: #d8f8d8;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #2cb12c;
    color: #227722;
}


.toolbar {
    text-align: center;
    margin: 0 0 7px 0;
    padding: 0 0 7px 0;
    background-color: #f8fdeb;
    width: 97%;
}
  
.toolbar a {
    border: 1px solid #AAA;
    background: #FFF;
    font-family: 'Candal';
    border-radius: 1px;
    color: black;
    padding: 5px;
    width: 2em;
    margin: 2px;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0px 1px 0px #CCC;
}

.toolbar a:hover {
    background: #f2f2f2;
    border-color: #8c8c8c;
}

.accordeon-item {
  width: 100%;
  margin: 21px 0;
}
.accordeon-button {
    width: 100%;
    background-color: #e8eef4;
    border: none;
    padding: 1rem 2.2rem 1rem 1rem;
    margin: 0; 
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
    font-family: "Poppins", Tahoma;
    font-size: 16px;
    font-weight: 400;
    border-radius: 10px;
}
.accordeon-button::after {
    content: "\27AD";
    position: absolute;
    font-size: 26px;
    right: 1rem;
    transition: transform 0.3s;
    transform: translateY(-50%) rotate(90deg);
    top: 50%;
}
.accordeon-button.active { background: #c8e2f9; }
.accordeon-button.active::after {
    transform: rotate(-90deg);
    top: 11px;
    
}
.accordeon-button:hover {
    background: #c8e2f9;
}
.accordeon-section {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.accordeon-section.active {
  max-height: 1000px;
  width: 94%;
  margin: 3px auto;
  overflow: hidden;
  overflow-y: auto;
  opacity: 1;
}
.accordeon-section p.button {
    position: relative;
    margin: auto auto auto 35%;
    cursor: pointer;
    display: inline-block;
    font-weight: 500;
    border-radius: 5px;
    font-size: 13px;
    padding: 5px 14px;
    background-color: #a7b9ca;
    color: #333;
    transition: background 300ms ease-in-out 0s, color 300ms ease-in-out 0s;
    text-decoration: none;
    letter-spacing: 0.02em;
    border: 1px solid #a7b9ca;
    min-width: 102px;
    text-align: center;
    line-height: 24px;
}
.accordeon-section p.button:hover {
    background-color: #585f65;
    border: 1px solid #585f65;
    color: #fff;
}
fieldset { 
    padding: 0 0 19px 15px;
    border-color: #f8f8f8;
    width: 97%;
    border-radius: 10px;
    margin: 30px 0;
}
fieldset legend { margin: 11px; padding: 0 9px; }
fieldset a { display: block; font-size: 15px; line-height: 24px; text-decoration: none; color: #f21010; }

.ord { width: 10px; }
.ordering {
    display: inline-block;
    width: 80px; 
    margin: 0 auto;
}

.ordering button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
    color: #555;
    transition: 0.2s;
}

.ordering button:hover {
    color: #000;
    transform: scale(1.2);
  }

.ordering button:disabled {
    color: #ccc;
    cursor: default;
    transform: none;
}

.ordering button.up {
  float: left;
}

.ordering button.down {
  float: right;
}

.mask {
	display: none;
	position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 60%);
    z-index: 200;
    cursor: pointer;
}
.mask .page-box {
	width: 100%;
    width: 60%;
    height: 60%;
    padding: 10px;
    background: #fff;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    overflow-y: auto;
    border-radius: 12px;
}
.mask .close {
	color: #000;
	background: rgba(255,255,255,0.8);
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	position: absolute;
	top: 15%;
  right: 17%;
	font-size: 24px;
	font-weight: bold;
	border-radius: 50%;
	cursor: pointer;
}
.mask .close:hover { background: rgba(255,255,255,1); }
.is-visible { display: block !important; }
.fadein { animation: fadein 400ms ease-in-out; }
.fadeout { animation: fadeout 400ms ease-in-out; }

@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeout {
  from { opacity: 1; }
  to { opacity: 0; }
}

.form-group {
    position: relative;
    width: 100%;
    display: inline-block;
    padding: 0.5rem 1.4rem;
    min-height: 400px;
}

.form-group .head-edit {
    position: relative;
    width: 100%;
    display: inline-block;
    padding: 0;
}

.form-group .head-edit .col-2-3 {
    position: relative;
    width: 36%;
    display: inline-block;
    padding: 0;
}

.form-group .head-edit .col-1-3 {
    position: relative;
    display: inline-block;
    text-align: left;
    padding: 0;
}

.form-group .frmColFirst,
.form-group .frmColSecond {
  position: relative;
  text-align: left;
  width: 49.5%;
  display: inline-block;
  vertical-align: top;
}

.form-group .frmColFirst label,
.form-group .frmColSecond label {
  display: block;
  margin: 1.2rem 0 0.5rem 0;
  font-size: 0.94rem;
}

.form-group .frmColFirst input,
.form-group .frmColFirst select,
.form-group .frmColFirst textarea,
.form-group .frmColSecond input,
.form-group .frmColSecond select,
.form-group .frmColSecond textarea {
  width: 97%;
  font-size: 14px;
  padding: 7px;
  font-weight: 400;
  border: 1px solid #bbbbbb;
  background-color: #e2e2e230;
  border-radius: 5px;
  margin: 0;
  outline: none;
}
.content-wrapper .table-container .frmColFirst h3 { display: block; margin: 17px 0 0 0; padding: 0; line-height: 170%; font-size: 17px; font-weight: 600; text-align: left; }
.form-group button.primary {
    position: relative;
    margin: auto;
    cursor: pointer;
    display: inline-block;
    font-weight: 500;
    border-radius: 5px;
    font-size: 15px;
    padding: 5px 14px;
    background-color: #222e44da;
    color: #ffffff;
    transition: background 300ms ease-in-out 0s, color 300ms ease-in-out 0s;
    text-decoration: none;
    letter-spacing: 0.02em;
    border: 1px solid #4e6691da;
    min-width: 102px;
    text-align: center;
    line-height: 24px;
}

/* Fundalul care acoperă tot ecranul */
.custom-modal {
    display: none; 
    position: fixed; 
    z-index: 10000; /* Foarte mare ca să fie peste orice sidebar/header */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.5); /* Negru semitransparent */
}

/* Caseta albă din mijloc */
.modal-content {
    background-color: #fff;
    margin: 10% auto; 
    padding: 25px;
    border-radius: 8px;
    width: 400px; /* Sau cât de lat vrei să fie */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.modal-content h3 {
    margin-top: 0;
    color: #333;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.modal-content a {
    display: block;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    color: #f50000;
    text-decoration: none;
}
.modal-content a:hover {
    color: #890010;
}

.tooltip-btn {
    position: relative;
    cursor: pointer;
    z-index: 200;
}

/* Creăm balonașul (Textul) */
.tooltip-btn::after {
    content: attr(data-tooltip); /* Ia textul direct din atributul HTML */
    position: absolute;
    bottom: 180%; /* Îl ridică deasupra butonului */
    left: 50%;
    transform: translateX(-50%);
    background-color: #291b1b;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap; /* Împiedică textul să sară pe rândul următor */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

/* Creăm triunghiul mic (săgeata) */
.tooltip-btn::before {
    content: "";
    position: absolute;
    bottom: 114%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* Efectul de Hover - arătăm tooltip-ul */
.tooltip-btn:hover::after,
.tooltip-btn:hover::before {
    opacity: 1;
    visibility: visible;
}

.btn-search { background: #28a745; color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; }
.btn-cancel { background: #6c757d; color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; margin-left: 10px; }

.disclaimer { background: #fff8e1; border-left: 4px solid #ffc107; padding: 12px; font-size: 13px; color: #6d4c41; margin: 25px 0; line-height: 21px; border-radius: 4px; }

@media (min-width: 761px) and (max-width: 980px) {
  aside.containerLeft { display: none; }
  .main-wrapper { margin-left: 0; }
}

@media screen and (max-width: 760px) {
  aside.containerLeft { display: none; }
  .main-wrapper { margin-left: 0; }

  .table-controls {
      flex-direction: column;
      gap: 10px;
  }

  table thead {
        display: none;
    }

    /* Forțăm elementele tabelului să se comporte ca niște blocuri */
    table, table tbody, table tr, table td {
        display: block;
        width: 100%;
    }

    /* Fiecare rând devine un "card" cu spațiu între ele */
    table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    /* Stilozăm celulele să arate ca un rând de listă */
    table td {
        text-align: left;
        position: relative;
        border-bottom: 1px solid #eee;
        min-height: 35px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    table td:last-child {
        border-bottom: 0;
    }

    /* Generăm eticheta din atributul data-label */
    table td::before {
        content: attr(data-label); /* Luăm textul din HTML */
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        text-align: left;
        color: #555;
    }

    table td:last-child {
        text-align: left;
        position: relative;
        border-bottom: 1px solid #eee;
        min-height: 35px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .tooltip-btn::before { bottom: 134%; }

    td span.mobile { display: inline-block; font-weight: 600; padding:0; margin: 0; }

    .content-wrapper .table-container .frmColFirst, .content-wrapper .table-container .frmColSecond {
      width: 100%;
      display: block;
    }
   
    .stats-container, .main-layout { flex-direction: column; }
    .sidebar { display: flex; width: 100%; flex-direction: row; gap: 10px; }

    .calendar-grid { display: none; }
}

/* Fundalul care acoperă tot ecranul */
.modal-overlay {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px); /* Efect de blur pe fundal */
}

/* Cutia cu mesajul */
.modal-content {
    background-color: #fff;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: slideDown 0.3s ease-out;
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title { font-weight: bold; color: #f4f4f4; }

.modal-body { padding: 10px 20px; font-size: 15px; color: #333; text-align: center; }
.modal-body p { display: block; position: relative; font-size: 15px; padding: 0; line-height: 23px; color: #333; text-align: left; }

.modal-footer { padding: 10px; border-top: 1px solid #eee; text-align: right; }

.btn-modal-close {
    background-color: #6f42c1;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.close-modal { cursor: pointer; font-size: 24px; color: #f4f4f4; }

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}