﻿header .mud-nav-item {
  width: initial;
}
header .mud-image {
  height: 100%;
  padding: 10px 5px;
}
header .mud-nav-link {
  color: #ffffff !important;
  fill: #ffffff !important;
  font-size: 1rem;
  font-weight: 700;
}
header .mud-nav-link:hover, header .mud-nav-link:focus {
  color: #fab54b !important;
  background-color: #1f3d68 !important;
}
header .mud-nav-link.active-nav-item {
  color: #fab54b !important;
  font-weight: 700 !important;
  text-decoration-color: #fab54b !important;
}
header .mud-nav-link.active-nav-item svg {
  border-bottom: solid 2px #fab54b !important;
}
header .mud-nav-link .mud-nav-link-text {
  text-align: center;
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75);
}

.text-italic {
  font-style: italic;
}

.text-bold {
  font-weight: bold !important;
}

.text-underline {
  text-decoration: underline;
}

h1, .mud-typography-h1 {
  font-weight: 700;
}

h2, .mud-typography-h2 {
  font-weight: 600;
}

h3, h4, h5, h6, .mud-typography-h3, .mud-typography-h4, .mud-typography-h5, .mud-typography-h6 {
  font-weight: 500;
}

h1, .mud-typography-h1 {
  font-size: 3rem;
}

h2, .mud-typography-h2 {
  font-size: 2.5rem;
}

h3, .mud-typography-h3 {
  font-size: 2rem;
}

h4, .mud-typography-h4 {
  font-size: 1.75rem;
}

h5, .mud-typography-h5 {
  font-size: 1.5rem;
}

.mud-typography-body1 {
  font-size: 1rem;
}

.mud-typography-body2 {
  font-size: 0.9rem;
}

.mud-typography-subtitle1 {
  font-size: 1.3rem;
}

.mud-typography-subtitle2 {
  font-size: 0.75rem;
}

.mud-typography-caption {
  font-size: 0.75rem;
}

.body1 .mud-input {
  font-size: 1rem !important;
}

.mud-palette-warning-text {
  color: #294e7b;
}

@media (max-width: 1280px) {
  h1, .mud-typography-h1 {
    font-size: 2.7rem;
  }
  h2, .mud-typography-h2 {
    font-size: 2.25rem;
  }
  h3, .mud-typography-h3 {
    font-size: 1.8rem;
  }
  h4, .mud-typography-h4 {
    font-size: 1.575rem;
  }
  h5, .mud-typography-h5 {
    font-size: 1.35rem;
  }
  .mud-typography-body1 {
    font-size: 0.9rem;
  }
  .mud-typography-body2 {
    font-size: 0.81rem;
  }
  .mud-typography-subtitle1 {
    font-size: 0.9rem;
  }
  .mud-typography-subtitle2 {
    font-size: 0.855rem;
  }
  .mud-typography-caption {
    font-size: 0.675rem;
  }
}
@media (max-width: 960px) {
  h1, .mud-typography-h1 {
    font-size: 2.25rem;
  }
  h2, .mud-typography-h2 {
    font-size: 1.875rem;
  }
  h3, .mud-typography-h3 {
    font-size: 1.5rem;
  }
  h4, .mud-typography-h4 {
    font-size: 1.3125rem;
  }
  h5, .mud-typography-h5 {
    font-size: 1.125rem;
  }
  .mud-typography-body1 {
    font-size: 0.75rem;
  }
  .mud-typography-body2 {
    font-size: 0.675rem;
  }
  .mud-typography-subtitle1 {
    font-size: 0.975rem;
  }
  .mud-typography-subtitle2 {
    font-size: 0.7125rem;
  }
  .mud-typography-caption {
    font-size: 0.5625rem;
  }
}
@media (max-width: 600px) {
  h1, .mud-typography-h1 {
    font-size: 1.8rem;
  }
  h2, .mud-typography-h2 {
    font-size: 1.5rem;
  }
  h3, .mud-typography-h3 {
    font-size: 1.2rem;
  }
  h4, .mud-typography-h4 {
    font-size: 1.05rem;
  }
  h5, .mud-typography-h5 {
    font-size: 0.9rem;
  }
  .mud-typography-body1 {
    font-size: 0.6rem;
  }
  .mud-typography-body2 {
    font-size: 0.54rem;
  }
  .mud-typography-subtitle1 {
    font-size: 0.78rem;
  }
  .mud-typography-subtitle2 {
    font-size: 0.57rem;
  }
  .mud-typography-caption {
    font-size: 0.45rem;
  }
}
.line-height-sm {
  line-height: 18px;
}

.mud-button-filled-size-medium .mud-button-label {
  font-size: 1rem;
}
@media (max-width: 960px) {
  .mud-button-filled-size-medium .mud-button-label {
    font-size: 0.98rem;
  }
}
@media (max-width: 960px) {
  .mud-button-filled-size-medium .mud-button-label {
    font-size: 0.96rem;
  }
}
@media (max-width: 600px) {
  .mud-button-filled-size-medium .mud-button-label {
    font-size: 0.95rem;
  }
}

.error-notification-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5000; /* Use a moderately high value */
  background-color: var(--mud-theme-surface);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 16px; /* Optional padding */
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.error-notification-container {
  animation: slideDown 0.3s ease-out;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.reset-default p, .reset-default ul, .reset-default ol, .reset-default h1, .reset-default h2, .reset-default h3, .reset-default h4, .reset-default h5, .reset-default h6 {
  margin-bottom: 10px;
}
.reset-default ul, .reset-default ol {
  padding-inline-start: 40px;
}
.reset-default ul {
  list-style-type: disc;
}
.reset-default a {
  text-decoration: underline;
}
.reset-default a:hover {
  text-decoration: none;
  filter: brightness(0.4);
}

.footer {
  background-color: #f5f5f5;
  text-align: center;
  padding: 0.5rem 1.5rem;
  position: fixed;
  bottom: 0;
  border-top: 1px solid #ddd;
  width: 100%;
}

.main-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 125px);
}

.main-content {
  padding-bottom: var(--mud-appbar-height); /* Dynamically use the app bar height */
}

.sticky-footer {
  position: sticky;
  bottom: 0;
  background: #e6e6e6;
  border-top: 1px solid #b3b3b3;
}

.blurry-background {
  backdrop-filter: blur(10px);
}

.hover-zoom {
  transform: scale(1);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
  transition: transform 0.1s linear;
}

.hover-zoom:hover {
  cursor: pointer;
  transform: scale(1.02);
  box-shadow: 1px 4px 8px 1px rgba(0, 0, 0, 0.6);
}

.select-partner-background {
  background-color: #ffffff;
  height: 40px;
}

.export-excel-button {
  background-color: #28a745;
  color: #ffffff;
  width: 200px;
  height: 28px;
}
