.d-flex {
  display: flex;
}

.d-none {
  display: none;
}

.justify-content-center {
  justify-content: center;
}

.align-items-center {
  align-items: center !important;
}

.mb-3 {
  margin-bottom: 30px;
}

.login-widget {
}

.login-widget--navigation {
  list-style: none;
  flex-wrap: wrap;
  padding-left: 0;
  display: flex;
  justify-content: flex-start;
  margin: 0;
  border-bottom: 5px solid #93BB49;
}

.login-widget--navigation li {
  display: block;
  margin-bottom: 1px;
}

.login-widget--navigation li a {
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.5;
  display: block;
  padding: .5rem 1rem;
  color: #ffffff !important;
  background-color: rgb(238, 155, 0);
  margin-right: 1px;
  border-radius: 4px 4px 0 0;
}

.login-widget--navigation li a.active, .login-widget--navigation li a:hover {
  background-color: rgb(238, 155, 0);
}

.login-widget--form {
}

.login-widget--form h4 {
  color: #2C3C5B;
  font-size: 1.7rem;
}

.login-widget--form h5 {
  color: #2C3C5B;
  font-size: 14px;
  font-weight: 600;
}

.login-widget--form .form-tab {
  display: none;
}

.login-widget--form .form-tab.active {
  display: block;
}

.login-widget--form .btn svg {
  display: inline-block;
  margin-right: 5px;
}

.login-widget--content {
  max-width: 500px;
}

.login-widget .alert {
  display: none;
  margin-bottom: 15px;
}

.login-widget .alert.show {
  display: block;
}

.consultant-container {
  padding: 10px 0;
  /*background-color: rgb(245, 247, 250);*/
}

.text-right {
  text-align: right;
}

.d-hide {
  display: none;
}

.content-end {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.iframe-container__header {
  margin: 0px 0px 1px;
  display: flex !important;
  align-items: center !important;
}

.iframe-container__header-nav .username {
  font-size: 14px;
}

.iframe-container__header-nav {
  margin-left: auto;
  display: flex !important;
  align-items: center !important;
}

.iframe-container__header a.btn {
  min-height: 21px;
  display: inline-block;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #6c757d;
  border: 1px solid #6c757d;
  line-height: 1.5;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  padding: .25rem .5rem;
  font-size: 14px;
  line-height: 1.5;
  border-radius: .2rem;
  display: flex !important;
  align-items: center !important;
}

.iframe-container__header a.btn:hover {
  background-color: #5a6268;
  border-color: #545b62;
}

.iframe-container__header a.js-home {
  font-weight: bold;
}

.iframe-container__header a.js-exit {
  margin-left: 5px;
}

.iframe-container__header a.js-exit svg {
  margin-right: 5px;
}

.iframe-load-container .loading-spinner {
  padding: 1.5rem;
  margin: 0;
  border-width: .2rem;
  border: solid #dcdfde;
  position: relative;
}

.iframe-load-container .loading-spinner .sr-only {
  color: #737373;
  font-size: 11px;
  text-indent: -99999em;
  margin: 55px auto;
  position: relative;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  border-radius: 50%;
}

.iframe-load-container .loading-spinner .sr-only:before {
  border-radius: 50%;
  width: 5.2em;
  height: 10.2em;
  background: #efefef;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.1em 5.1em;
  transform-origin: 5.1em 5.1em;
  -webkit-animation: load2 2s infinite ease 1.5s;
  animation: load2 2s infinite ease 1.5s;
  position: absolute;
  content: '';
}

.iframe-load-container .loading-spinner .sr-only:after {
  border-radius: 50%;
  width: 5.2em;
  height: 10.2em;
  background: #efefef;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 4.9em;
  -webkit-transform-origin: 0.1em 5.1em;
  transform-origin: 0.1em 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
  position: absolute;
  content: '';
}

.auth-container .auth-error {
  color: red;
  margin-bottom: 5px;
  display: none;
}

.auth-container .auth-error.show {
  display: block;
}

@-webkit-keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


/***
     ╔══════════════════════════════════════════════════════════════════╗
     ║  🆕 NEW — CONSULTANT DASHBOARD STYLES                           ║
     ║  Колір: #7E1812. Щоб перенести на інший сайт — змінити           ║
     ║  лише --cslt-primary і --cslt-primary-dark нижче.                ║
     ╚══════════════════════════════════════════════════════════════════╝
***/


:root {
  --cslt-primary: rgb(57, 72, 137);
  --cslt-primary-dark: rgb(211, 203, 131);
  --cslt-primary-light: rgb(211, 203, 131, 0.08);
  --cslt-primary-border: rgb(211, 203, 131, 0.3);

  /*--clr-theme-1: #cc4b58; !* #394889 *!*/
  /*--clr-theme-2: #3C97CE; !* #d3cb83 *!*/

}

.cslt-header {
  padding: 0.5rem 0 1rem;
  border-bottom: 2px solid var(--cslt-primary);
  margin-bottom: 1.5rem;
}

.cslt-username {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
}

.cslt-logout-btn {
  background-color: var(--cslt-primary);
  color: #fff;
  border: none;
}

.cslt-logout-btn:hover {
  background-color: var(--cslt-primary-dark);
  color: #fff;
}

.cslt-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1.25rem;
  height: 100%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

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

.cslt-section-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--cslt-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.cslt-section-title {
  color: #333;
  font-weight: 600;
  font-size: 1rem;
}

.cslt-menu-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}

.cslt-menu-item:hover {
  background: var(--cslt-primary-light);
  border-color: var(--cslt-primary-border);
}

.cslt-item-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background: var(--cslt-primary-light);
  color: var(--cslt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 0.75rem;
  font-size: 0.85rem;
}

.cslt-item-label {
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
}

.cslt-chevron {
  color: #aaa;
  font-size: 1rem;
  margin-left: 0.5rem;
}

/* Sidebar backdrop */
.cslt-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
}

.cslt-backdrop.cslt-show {
  display: block;
}

/* Sidebar sliding panel from the right */
.cslt-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  padding: 0;
  width: 100%;
  background: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cslt-sidebar.cslt-show {
  right: 0;
}

.cslt-sidebar-hdr {
  background: var(--cslt-primary);
  color: #fff;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cslt-sidebar-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.cslt-sidebar-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  padding: 0.25rem 0.9rem;
  margin-left: auto;
  font-size: 1.2rem;
  line-height: 1.4;
}

.cslt-sidebar-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.cslt-sidebar-body {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.cslt-sidebar-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.cslt-sidebar-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/*** ══════════════════════ END CONSULTANT STYLES ══════════════════════ ***/

/*** Login Form Styles ***/

#auth-app .nav.nav-tabs {
  background-color: rgb(242, 245, 252);
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: space-around;
  border-radius: 8px;
  padding: 2px;
}

#auth-app .nav-item{
  width: 50%;
  border-radius: 8px;
  font-weight: 600;
  font-size: .875em;
  text-align: center;
}

#auth-app .nav-link {
  color: rgb(98, 104, 122);
  font-weight: normal !important;
  /*min-height: 44px;*/
  border-radius: 8px;
  padding-top: 15px;
  padding-bottom: 15px;
}

#auth-app a {
  color: var(--color-primary);
  font-weight: normal;
  text-decoration: none;
}

#auth-app a:hover {
  color: #495057;
}

#auth-app .nav-link.active {
  color: #fff;
  font-weight: bold !important;
  background-color: rgb(38, 55, 114);
}


/*** end Login Form Styles ***/
