/**
* Template Name: NiceAdmin - Minimalist Theme
* Updated with Minimalist Design & Custom Color Palette
* Fonts: Playfair Display (headings), Roboto (body), Poppins & Comic Neue (accents)
* Colors: Aqua (#7ab4a1), Orange (#e08f5f), Pink (#e19985), Black, White
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800;900&family=Roboto:wght@300;400;500;700&family=Poppins:wght@400;600&family=Comic+Neue:wght@400;700&display=swap');

/*--------------------------------------------------------------
# CSS Variables & General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
  --sbh-primary: #7ab4a1;
  --sbh-accent-orange: #e08f5f;
  --sbh-accent-pink: #e19985;
  --sbh-black: #000000;
  --sbh-white: #ffffff;
  --sbh-light-gray: #f8f9fa;
  --sbh-medium-gray: #6c757d;
  --sbh-shadow: rgba(0, 0, 0, 0.05);
  --sbh-shadow-hover: rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--sbh-light-gray);
  color: var(--sbh-black);
  line-height: 1.6;
}

a {
  color: var(--sbh-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--sbh-accent-orange);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
  color: var(--sbh-black);
  font-weight: 600;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 70px;
  padding: 2rem;
  transition: all 0.3s;
  margin-left: 280px;
}

@media (max-width: 1199px) {
  #main {
    padding: 1.5rem;
    margin-left: 0;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 2rem;
}

.pagetitle h1 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--sbh-black);
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--sbh-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px var(--sbh-shadow-hover);
}

.back-to-top i {
  font-size: 20px;
  color: var(--sbh-white);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--sbh-accent-orange);
  color: var(--sbh-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--sbh-shadow-hover);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Bootstrap Overrides
--------------------------------------------------------------*/
.dropdown-menu {
  border-radius: 12px;
  padding: 0.5rem 0;
  animation-name: dropdown-animate;
  animation-duration: 0.3s;
  animation-fill-mode: both;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  background: var(--sbh-white);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 0.75rem 1.5rem;
  font-family: "Poppins", sans-serif;
}

.dropdown-menu .dropdown-footer a {
  color: var(--sbh-black);
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
  color: var(--sbh-primary);
}

.dropdown-menu .dropdown-divider {
  color: rgba(122, 180, 161, 0.2);
  margin: 0.5rem 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0 0.5rem;
}

.dropdown-menu .dropdown-item i {
  margin-right: 0.75rem;
  font-size: 16px;
  line-height: 0;
  color: var(--sbh-medium-gray);
}

.dropdown-menu .dropdown-item:hover {
  background-color: rgba(122, 180, 161, 0.1);
  color: var(--sbh-primary);
  transform: translateX(3px);
}

.dropdown-menu .dropdown-item:hover i {
  color: var(--sbh-primary);
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: var(--sbh-white);
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: rgba(122, 180, 161, 0.1);
  border-color: rgba(122, 180, 161, 0.1);
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: rgba(122, 180, 161, 0.15);
  border-color: rgba(122, 180, 161, 0.15);
}

.bg-danger-light {
  background-color: rgba(225, 153, 133, 0.15);
  border-color: rgba(225, 153, 133, 0.15);
}

.bg-warning-light {
  background-color: rgba(224, 143, 95, 0.15);
  border-color: rgba(224, 143, 95, 0.15);
}

.bg-info-light {
  background-color: rgba(122, 180, 161, 0.1);
  border-color: rgba(122, 180, 161, 0.1);
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/*--------------------------------------------------------------
# Cards
--------------------------------------------------------------*/
.card {
  margin-bottom: 2rem;
  border: none;
  border-radius: 20px;
  box-shadow: 0 5px 25px var(--sbh-shadow);
  background: var(--sbh-white);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px var(--sbh-shadow-hover);
}

.card-header,
.card-footer {
  border: none;
  background-color: var(--sbh-white);
  color: var(--sbh-medium-gray);
  padding: 1.5rem 2rem;
}

.card-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.card-title {
  padding: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--sbh-black);
  margin-bottom: 1rem;
}

.card-title span {
  color: var(--sbh-medium-gray);
  font-size: 0.875rem;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
}

.card-body {
  padding: 0 2rem 2rem;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
}

/* Alert Styles */
.alert-heading {
  font-weight: 600;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
}

/* Button Styles */
.btn-close {
  background-size: 20%;
  opacity: 0.7;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
  opacity: 1;
}

/* Accordion */
.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
  border-color: var(--sbh-primary);
}

.accordion-button:not(.collapsed) {
  color: var(--sbh-primary);
  background-color: rgba(122, 180, 161, 0.05);
}

.accordion-flush .accordion-button {
  padding: 1rem 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: var(--sbh-primary);
}

.accordion-flush .accordion-body {
  padding: 0 0 1rem;
  color: var(--sbh-medium-gray);
  font-size: 15px;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumb {
  font-size: 0.875rem;
  font-family: "Roboto", sans-serif;
  color: var(--sbh-medium-gray);
  font-weight: 500;
  background: none;
  padding: 0;
  margin: 0;
}

.breadcrumb a {
  color: var(--sbh-medium-gray);
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: var(--sbh-primary);
}

.breadcrumb .breadcrumb-item::before {
  color: var(--sbh-medium-gray);
}

.breadcrumb .active {
  color: var(--sbh-primary);
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: var(--sbh-medium-gray);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: var(--sbh-primary);
}

.nav-tabs-bordered .nav-link.active {
  background-color: var(--sbh-white);
  color: var(--sbh-primary);
  border-bottom: 3px solid var(--sbh-primary);
  font-weight: 600;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}

@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}

.logo img {
  max-height: 32px;
  margin-right: 8px;
}

.logo span {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sbh-primary);
}

.header {
  transition: all 0.3s ease;
  z-index: 997;
  height: 70px;
  box-shadow: 0 2px 20px var(--sbh-shadow);
  background-color: var(--sbh-white);
  padding: 0 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
}

.header .toggle-sidebar-btn {
  font-size: 1.75rem;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--sbh-primary);
  background: none;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-left: auto;
}

.header .toggle-sidebar-btn:hover {
  background: rgba(122, 180, 161, 0.1);
  transform: scale(1.05);
}

.header .search-bar {
  min-width: 360px;
  padding: 0 1.5rem;
}

@media (max-width: 1199px) {
  .header {
    padding: 0 1rem;
  }
  
  .header .search-bar {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    padding: 1.5rem;
    box-shadow: 0 5px 25px var(--sbh-shadow-hover);
    background: var(--sbh-white);
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 2px solid transparent;
  font-size: 14px;
  color: var(--sbh-black);
  background: var(--sbh-light-gray);
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(122, 180, 161, 0.25);
  border-color: var(--sbh-primary);
  background: var(--sbh-white);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -35px;
  background: none;
  cursor: pointer;
  z-index: 3;
  position: relative;
}

.header .search-form button i {
  color: var(--sbh-medium-gray);
  transition: color 0.3s ease;
}

.header .search-form button:hover i {
  color: var(--sbh-primary);
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-nav .nav-icon {
  font-size: 1.25rem;
  color: var(--sbh-primary);
  padding: 0.5rem;
  position: relative;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.header-nav .nav-icon:hover {
  background: rgba(122, 180, 161, 0.1);
  transform: scale(1.1);
}

.header-nav .nav-profile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  background: rgba(122, 180, 161, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--sbh-black);
}

.header-nav .nav-profile:hover {
  background: rgba(122, 180, 161, 0.2);
  transform: translateY(-1px);
}

.header-nav .nav-profile img {
  max-height: 36px;
  border-radius: 50%;
  border: 2px solid var(--sbh-white);
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}

.header-nav .badge-number {
  position: absolute;
  top: -2px;
  right: -5px;
  font-weight: 600;
  font-size: 11px;
  padding: 0.25rem 0.4rem;
  background: var(--sbh-accent-orange);
  border-radius: 50%;
  color: var(--sbh-white);
  border: 2px solid var(--sbh-white);
}

.header-nav .notifications {
  top: 8px !important;
  right: -15px !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  transition: 0.3s;
  border-radius: 8px;
  margin: 0.25rem;
}

.header-nav .notifications .notification-item i {
  margin: 0 1rem 0 0.5rem;
  font-size: 1.5rem;
  color: var(--sbh-primary);
}

.header-nav .notifications .notification-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--sbh-black);
}

.header-nav .notifications .notification-item p {
  font-size: 0.8125rem;
  margin-bottom: 0.125rem;
  color: var(--sbh-medium-gray);
}

.header-nav .notifications .notification-item:hover {
  background-color: rgba(122, 180, 161, 0.1);
}

.header-nav .messages {
  top: 8px !important;
  right: -15px !important;
}

.header-nav .messages .message-item {
  padding: 1rem;
  transition: 0.3s;
  border-radius: 8px;
  margin: 0.25rem;
}

.header-nav .messages .message-item a {
  display: flex;
  align-items: center;
}

.header-nav .messages .message-item img {
  margin: 0 1rem 0 0.5rem;
  max-height: 40px;
  border-radius: 50%;
}

.header-nav .messages .message-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--sbh-black);
}

.header-nav .messages .message-item p {
  font-size: 0.8125rem;
  margin-bottom: 0.125rem;
  color: var(--sbh-medium-gray);
}

.header-nav .messages .message-item:hover {
  background-color: rgba(122, 180, 161, 0.1);
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--sbh-black);
}

.header-nav .profile .dropdown-header span {
  font-size: 0.875rem;
  color: var(--sbh-medium-gray);
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 0.75rem 1rem;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 0.75rem;
  font-size: 1rem;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: rgba(122, 180, 161, 0.1);
  color: var(--sbh-primary);
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 70px;
  left: 0;
  bottom: 0;
  width: 280px;
  z-index: 996;
  transition: all 0.3s ease;
  padding: 1.5rem 1rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 180, 161, 0.3) transparent;
  box-shadow: 2px 0 15px var(--sbh-shadow);
  background-color: var(--sbh-white);
}

@media (max-width: 1199px) {
  .sidebar {
    left: -280px;
  }
}

.sidebar::-webkit-scrollbar {
  width: 4px;
  background-color: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(122, 180, 161, 0.3);
  border-radius: 10px;
}

@media (min-width: 1200px) {
  #main,
  .footer {
    margin-left: 280px;
  }
}

@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {
  .toggle-sidebar #main,
  .toggle-sidebar .footer {
    margin-left: 0;
  }

  .toggle-sidebar .sidebar {
    left: -280px;
  }
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-item {
  margin-bottom: 0.5rem;
}

.sidebar-nav .nav-heading {
  font-family: "Playfair Display", serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--sbh-medium-gray);
  font-weight: 600;
  margin: 2rem 0 1rem 1rem;
  letter-spacing: 1px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--sbh-primary);
  transition: all 0.3s ease;
  background: rgba(122, 180, 161, 0.1);
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.25rem;
}

.sidebar-nav .nav-link i {
  font-size: 1rem;
  margin-right: 0.75rem;
  color: var(--sbh-primary);
  width: 20px;
  text-align: center;
}

.sidebar-nav .nav-link.collapsed {
  color: var(--sbh-black);
  background: transparent;
}

.sidebar-nav .nav-link.collapsed i {
  color: var(--sbh-medium-gray);
}

.sidebar-nav .nav-link:hover {
  color: var(--sbh-primary);
  background: rgba(122, 180, 161, 0.15);
  transform: translateX(5px);
}

.sidebar-nav .nav-link:hover i {
  color: var(--sbh-primary);
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-left: auto;
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 0.5rem 0 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--sbh-black);
  transition: all 0.3s ease;
  padding: 0.625rem 0 0.625rem 2.5rem;
  border-radius: 8px;
  margin: 0.125rem 0;
}

.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 0.5rem;
  line-height: 0;
  border-radius: 50%;
  width: auto;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: var(--sbh-primary);
  background: rgba(122, 180, 161, 0.1);
  transform: translateX(3px);
}

.sidebar-nav .nav-content a.active i {
  background-color: var(--sbh-primary);
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
.dashboard .filter {
  position: absolute;
  right: 0;
  top: 1rem;
}

.dashboard .filter .icon {
  color: var(--sbh-medium-gray);
  padding: 0.5rem;
  transition: 0.3s;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 50%;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: var(--sbh-primary);
  background: rgba(122, 180, 161, 0.1);
}

.dashboard .filter .dropdown-header {
  padding: 0.5rem 1rem;
}

.dashboard .filter .dropdown-header h6 {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--sbh-medium-gray);
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 0.5rem 1rem;
}

/* Info Cards */
.dashboard .info-card {
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dashboard .info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--sbh-primary), var(--sbh-accent-orange), var(--sbh-accent-pink));
}

.dashboard .info-card h6 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--sbh-black);
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  padding: 0;
}

.dashboard .info-card p {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: var(--sbh-medium-gray);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

.dashboard .card-icon {
  font-size: 2rem;
  line-height: 0;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  overflow: hidden;
}

.dashboard .card-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: 50%;
  opacity: 0.1;
}

.dashboard .sales-card .card-icon {
  color: var(--sbh-white);
  background: var(--sbh-primary);
}

.dashboard .revenue-card .card-icon {
  color: var(--sbh-white);
  background: var(--sbh-accent-orange);
}

.dashboard .customers-card .card-icon {
  color: var(--sbh-white);
  background: var(--sbh-accent-pink);
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item {
  display: flex;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard .activity .activity-item:last-child {
  border-bottom: none;
}

.dashboard .activity .activity-item .activite-label {
  color: var(--sbh-medium-gray);
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
  font-size: 0.75rem;
  font-weight: 500;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 3px;
  top: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--sbh-primary), var(--sbh-accent-orange));
  border-radius: 2px;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 10px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid var(--sbh-white);
  flex-grow: 0;
  width: 16px;
  height: 16px;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 1rem;
  padding-bottom: 0;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item + .post-item {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard .news img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  float: left;
  border-radius: 12px;
  margin-right: 1rem;
}

.dashboard .news h4 {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.dashboard .news h4 a {
  color: var(--sbh-black);
  transition: 0.3s;
}

.dashboard .news h4 a:hover {
  color: var(--sbh-primary);
}

.dashboard .news p {
  font-size: 0.875rem;
  color: var(--sbh-medium-gray);
  margin: 0;
  line-height: 1.5;
}

/* Recent Sales & Tables */
.dashboard .recent-sales,
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .recent-sales .table thead,
.dashboard .top-selling .table thead {
  background-color: rgba(122, 180, 161, 0.1);
}

.dashboard .recent-sales .table thead th,
.dashboard .top-selling .table thead th {
  border-bottom: 2px solid #7ab4a1;
  color: #333;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  padding: 0.75rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dashboard .recent-sales .table tbody td,
.dashboard .top-selling .table tbody td {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard .recent-sales .table tbody tr:hover,
.dashboard .top-selling .table tbody tr:hover {
  background: rgba(122, 180, 161, 0.05);
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 1rem 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 1rem 0 0 0;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: 8px;
  max-width: 60px;
  height: 40px;
  object-fit: cover;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding-top: 1rem;
}

.iconslist .icon {
  background-color: var(--sbh-white);
  border-radius: 12px;
  text-align: center;
  color: var(--sbh-black);
  padding: 1.5rem 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px var(--sbh-shadow);
}

.iconslist .icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px var(--sbh-shadow-hover);
  color: var(--sbh-primary);
}

.iconslist i {
  margin: 0.5rem;
  font-size: 2.5rem;
  color: var(--sbh-primary);
}

.iconslist .label {
  font-family: "Roboto", monospace;
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--sbh-medium-gray);
}

/*--------------------------------------------------------------
# Profile Page
--------------------------------------------------------------*/
.profile .profile-card {
  text-align: center;
}

.profile .profile-card img {
  max-width: 120px;
  border-radius: 50%;
  border: 4px solid var(--sbh-primary);
  padding: 4px;
}

.profile .profile-card h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sbh-black);
  margin: 1rem 0 0.5rem 0;
}

.profile .profile-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.125rem;
  color: var(--sbh-medium-gray);
  font-weight: 500;
}

.profile .profile-card .social-links a {
  font-size: 1.25rem;
  display: inline-block;
  color: var(--sbh-medium-gray);
  line-height: 0;
  margin: 0 0.5rem;
  transition: 0.3s;
  padding: 0.75rem;
  border-radius: 50%;
  background: var(--sbh-light-gray);
}

.profile .profile-card .social-links a:hover {
  color: var(--sbh-white);
  background: var(--sbh-primary);
  transform: translateY(-2px);
}

.profile .profile-overview .row {
  margin-bottom: 1.5rem;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: var(--sbh-black);
}

.profile .profile-overview .label {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--sbh-medium-gray);
}

.profile .profile-edit label {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--sbh-medium-gray);
}

.profile .profile-edit img {
  max-width: 120px;
  border-radius: 50%;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--sbh-primary);
}

.faq .basic p {
  color: var(--sbh-medium-gray);
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 2rem;
  text-align: center;
  border-radius: 15px;
  background: var(--sbh-white);
  box-shadow: 0 5px 20px var(--sbh-shadow);
  transition: all 0.3s ease;
}

.contact .info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--sbh-shadow-hover);
}

.contact .info-box i {
  font-size: 2.5rem;
  line-height: 0;
  color: var(--sbh-primary);
  background: rgba(122, 180, 161, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact .info-box h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--sbh-black);
  font-weight: 700;
  margin: 1rem 0 0.5rem 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 0;
  color: var(--sbh-medium-gray);
}

.contact .php-email-form .error-message {
  display: none;
  color: var(--sbh-white);
  background: var(--sbh-accent-pink);
  text-align: left;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  border-radius: 8px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: var(--sbh-white);
  background: var(--sbh-primary);
  text-align: center;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  border-radius: 8px;
}

.contact .php-email-form .loading {
  display: none;
  background: var(--sbh-white);
  text-align: center;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--sbh-shadow);
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--sbh-primary);
  border-top-color: transparent;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border: 2px solid transparent;
  background: var(--sbh-light-gray);
  box-shadow: none;
  font-size: 14px;
  border-radius: 10px;
  padding: 0.875rem 1rem;
  transition: all 0.3s ease;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--sbh-primary);
  background: var(--sbh-white);
  box-shadow: 0 0 0 0.25rem rgba(122, 180, 161, 0.25);
  outline: none;
}

.contact .php-email-form button[type=submit] {
  background: var(--sbh-primary);
  border: 2px solid var(--sbh-primary);
  padding: 0.875rem 2rem;
  color: var(--sbh-white);
  transition: all 0.4s ease;
  border-radius: 25px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--sbh-accent-orange);
  border-color: var(--sbh-accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--sbh-shadow-hover);
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 2rem;
  text-align: center;
}

.error-404 h1 {
  font-family: "Playfair Display", serif;
  font-size: 8rem;
  font-weight: 700;
  color: var(--sbh-primary);
  margin-bottom: 0;
  line-height: 0.8;
}

.error-404 h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--sbh-black);
  margin: 2rem 0;
}

.error-404 .btn {
  background: var(--sbh-primary);
  color: var(--sbh-white);
  padding: 0.875rem 2rem;
  border-radius: 25px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  border: 2px solid var(--sbh-primary);
  transition: all 0.3s ease;
}

.error-404 .btn:hover {
  background: var(--sbh-accent-orange);
  border-color: var(--sbh-accent-orange);
  transform: translateY(-2px);
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .error-404 h1 {
    font-size: 4rem;
  }
}

/*--------------------------------------------------------------
# Forms & Buttons
--------------------------------------------------------------*/
.form-control {
  border: 2px solid transparent;
  background: var(--sbh-light-gray);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  transition: all 0.3s ease;
  font-size: 14px;
  color: var(--sbh-black);
}

.form-control:focus {
  border-color: var(--sbh-primary);
  box-shadow: 0 0 0 0.25rem rgba(122, 180, 161, 0.25);
  background: var(--sbh-white);
  outline: none;
}

.form-control::placeholder {
  color: var(--sbh-medium-gray);
}

.form-select {
  border: 2px solid transparent;
  background: var(--sbh-light-gray);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  transition: all 0.3s ease;
}

.form-select:focus {
  border-color: var(--sbh-primary);
  box-shadow: 0 0 0 0.25rem rgba(122, 180, 161, 0.25);
  background: var(--sbh-white);
}

.btn {
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  border-width: 2px;
}

.btn-primary {
  background: var(--sbh-primary);
  border-color: var(--sbh-primary);
  color: var(--sbh-white);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--sbh-accent-orange);
  border-color: var(--sbh-accent-orange);
  color: var(--sbh-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--sbh-shadow-hover);
}

.btn-outline-primary {
  background: transparent;
  border-color: var(--sbh-primary);
  color: var(--sbh-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--sbh-primary);
  border-color: var(--sbh-primary);
  color: var(--sbh-white);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--sbh-medium-gray);
  border-color: var(--sbh-medium-gray);
  color: var(--sbh-white);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--sbh-black);
  border-color: var(--sbh-black);
  color: var(--sbh-white);
  transform: translateY(-2px);
}

.btn-success {
  background: var(--sbh-primary);
  border-color: var(--sbh-primary);
}

.btn-warning {
  background: var(--sbh-accent-orange);
  border-color: var(--sbh-accent-orange);
}

.btn-danger {
  background: var(--sbh-accent-pink);
  border-color: var(--sbh-accent-pink);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/*--------------------------------------------------------------
# Badges & Labels
--------------------------------------------------------------*/
.badge {
  border-radius: 15px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.bg-primary,
.bg-primary {
  background-color: var(--sbh-primary) !important;
  color: var(--sbh-white) !important;
}

.badge.bg-success,
.bg-success {
  background-color: var(--sbh-primary) !important;
  color: var(--sbh-white) !important;
}

.badge.bg-warning,
.bg-warning {
  background-color: var(--sbh-accent-orange) !important;
  color: var(--sbh-white) !important;
}

.badge.bg-danger,
.bg-danger {
  background-color: var(--sbh-accent-pink) !important;
  color: var(--sbh-white) !important;
}

.badge.bg-secondary,
.bg-secondary {
  background-color: var(--sbh-medium-gray) !important;
  color: var(--sbh-white) !important;
}

/*--------------------------------------------------------------
# Tables
--------------------------------------------------------------*/
.table {
  background: var(--sbh-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--sbh-shadow);
}

.table thead th {
  background-color: rgba(122, 180, 161, 0.1);
  border-bottom: 2px solid #7ab4a1;
  border: none;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #333;
  padding: 0.75rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table tbody td {
  border: none;
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr {
  transition: all 0.3s ease;
}

.table tbody tr:hover {
  background: rgba(122, 180, 161, 0.05);
  transform: translateX(3px);
}

.table-borderless thead th,
.table-borderless tbody td {
  border: 0;
}

.table-striped > tbody > tr:nth-of-type(odd) > td,
.table-striped > tbody > tr:nth-of-type(odd) > th {
  background-color: rgba(122, 180, 161, 0.02);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 1.5rem 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--sbh-white);
  margin-left: 280px;
}

.footer .copyright {
  text-align: center;
  color: var(--sbh-black);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.footer .credits {
  padding-top: 0.5rem;
  text-align: center;
  font-size: 13px;
  color: var(--sbh-medium-gray);
}

.footer .credits a {
  color: var(--sbh-primary);
  font-weight: 500;
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .footer {
    margin-left: 0;
  }

  .logo span {
    font-size: 1.5rem;
  }

  .header .toggle-sidebar-btn {
    margin-left: 0;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  #main {
    padding: 1rem;
  }

  .pagetitle h1 {
    font-size: 1.5rem;
  }

  .card-body {
    padding: 1rem;
  }

  .dashboard .info-card {
    padding: 1.5rem;
  }

  .dashboard .info-card h6 {
    font-size: 2rem;
  }

  .dashboard .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .header {
    height: 60px;
  }

  .sidebar {
    top: 60px;
  }

  #main {
    margin-top: 60px;
  }

  .dropdown-menu {
    border-radius: 8px;
  }

  .card {
    border-radius: 12px;
  }

  .contact .info-box i {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .dashboard .info-card h6 {
    font-size: 1.75rem;
  }

  .logo span {
    font-size: 1.25rem;
  }

  .error-404 h1 {
    font-size: 3rem;
  }

  .error-404 h2 {
    font-size: 1.25rem;
  }
}

/*--------------------------------------------------------------
# Custom Animations
--------------------------------------------------------------*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.card {
  animation: fadeInUp 0.6s ease-out;
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.3s; }
.card:nth-child(5) { animation-delay: 0.4s; }

.sidebar-nav .nav-link {
  animation: slideInRight 0.5s ease-out;
}

.dashboard .card-icon:hover {
  animation: pulse 0.6s ease-in-out;
}

/*--------------------------------------------------------------
# Print Styles
--------------------------------------------------------------*/
@media print {
  .sidebar,
  .header,
  .back-to-top {
    display: none !important;
  }

  #main {
    margin: 0 !important;
    padding: 1rem !important;
  }

  .card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}

/* Hide profile dropdown header (e.g., Administrator / Shelton Beach Resort) */
.dropdown-menu.profile .dropdown-header { display: none !important; }
.dropdown-menu.profile .dropdown-header + .dropdown-divider { display: none !important; }

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 2px solid var(--sbh-primary) !important;
  outline-offset: 2px !important;
}

.btn:focus-visible,
.form-control:focus-visible,
.nav-link:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(122, 180, 161, 0.25) !important;
}

/*--------------------------------------------------------------
# Text Selection
--------------------------------------------------------------*/
::selection {
  background: var(--sbh-primary);
  color: var(--sbh-white);
}

::-moz-selection {
  background: var(--sbh-primary);
  color: var(--sbh-white);
}

/*
  Ensure the header hamburger (toggle-sidebar-btn) is always clickable and above any overlays
  that might inadvertently sit over the header area on some pages.
*/
.header .toggle-sidebar-btn {
  position: relative;
  z-index: 10001;
  pointer-events: auto;
}