/**
*
* ========================================================================================
*
*   @CUSTOM STYLESHEET - This stylesheet should be used for custom customization 
*
* ========================================================================================
*
*/
/* ScrollBar Position */
#sidebar .ps__rail-y {
  right: 0 !important;
}

/* c-custom-dropdown */
.c-custom-dropdown button {
  background: none;
  border: none;
  padding: 0 5px;
}

/* gcontainer */
.glightbox-container .gcontainer .gnext.gbtn {
  transform: rotate(180deg);
}
.glightbox-container .gcontainer .gprev.gbtn {
  transform: rotate(180deg);
}
.manual-inquiry-icon {
  position: relative;
  cursor: pointer;
  color: #4361ee;
  display: inline-flex;
  align-items: center;
}

.manual-inquiry-icon:hover {
  color: #1b2fbf;
}

/* Tooltip */
.manual-inquiry-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -38px;
  right: 50%;
  transform: translateX(50%);
  background: #000;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.manual-inquiry-icon::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 50%;
  transform: translateX(50%);
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.manual-inquiry-icon:hover::after,
.manual-inquiry-icon:hover::before {
  z-index: 1;
  opacity: 1;
}

.swal-cancel-dark-text {
  color: #3b3f5c !important;
}

#personEditMobile,
#personnelMobile {
  height: 50px !important;
  border: 1px solid #ced4da !important;
}

/* --- Logo sizing override --- */
.header-container .theme-brand .theme-logo a img,
#sidebar .theme-brand div.theme-logo img {
  width: auto !important;
  height: auto !important;
  max-width: 82px;
  max-height: 82px;
  object-fit: contain;
}

/* --- Login page logo (shared) --- */
.login-logo img {
  width: 40px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

/* --- Header title styling (matches login page) --- */
.header-container .theme-text a {
  font-size: 15px !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  font-weight: 600 !important;
  padding: 0 0.6rem !important;
  color: color(srgb 0.6554 0.4611 0.775) !important;
}

#sidebar .theme-brand div.theme-text a {
  font-size: 16px !important;
  line-height: 1.5;
  white-space: normal;
  word-wrap: break-word;
  color: color(srgb 0.6554 0.4611 0.775) !important;
}

/* --- Auth page footer spacing --- */
body.auth-page #content {
  padding-bottom: 50px;
  position: relative;
}

/* Auth pages: the footer simply follows the form. It used to be pinned at
   top:430px, an offset measured against the short phone-number step, so on the
   taller registration form it sat on top of the birth-date field. */
body.auth-page .footer-wrapper {
  width: 440px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  justify-content: center;
}

/* --- Panel pages: sticky footer at bottom --- */
body.layout-boxed:not(.auth-page) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.layout-boxed:not(.auth-page) .main-container {
  min-height: 0;
}

body.layout-boxed:not(.auth-page) .layout-px-spacing {
  min-height: auto !important;
}

body.layout-boxed:not(.auth-page) .footer-wrapper {
  margin-top: -15px;
}

/* --- Auth page: mobile responsiveness --- */
@media (max-width: 575px) {
  body.auth-page #content {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding-bottom: 0;
    min-height: 100vh;
  }

  body.auth-page #formContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
  }

  body.auth-page .footer-wrapper {
    width: 100%;
    padding: 8px 16px 20px;
    max-width: 100%;
  }
}

/* --- Dashboard Chart Filters (report-style) --- */
.chart-filters .filter-group {
  flex: 0 1 auto;
  min-width: 150px;
}

.chart-filters .filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8b8fa3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  padding-right: 2px;
}

.chart-filters .dash-filter,
.widget-header .dash-filter {
  width: 100%;
  padding: 8px 32px 8px 12px;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #3b3f5c;
  background: #fff;
  transition: all 0.2s ease;
  font-family: "iranyekan", "Tahoma", sans-serif;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b8fa3' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  cursor: pointer;
}

.chart-filters .dash-filter:focus,
.widget-header .dash-filter:focus {
  outline: none;
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.12);
}

.chart-filters .dash-filter:hover,
.widget-header .dash-filter:hover {
  border-color: #c0c5d0;
}

/* --- Dashboard Year Mode Tags --- */
.dash-year-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dash-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  background: #fff;
  color: #8b8fa3;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: "iranyekan", "Tahoma", sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}

.dash-tag:hover {
  border-color: #4361ee;
  color: #4361ee;
  background: rgba(67, 97, 238, 0.06);
}

.dash-tag.active {
  background: #4361ee;
  color: #fff;
  border-color: #4361ee;
}

.dash-tag.active:hover {
  background: #3651d4;
  border-color: #3651d4;
  color: #fff;
}

.dash-year-tags.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.dash-year-tags.disabled .dash-tag {
  cursor: not-allowed;
}

/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImN1c3RvbS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQVVBO0FBRUk7RUFDSTs7O0FBSVI7QUFJSTtFQUNJO0VBQ0E7RUFDQTs7O0FBSVI7QUFLWTtFQUNJOztBQUlKO0VBQ0kiLCJmaWxlIjoiY3VzdG9tLmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxyXG4qXHJcbiogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4qXHJcbiogICBAQ1VTVE9NIFNUWUxFU0hFRVQgLSBUaGlzIHN0eWxlc2hlZXQgc2hvdWxkIGJlIHVzZWQgZm9yIGN1c3RvbSBjdXN0b21pemF0aW9uIFxyXG4qXHJcbiogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4qXHJcbiovXHJcblxyXG4vKiBTY3JvbGxCYXIgUG9zaXRpb24gKi9cclxuI3NpZGViYXIge1xyXG4gICAgLnBzX19yYWlsLXkge1xyXG4gICAgICAgIHJpZ2h0OiAwIWltcG9ydGFudDtcclxuICAgIH1cclxufVxyXG5cclxuLyogYy1jdXN0b20tZHJvcGRvd24gKi9cclxuXHJcbi5jLWN1c3RvbS1kcm9wZG93biB7XHJcblxyXG4gICAgYnV0dG9uIHtcclxuICAgICAgICBiYWNrZ3JvdW5kOiBub25lO1xyXG4gICAgICAgIGJvcmRlcjogbm9uZTtcclxuICAgICAgICBwYWRkaW5nOiAwIDVweDtcclxuICAgIH1cclxufVxyXG5cclxuLyogZ2NvbnRhaW5lciAqL1xyXG5cclxuLmdsaWdodGJveC1jb250YWluZXIge1xyXG4gICAgLmdjb250YWluZXIge1xyXG4gICAgICAgIC5nbmV4dCB7XHJcbiAgICAgICAgICAgICYuZ2J0biB7XHJcbiAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgxODBkZWcpO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICAgIC5ncHJldiB7XHJcbiAgICAgICAgICAgICYuZ2J0biB7XHJcbiAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgxODBkZWcpO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcblxyXG5cclxuXHJcblxyXG4iXX0= */
