* {
  margin: 0;
  padding: 0;
}

/* Color Schema */
:root {
  --ut-green-1: #9FAF1F;
  --ut-green-2: #3f8170;
  --ut-green-3: #316B60;
  --ut-blue-1: #3678A6;
  --ut-gray-1: #C1C1C1;
  --ut-gray-2: #F5F5F5;
  --ut-gray-3: #f0f0f0;
  --ut-gray-4: #696969;
  --ut-gray-5: #393939;
  --ut-gray-6: #F8F9FA;
  --ut-yellow: #FFC107;
  --ut-orange: #E87D03;

  --font: "Source Sans 3", sans-serif;
  --fs-xs: 0.875rem;
  --fs-sm: 0.95rem;
  --fs-md: 1rem;
  --fs-lg: 1.18rem;
  --lh-tight: 1.2;
  --lh-normal: 1.55;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
}

body {
  background-color: var(--ut-gray-3);
  font-family: var(--font);
  color: var(--ut-gray-5);
  line-height: var(--lh-normal);
}

div.disabled {
  pointer-events: none;
  color: var(--bs-btn-disabled-color);
  background-color: var(--bs-btn-disabled-bg);
}

.bg-top-green {
  background-image: url("/static/img/bg_top.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.text-light {
  font-weight: 300;
}

text-regular {
  font-weight: var(--fw-regular);
}

.text-medium {
  font-weight: var(--fw-medium);
}

.text-semibold {
  font-weight: var(--fw-semibold);
}

.text-bold {
  font-weight: var(--fw-bold);
}

.italic {
  font-style: italic;
}

.green-1 {
  color: var(--ut-green-1);
}

.green-2 {
  color: var(--ut-green-2);
}

.blue-1 {
  color: var(--ut-blue-1);
}

.gray-1 {
  color: var(--ut-gray-2);
}

.gray-2 {
  color: var(--ut-gray-2);
}

.gray-3 {
  color: var(--ut-gray-3);
}

.gray-4 {
  color: var(--ut-gray-4);
}

.yellow {
  color: var(--ut-yellow);
}

.orange {
  color: var(--ut-orange);
}


.bg-green-1 {
  background-color: var(--ut-green-1);
}

.bg-green-2 {
  background-color: var(--ut-green-2);
}

.bg-green-3 {
  background-color: var(--ut-green-3);
}

.bg-blue-1 {
  background-color: var(--ut-blue-1);
}

.bg-gray-1 {
  background-color: var(--ut-gray-3);
}

.bg-gray-2 {
  background-color: var(--ut-gray-2);
}

.bg-gray-3 {
  background-color: var(--ut-gray-1);
}

.bg-gray-4 {
  background-color: var(--ut-gray-4);
}

.bg-yellow {
  background-color: var(--ut-yellow);
}

.bg-orange {
  background-color: var(--ut-orange);
}

.nav-item .nav-link {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.nav-item .nav-link.active {
  border-bottom: 5px solid var(--ut-yellow);
}

.inner-shadow {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.fs-7 {
  font-size: var(--fs-xs);
}

.fs-8 {
  font-size: var(--fs-sm);
}

.fs-fluid-hero-lead {
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  line-height: 1.45;
}

.fs-fluid-hero-cta {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.2;
}

.fs-ui-xs {
  font-size: var(--fs-xs);
}

.fs-ui-sm {
  font-size: var(--fs-sm);
}

.fs-ui-md {
  font-size: var(--fs-md);
}

.page-title {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.2;
  font-weight: var(--fw-bold);
  letter-spacing: 0.005em;
}

.page-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.3;
  font-weight: var(--fw-semibold);
}

.page-lead {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.45;
  font-weight: var(--fw-regular);
}

.page-body {
  font-size: var(--fs-sm);
  line-height: 1.55;
}

.page-body strong {
  font-weight: var(--fw-semibold);
}

.error-code {
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1;
  font-weight: var(--fw-bold);
  color: var(--ut-green-2);
}

.error-title {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.25;
  font-weight: var(--fw-semibold);
}

.error-body {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.45;
}

.icon-size-sm {
  font-size: 1rem;
}

.icon-size-md {
  font-size: 1.2rem;
}

.icon-size-lg {
  font-size: 1.3rem;
}

.border-dashed {
  border-style: dashed !important;
}

.hover-effect {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}


.hover-effect:hover {
  transform: transY(-6px);
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--ut-green-2);
}

.widget {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.widget.show {
  opacity: 1;
}

.bt-widget-disabled {
  background-color: transparent !important;
  border: 3px dashed #ccc !important;
  color: #999 !important;
}

.bt-widget-disabled i,
.bt-widget-disabled .text-white,
.bt-widget-disabled .text-semibold,
.bt-widget-disabled .text-bold {
  color: #999 !important;
}


.bt_widget {
  transition: background-color 0.4s ease, color 0.4s ease;
}

.bt_widget[disabled],
.bt_widget[disabled]:hover {
  background-color: grey;
  cursor: auto;
}

.bt_widget:hover {
  background-color: #813e00;
  border-color: #813e00;
}

.collapse_widget:hover {
  background-color: #ffebee !important;
  color: #d32f2f !important;
}

.no-hover:hover {
  background-color: transparent !important;
  color: inherit !important;
  border-color: inherit !important;
}

.white-hover:hover {
  background-color: transparent !important;
  color: #FFF !important;
  border-color: inherit !important;
}

#messages {
  position: fixed;
  display: flex;
  justify-content: center;
  top: 1em;
  width: 100%;
}

.messagebox {
  max-height: 400px;
  flex: 0 0 800px;
  overflow: auto;
}

.messagebox p.message {
  width: 95%;
  display: inline-block;
  margin-bottom: 0;
}

.messagebox button.close {
  float: right;
}

.messagebox .details,
.messagebox .details>* {
  margin-top: 0.5em;
  margin-bottom: 0;
}

.messagebox.alert-dismissible {
  padding-right: 1rem;
}

.alert-success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #468847;
}

.alert-error {
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48;
}

.alert-warning {
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #c09853;
}

/* Wizard Stepper Vertical */
.wizard-stepper-vertical {
  position: relative;
  padding-left: 0.5rem;
}

.stepper-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-bottom: 1.25rem;
}

.stepper-item:last-child {
  padding-bottom: 0;
}

.stepper-item::before {
  content: '';
  position: absolute;
  left: 0.438rem;
  top: 1.25rem;
  bottom: -0.25rem;
  width: 2px;
  background-color: #e9ecef;
}

.stepper-item:last-child::before {
  display: none;
}

.stepper-dot {
  position: relative;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background-color: #e9ecef;
  border: 2px solid #fff;
  flex-shrink: 0;
  margin-right: 0.75rem;
  z-index: 1;
  transition: all 0.3s ease;
}

.stepper-item.active .stepper-dot {
  background-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
  width: 1rem;
  height: 1rem;
}

.stepper-content {
  flex: 1;
  padding-top: 0;
}

.stepper-link {
  color: #6c757d;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  text-align: left;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.stepper-link:hover {
  color: #28a745;
  transform: translateX(2px);
}

.stepper-item.active .stepper-link {
  color: #28a745;
  font-weight: var(--fw-semibold);
}

.stepper-link i {
  font-size: var(--fs-sm);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.stepper-link:hover i,
.stepper-item.active .stepper-link i {
  opacity: 1;
}

/* Language Dropdown */
.lang-dropdown .dropdown-item {
  transition: all 0.2s ease;
}

.lang-dropdown .dropdown-item:hover {
  background-color: #db9a00;
  color: #000 !important;
  font-weight: 600;
}

.lang-dropdown .dropdown-item:active {
  background-color: #db9a00;
  color: #000;
}

#langDropdown {
  transition: all 0.2s ease;
}

#langDropdown:hover {
  background-color: var(--ut-yellow) !important;
  color: #000 !important;
  font-weight: 600;
}

#langDropdown:focus {
  background-color: var(--ut-yellow) !important;
  color: #000 !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.5);
}

/* Panel Button Styling */
.panel-btn {
  transition: background-color 0.2s ease, color 0.2s ease;
}

.panel-btn:hover,
.panel-btn:focus {
  background-color: #db9a00 !important;
  color: #000 !important;
  font-weight: var(--fw-semibold);
}

@media (min-width: 1200px) {
  :root {
    --fs-xs: 0.92rem;
    --fs-sm: 1rem;
    --fs-md: 1.05rem;
    --fs-lg: 1.22rem;
  }
}

@media (max-width: 575.98px) {
  .page-title {
    line-height: 1.15;
  }

  .page-subtitle {
    line-height: 1.25;
  }

  .page-lead,
  .page-body {
    line-height: 1.5;
  }
}



@media (max-width: 991.98px) {

  /* Bootstrap's lg breakpoint */
  .w-10 {
    width: 10% !important;
  }

  .fs-md-1 {
    font-size: 2.5rem
  }

  .w-md-50 {
    width: 50% !important;
  }

  .w-md-25 {
    width: 25% !important;

  }

  .w-md-150 {
    width: 150% !important;

  }

  .fs-md-1 {
    font-size: 2.5rem !important;
  }

  .fs-md-2 {
    font-size: 2rem !important;
  }

  .fs-md-3 {
    font-size: 1.5rem !important;
  }

  .fs-md-4 {
    font-size: 1.25rem !important;
  }

  .fs-md-5 {
    font-size: 1rem !important;
  }

  .fs-md-6 {
    font-size: 0.9rem !important;
  }

  .responsive-logo {
    width: 150% !important;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Text wrapping for long messages/alerts */
.text-wrap-safe {
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Card body with text wrapping */
.card-body-safe {
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}