@import url("https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css");
@import url(../icons/material-design-iconic-font/css/materialdesignicons.min.css);

.ti-sm {
  font-size: 1.376rem !important;
}

.ti-md {
  font-size: 1.625rem !important;
}

.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.modal-errors p {
  line-height: 1;
  font-size: 1rem;
  color: #dc3545;
  margin: 0;
  padding: 0.25rem 0 1rem;
}

.app-brand-logo.demo {
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: flex;
  width: 34px;
  height: 24px;
}

.app-brand-logo.demo svg {
  width: 35px;
  height: 24px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 78px !important;
}
/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

.bubble-info {
  border-radius: 1rem;
  width: 100%;
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  background-color: #e9ecef;
  color: #2c2b2e;
  box-sizing: border-box;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

.form-control:disabled, .form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

select[readonly] {
  pointer-events: none;
  cursor: default;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}
/* Ares Naseptavac Styling */
.naseptavac-container {
  display: none;
  position: absolute;
  top: 100%;
  z-index: 1100;
  left: 0;
  right: 0;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  height: 3rem;
}

.naseptavac-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1200;
}

.naseptavac-close .fas {
  padding: 1rem;
}

.naseptavac-item {
  display: block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.2;
  color: #54667a;
  background-color: #fff;
  border-left: 1px solid #e9ecef;
  border-right: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.naseptavac-item p {
  padding: 0;
  margin: 0.25rem 0;
}

.naseptavac-item .headline {
  font-size: 1rem;
  font-weight: 500;
  color: #35404d;
}

.naseptavac-container .naseptavac-item:not(:first-child) {
  border-top: 1px solid #e9ecef;
}

.naseptavac-item:hover {
  background-color: #f2f7f8;
  cursor: pointer;
}

.naseptavac-placeholder {
  display: inline-block;
  min-height: 1em;
  vertical-align: middle;
  background-color: rgb(33, 37, 41);
  opacity: 0.5;
  -webkit-animation: placeholder-glow 2s ease-in-out infinite;
  animation: placeholder-glow 2s ease-in-out infinite;
}

.table-action-btn {
  display: inline-block;
  margin: 0 0.125rem;
  vertical-align: middle;
  user-select: none;
  padding: 0.25rem 0.5rem;
  border-radius: 0.2rem;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.swal2-actions .btn-label-success {
  color: #28c76f !important;
  border-color: transparent !important;
  background: #ddf6e8 !important;
}
.swal2-actions .btn-label-success:hover {
  border-color: transparent !important;
  background: #cbf2dc !important;
  color: #28c76f !important;
}
.circle {
  width: 200px;
  margin: 6px 6px 20px;
  display: inline-block;
  position: relative;
  text-align: center;
  line-height: 1.2;
}

.circle canvas {
  vertical-align: top;
  width: 200px !important;
}

.circle strong {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  line-height: 40px;
  font-size: 30px;
  color: black;
}

.circle strong i {
  font-style: normal;
  font-size: 0.6em;
  font-weight: normal;
}

.circle span {
  display: block;
  color: #aaa;
  margin-top: 12px;
}
.circle-green {
  color: green;
}
.circle-red {
  color: red;
}
.datagrid {
  background-color: transparent !important;
}
.datagrid table thead tr.row-group-actions th {
  background-color: transparent !important;
}
.datagrid .row-grid-bottom {
  background-color: transparent !important;
}
.datagrid .datagrid-toolbar {
  display: inline-flex !important;
}
.apexcharts-tooltip-text-y-label, .apexcharts-tooltip-text-y-value{
  color: #404143;
}
.asterisk_input {
  font-weight: bold;
}

.asterisk_input::after {
  content: " *";
  color: #e32;
}

.datagrid select {
  padding-left: 4px !important;
}

.admin-section {
  background-color: #f8f9fa; /* světle šedá */
  border: 1px dashed #ced4da;
  border-radius: 6px;
}

.admin-section .form-group label {
  font-weight: 500;
}

.admin-section .fw-bold {
  font-size: 1rem;
  color: #6c757d;
}