/* Main teal/green from website */
/* Orange accent color from buttons */
/* Green for success states */
/* Blue for info states */
/* Orange for warnings */
/* Red for errors */
/* Primary brand teal */
/* Secondary brand orange */
/* Darker orange for button hover */
/* Darkest orange for button active state */
/* $caser-orange as rgb triple for Bootstrap CSS vars */
/* Darker shade of teal */
/* Light teal for backgrounds */
/* Bootstrap's default blue ships in the shared wwwroot/css/bootstrap.css and the import
   above is disabled, so point its custom properties at the Caser palette here. */
:root {
  --bs-primary: #E67E22;
  --bs-primary-rgb: 230, 126, 34;
}

/* Kendo widgets (grid command buttons, pager, toolbar, selection) are not Bootstrap
   buttons: they carry .k-button-solid-primary and take their colours from the
   --kendo-color-* custom properties in lib/kendo/styles/bootstrap-main.css, which
   default to Bootstrap blue. tenant.css is linked after the Kendo theme, so these
   :root overrides win. */
:root {
  --kendo-color-primary: #E67E22;
  --kendo-color-primary-hover: #D35400;
  --kendo-color-primary-active: #A94300;
  --kendo-color-on-primary: #fff;
  --kendo-color-primary-emphasis: rgba(230, 126, 34, 0.4);
  --kendo-color-primary-on-surface: #E67E22;
  --kendo-color-primary-subtle: rgb(98.5294117647%, 92.4117647059%, 87%);
  --kendo-color-primary-subtle-hover: rgb(97.5490196078%, 87.3529411765%, 78.3333333333%);
  --kendo-color-primary-subtle-active: rgb(96.568627451%, 82.2941176471%, 69.6666666667%);
  --kendo-color-primary-on-subtle: #A94300;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #E67E22;
  --bs-btn-border-color: #E67E22;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #D35400;
  --bs-btn-hover-border-color: #D35400;
  --bs-btn-focus-shadow-rgb: 230, 126, 34;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #A94300;
  --bs-btn-active-border-color: #A94300;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #E67E22;
  --bs-btn-disabled-border-color: #E67E22;
}

.btn-outline-primary {
  --bs-btn-color: #E67E22;
  --bs-btn-border-color: #E67E22;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #E67E22;
  --bs-btn-hover-border-color: #E67E22;
  --bs-btn-focus-shadow-rgb: 230, 126, 34;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #E67E22;
  --bs-btn-active-border-color: #E67E22;
  --bs-btn-disabled-color: #E67E22;
  --bs-btn-disabled-border-color: #E67E22;
}

html {
  font-style: normal;
  font-size: 16px;
}

a:hover {
  text-decoration: none;
}

/* Header topbar styling */
#header_topbar {
  width: 100%;
  display: block;
  height: 32px;
  background: linear-gradient(135deg, #1B9B8E 0%, #16857A 100%);
  line-height: 32px;
}

#header_topbar svg {
  padding: 2px 0;
}

#header_topbar a {
  color: #fff;
  padding: 0.18rem 0;
  font-size: 14px;
  line-height: 1.5;
  font-family: Montserrat, sans-serif;
}

#header_topbar a:hover {
  color: #fff;
  text-decoration: underline;
}

#header_topbar svg.icon-for-text {
  margin-right: 5px;
}

/* Main header styling */
.header-title a, .header-title a:hover, .header-title a:active {
  background: none;
  outline: none;
  text-decoration: none;
}

.logo {
  width: 48px;
  overflow: hidden;
  height: 53px;
  display: inline-block;
}

.header-title .logo {
  vertical-align: middle;
}

/* Navigation menu styling */
.navbar-nav > li > a {
  text-transform: uppercase;
  font-size: 14px;
  color: #000;
}

.navbar-nav li > a {
  font-size: 14px;
}

.navbar-nav > li > a:focus,
.navbar-nav > li > a:hover {
  color: #1B9B8E;
}

.dropdown-menu > li > a {
  color: #1B9B8E;
  font-weight: 500;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
  color: #16857A;
  background-color: #E8F6F5;
}

@media (min-width: 768px) {
  .navbar-nav {
    float: none;
    margin: 0 auto;
    display: table;
    table-layout: fixed;
  }
  #header .dropdown:hover .dropdown-menu,
  #header_topbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}
/* Language navbar styling */
#navbar-language {
  height: 32px !important;
  line-height: 32px;
}

#navbar-language .navbar-nav {
  margin: 0 auto;
  margin-top: -2px;
}

#navbar-language .dropdown-menu {
  background-color: #1B9B8E;
  border: none;
  border-radius: unset;
  text-align: center;
}

#navbar-language .navbar-nav > li > a {
  padding: 0.6rem 20px 0 20px;
}

#navbar-language .dropdown-menu > li > a:focus,
#navbar-language .dropdown-menu > li > a:hover {
  color: #fff;
  background-color: #16857A;
}

#navbar-language .nav > li > a:focus,
#navbar-language .nav > li > a:hover {
  background: none;
}

/* Main content area */
.main-content {
  min-height: 55vh;
}

/* Footer styling */
footer, .footer {
  margin-top: 35px;
  background: linear-gradient(135deg, #1B9B8E 0%, #16857A 100%);
  width: 100%;
  white-space: normal;
  line-height: normal;
}

footer a, footer a:link, footer a:visited,
.footer a, .footer a:link, .footer a:visited {
  color: #fff;
  padding: 0.18rem 0;
  font-size: 13px;
  line-height: 1.66667;
  font-family: Montserrat, sans-serif;
}

footer a:hover, .footer a:hover {
  color: #E67E22;
}

footer h4, .footer h4 {
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-size: 1.21429rem;
  line-height: 1.17647;
  line-height: 23px;
  margin-bottom: 10px;
}

/* Validation styles */
.field-validation-error {
  color: #e80c4d;
  font-weight: bold;
}

.validation-error[style*=inline] {
  display: inline-block !important;
  color: #FF0000;
  font-size: 0.9rem;
}

/* Heading styles */
h1, h2, h3, h4, h5, h6 {
  color: #000;
}

/* Fix for Bootstrap navbar */
.navbar {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
}

#nav-logo {
  width: 135px;
  margin: 0.5rem 0;
}

/* Fix for footer padding */
.footer .container {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Ensure consistent table styling */
table {
  border-collapse: collapse;
  border-spacing: 0;
  border: 0 none;
}

th {
  font-size: 1em;
  text-align: left;
  border: none 0;
  padding-left: 0;
}

.dropdown-item {
  color: #1B9B8E;
  font-weight: 500;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #16857A;
  background-color: #E8F6F5;
}

.card-header {
  background-color: #E8F6F5;
  border-bottom: 1px solid #ddd;
}

/* Ensure consistent spacing */
.mt-3, .my-3 {
  margin-top: 1rem !important;
}

.mb-3, .my-3 {
  margin-bottom: 1rem !important;
}

/* Horizontal navbar styling */
.navbar-nav.flex-row .nav-item {
  margin-right: 1rem;
  display: inline-block;
}

.navbar-nav.flex-row .nav-item:last-child {
  margin-right: 0;
}

/* Caser-specific button styles */
.btn-caser-primary {
  background: linear-gradient(135deg, #1B9B8E 0%, #16857A 100%);
  border: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-caser-primary:hover {
  background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-caser-secondary {
  background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
  border: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-caser-secondary:hover {
  background: linear-gradient(135deg, #1B9B8E 0%, #16857A 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Caser-specific card styles */
.card-caser {
  border: 1px solid #E8F6F5;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-caser:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(27, 155, 142, 0.15);
}

.card-caser .card-header {
  background: linear-gradient(135deg, #1B9B8E 0%, #16857A 100%);
  color: #fff;
  font-weight: 500;
}

/* Responsive adjustments */
@media only screen and (max-width: 767px) {
  .header-title {
    margin: 10px;
    text-align: center;
  }
  #header-login {
    font-size: 0.85em;
    margin: 0 0 12px;
    text-align: center;
  }
  ul#menu {
    margin: 0;
    padding: 0;
    text-align: center;
  }
  .footer {
    position: relative;
  }
  /* Fix for mobile menu */
  .navbar-collapse {
    background-color: #fff;
    padding: 15px;
  }
  /* Stack navbar items vertically on mobile */
  .navbar-nav.flex-row {
    flex-direction: column !important;
  }
  .navbar-nav.flex-row .nav-item {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}
/* Caser-specific accent elements */
.caser-accent-border {
  border-left: 4px solid #E67E22;
  padding-left: 1rem;
}

.caser-highlight {
  background-color: #E8F6F5;
  padding: 0.5rem;
  border-radius: 4px;
}

/* Call-to-action styling matching website */
.cta-button {
  background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: linear-gradient(135deg, #1B9B8E 0%, #16857A 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(230, 126, 34, 0.3);
}
