.status-alert-icon.warning {
  color: var(--Warning-300);
}

.status-alert-icon.danger {
  color: var(--Danger-700);
}

.status-alert-icon.success {
  color: var(--Success-700);
}

.enhancements-page-container {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

.enhancements-body-container {
  display: flex;
  margin-top: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.enhancements-header {
  display: flex;
  justify-content: space-between;
}

:root {
  --Primary-50: #e0f1ff;
  --Primary500: #006ec7;
  --Primary-600: #00579e;
  --Slate700: #334155;
  --Slate-50: #f8fafc;
  --Slate-200: #e2e8f0;
  --Slate-300: #cbd5e1;
  --Success100: #e1f8c8;
  --Success-300: #8bda5a;
  --Success-700: #59b530;
  --Warning-300: #f0ad4e;
  --Danger-700: #d9534f;

  --bs-black: #121212;
  --bs-gray: var(--bs-gray-500);
  --bs-gray-dark: #343a40;
  --bs-gray-50: #f7fafc;
  --bs-gray-100: #e3e8ee;
  --bs-gray-200: #c1c9d2;
  --bs-gray-300: #a3acb9;
  --bs-gray-400: #8792a2;
  --bs-gray-500: #697386;
  --bs-gray-600: #4f566b;
  --bs-gray-700: #3c4257;
  --bs-gray-800: #2a2f45;
  --bs-gray-900: #1a1f36;
  --bs-primary: #159180;
  --bs-primary-100: #cef9e3;
  --bs-primary-700: #0a6368;
  --bs-secondary: #c419c4;
  --bs-secondary-100: #fcd0ec;
  --bs-secondary-700: #760c8d;
  --bs-success: #59b530;
  --bs-success-100: #e1f8c8;
  --bs-success-700: #e1f8c8;
  --bs-info: #55a6f8;
  --bs-info-100: #ddf4fe;
  --bs-info-700: #2a60b2;
  --bs-warning: #ffc107;
  --bs-warning-100: #fff7cd;
  --bs-warning-700: #b78103;
  --bs-danger: #dc3545;
  --bs-danger-100: #fde1d6;
  --bs-danger-700: #9e1a3f;
  --bs-font-sans-serif: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.enhancements-profile-welcome {
  color: var(--Slate-700, #334155);

  /* Headline 28/Bold */
  font-family: Manrope;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
  /* 128.571% */
  letter-spacing: -0.28px;
}

.medical-insurance-status-container {
  border-left: 1px solid var(--Slate-200, #e2e8f0);

  display: flex;
  width: 456px;
  padding-left: 16px;
  justify-content: space-between;
  align-items: center;
}

.medical-insurance-status.status-label {
  display: flex;
  height: 24px;
  padding: 6px 16px;
  align-items: center;
  gap: 10px;
  border-radius: 20px;
  background: var(--Success-100, #e1f8c8);
}

.medical-insurance-text-label {
  font-weight: bold;
  align-self: stretch;
  color: var(--Slate-700, #334155);

  /* Headline 24/Bold */
  font-family: Manrope;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  /* 133.333% */
  letter-spacing: -0.24px;
}

.medical-insurance-status-data {
  display: flex;
  width: 246px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
}

.medical-insurance-details-link {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.medical-insurance-status-icon {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.inline-link {
  color: var(--Primary-500, #006ec7);
  cursor: pointer;
}

.news-card {
  display: flex;
  flex-basis: 37%;
  flex-shrink: 0;
  flex-grow: 1;
  width: 510px;
  max-width: 510px;
  height: 216px;
  padding-left: 24px;
  align-items: center;
  gap: 24px;
  border-radius: 16px;
  background: var(--Primary-600, #00579e);
}

.news-card:hover {
  cursor: pointer;
}

.news-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.news-card-content {
  display: flex;
  padding: 24px 0px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1 0 0;
  align-self: stretch;
}

.news-card-image {
  width: 240px;
  max-width: 240px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 0px 10px 10px 0px;
}

.service-card {
  display: flex;
  justify-content: space-evenly;
  padding-top: 1%;
  width: 456px;
  max-width: 456px;
  height: 216px;
  flex-basis: 30%;
  border-radius: 16px;
  border: 1px solid var(--Slate-300, #cbd5e1);
  background: var(--Slate-50, #f8fafc);
}

.service-card.warning {
  border-color: var(--Warning-300);
}

.service-card.success {
  border-color: var(--Success-700);
}

.service-card-alert-icon {
  font-size: 18px;
}

.service-card:hover {
  background: #f0f8ff;
  cursor: pointer;
  border: solid 1px #006ec7;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.service-card .service-card-icon {
  display: flex;
  width: 32px;
  height: 32px;
  padding: 4px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  margin-left: 5px;

  border-radius: 6px;
  background: var(--Primary-50, #e0f1ff);
}

.service-card .service-card-content {
  display: flex;
  width: 368px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-left: 10px;
  padding-right: 10px;
}

.service-card .service-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  justify-content: space-between;
}

.service-card-title {
  /* Title 22/Bold */
  color: var(--Slate-700, #334155);
  font-family: Manrope;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}

.service-card-alert-container {
  text-align: center;
  margin-top: 1%;
}

.service-card-news-title {
  align-self: stretch;
  color: white;

  /* Body 16/Regular */
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 150% */
}

.service-card-text {
  align-self: stretch;
  color: var(--Slate-500, #64748b);

  /* Body 16/Regular */
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.service-card-news-text {
  align-self: stretch;
  color: white;

  /* Body 18/Bold */
  font-family: Manrope;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  /* 155.556% */
}

.service-card-news-body {
  background: #00579e;
  color: white;
  padding: 5px;
  border-radius: 15px;
}

.card-link-container {
  display: inline-flex;
  align-self: end;
  gap: 4px;
}

.card-link {
  color: var(--Primary-500, #006ec7);
  text-align: center;

  /* Body 16/Medium */
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.news-card-link {
  color: white;
  display: flex;
  align-items: center;
  gap: 4px;
  align-self: stretch;
}

body {
  background-color: var(--bs-gray-50) !important;
  color: var(--bs-gray-700) !important;
  font-family: var(--bs-font-sans-serif);
  font-size: 14px;
}

/* ------------------ Sidebar Toggle Styles */

#page-wrapper {
  padding-left: 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  display: grid;
  grid-template-columns: auto 1fr;
}


#sidebar-wrapper {
  z-index: 1000;
  position: relative;
  width: 250px;
  left: 0px;
  overflow-y: auto;
  overflow-x: hidden;
  border-right: solid 1px var(--bs-gray-100);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#sidebar-wrapper .sidebar-nav {
  margin: 20px;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}


#mainContent {
  width: 100%;
  position: absolute;
  padding: 0 20px;
}

#page-wrapper.toggled #mainContent {
  position: absolute;
  margin-right: -250px;
}

.profile-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid black;
  background: #3895e1;
}

/* Fix notification bell and profile icons for mobile */
.notification-bell-icon {
  width: 24px;
  height: 24px;
}

/* Ensure dropdown menus don't break layout */
.dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
  .profile-icon {
    width: 30px;
    height: 30px;
  }
  
  .notification-bell-icon {
    width: 20px;
    height: 20px;
  }
  
  #main-navbar .nav-item {
    margin-left: 2px;
    margin-right: 2px;
  }
}


/* ------------------ Main navbar ------------------ */
#main-navbar {
  background-color: #f7fafc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#main-navbar .nav-link:hover {
  background-color: transparent;
}

#main-navbar .nav-link {
  padding: 5px;
}

#main-navbar-container {
  height: 60px;
  min-height: 60px;
}

/* Fix navbar dropdown issues on smaller screens */
#main-navbar .navbar-nav {
  flex-direction: row !important;
  align-items: center;
  flex-wrap: nowrap;
}

#main-navbar .dropdown-menu {
  position: absolute !important;
  transform: none !important;
  min-width: 200px;
  max-width: 300px;
  z-index: 1050;
}

/* Ensure profile and notification icons stay inline */
#main-navbar .navbar-nav.ms-auto {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  white-space: nowrap;
}

/* Fix for small screens */
@media (max-width: 1000px) {
  #main-navbar-container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  #main-navbar .dropdown-menu {
    right: 0 !important;
    left: auto !important;
    transform: translate3d(-10px, 40px, 0px) !important;
  }
  
  /* Ensure navbar doesn't break layout */
  #main-navbar .navbar-brand {
    margin-right: auto;
  }
  
  /* Keep nav items compact */
  #main-navbar .nav-item {
    margin-left: 5px;
    margin-right: 5px;
  }
}

/* Main Navigation Brand */
.main-nav-brand {
  background-color: var(--bs-gray-50);
}

.main-nav-brand img {
  height: 50px;
  vertical-align: baseline;
}

.main-navbar>.main-nav-brand {
  height: 50px;
  font-size: 18px;
  line-height: 60px;
  margin: 0 0 20px 0;
}

.main-navbar>.main-nav-brand a {
  color: #999999;
}

.main-navbar>.main-nav-brand a:hover {
  color: #fff;
  background-color: none;
}

.menu-toggle {
  padding-right: 10px;
}

.menu-toggle i {
  font-size: 32px;
}

/*!------------------ Main navbar ------------------ */

/* ------------------ Sidebar ------------------ */

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 250px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li {
  line-height: 40px;
  text-indent: 16px;
  text-align: left;
}

.sidebar-nav li i {
  text-indent: 0px;
  margin-right: 6px;
}

.sidebar-nav li a {
  display: block;
  text-decoration: none;
  color: var(--bs-gray-700);
  font-size: 16px;
}

.sidebar-nav li a:hover {
  text-decoration: none;
  font-weight: 700;
  background-color: white;
  border-left: 4px solid var(--Primary500, #006EC7);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus,
.sidebar-nav .active a {
  text-decoration: none;
  font-weight: 700;
  color: var(--bs-primary);
}


/* ------------------ Footer ------------------ */
footer .footer-top {
  min-height: 80px;
}
/* ------------------ End footer ------------------ */


@media (max-width: 767px) {
  #sidebar-wrapper {
    margin-left: -250px;
  }

  #sidebar-wrapper.toggled {
    margin-left: 0px;
  }

  #page-wrapper.toggled #mainContent {
    position: relative;
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  #mainContent {
    padding: 0 20px;
    position: relative;
  }

  #page-wrapper.toggled #mainContent {
    position: relative;
    margin-right: 0;
  }

  .menu-toggle {
    display: none !important;
  }
}

/* ------------------ Responsive Styles ------------------ */

/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) {
  .form-control {
    display: inline;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {
  .loan-calc-results {
    display: block;
  }
}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {}