@charset "UTF-8";


/* Remove underline from links with the 'no-underline' class */
.no-underline {
    text-decoration: none;
}

/* Add underline back on hover if needed */
.no-underline:hover {
    text-decoration: none;
}

/* Custom class to create spacing */
.content-section {
    margin-top: 25%;
    margin-bottom: 28%;
}

/* Custom class for smaller font size */
.fs-small {
    font-size: 0.85rem; /* Adjust this value as needed */
}

.btn-teal {
    background-color: #20c997;
    color: white;
    border: none;
}


/* Custom CSS for fancy dropdown menu */
.dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.dropdown-menu a {
  color: #333;
  text-decoration: none;
  display: block;
  padding: 8px 20px;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: #f8f9fa;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.dropdown-submenu:hover .dropdown-menu {
  display: block;
}

  /* Clickable brand */
.navbar-brand {
    cursor: pointer;
}

/* Prevent underline on logo and user greeting */
.text-decoration-none {
    text-decoration: none !important;
}

/* Subtle hover effect for logo */
.navbar-brand:hover {
    opacity: 0.9;
}

/* Header buttons spacing consistency */
header .btn,
.container-fluid.bg-primary .btn {
    white-space: nowrap;
}

/* User greeting */
header a.text-white:hover {
    opacity: 0.9;
    text-decoration: none;
}

.container-fluid.bg-primary {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* User greeting pill (aligns with buttons) */
.user-greeting {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;   /* same vertical rhythm as buttons */
    line-height: 1.5;
    font-weight: 600;
    border-radius: 999px;
}
/* FAQ page */
.faq-hero {
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.faq-nav-card {
    border: none;
}

.faq-nav-list .list-group-item {
    border: none;
    border-left: 3px solid transparent;
    border-radius: 0;
    padding-left: 0.75rem;
    transition: all 0.2s ease;
}

.faq-nav-list .list-group-item:hover {
    background-color: #f8f9fa;
    border-left-color: #0d6efd;
    color: #0d6efd;
}

.faq-section-card {
    border: none;
}

.faq-section-card h3 {
    color: #0d6efd;
}

.faq-list {
    padding-left: 1.2rem;
}

.faq-list li {
    margin-bottom: 0.5rem;
}

/* User dropdown in header */
.user-menu-trigger {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    white-space: nowrap;
}

.user-menu-trigger:hover,
.user-menu-trigger:focus,
.user-menu-trigger:active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.user-menu-trigger::after {
    margin-left: 0.35rem;
}

.user-avatar-default {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar-default i {
    font-size: 1rem;
    line-height: 1;
}

.user-avatar-small {
    width: 28px;
    height: 28px;
}

.user-avatar-image {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: #ffffff;
}

.user-avatar-image-small {
    width: 28px;
    height: 28px;
}

.profile-avatar-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e9ecef;
    background: #ffffff;
}

.profile-avatar-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 3px solid #e9ecef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-placeholder i {
    font-size: 4rem;
}

.user-menu-list {
    min-width: 230px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.user-menu-list .dropdown-item i {
    width: 1rem;
}

.user-menu-list .dropdown-header {
    white-space: normal;
}
/* Header user dropdown should appear above the main navbar */
.container-fluid.bg-primary {
    position: relative;
    z-index: 1040;
}

.user-menu-dropdown {
    position: relative;
    z-index: 1050;
}

.user-menu-list {
    z-index: 1060;
}

/* Keep the sticky navbar below the header dropdown */
.container-fluid.bg-white.sticky-top {
    z-index: 1020;
}
