/**
* Template Name: NiceAdmin
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Updated: Apr 20 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
  /* Define safe area insets for iOS notched devices */
  --safe-area-inset-top: env(safe-area-inset-top, 0);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0);
  --safe-area-inset-left: env(safe-area-inset-left, 0);
  --safe-area-inset-right: env(safe-area-inset-right, 0);
}

body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; /* Added fallback fonts for better iOS compatibility */
  background: #f6f9ff;
  color: var(--bs-body-color);
  -webkit-text-size-adjust: 100%; /* Prevent iOS from auto-adjusting font sizes */
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
  touch-action: manipulation; /* Improve touch responsiveness */
}

a {
  color: var(--bs-primary);
  text-decoration: none;
  /* Ensure tap areas are not highlighted on iOS */
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  color: var(--bs-secondary);
  text-decoration: none;
}

/* ads */
h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.25rem;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 10px;
  transition: all 0.3s;
  padding: 10px;
  padding-top: calc(10px + var(--safe-area-inset-top)); /* Respect safe area for notched iOS devices */
  padding-bottom: calc(10px + var(--safe-area-inset-bottom));
}

@media (max-width: 1199px) {
  #main {
    padding: 10px;
    padding-top: calc(10px + var(--safe-area-inset-top));
    padding-bottom: calc(10px + var(--safe-area-inset-bottom));
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 400;
  color: var(--bs-primary);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: calc(15px + var(--safe-area-inset-right));
  bottom: calc(15px + var(--safe-area-inset-bottom));
  z-index: 99999;
  background: var(--bs-secondary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s; /* Safari compatibility */
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}

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

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  animation: popup-animate 0.2s both !important; /* Simplified animation syntax */
  -webkit-animation: popup-animate 0.2s both !important; /* Safari compatibility */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

@keyframes popup-animate {
  from {
    transform: translateY(50%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Safari-specific keyframes */
@-webkit-keyframes popup-animate {
  from {
    -webkit-transform: translateY(50%);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
    opacity: 1;
  }
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

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

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
  -webkit-transition: 0.3s; /* Safari compatibility */
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg); /* Safari compatibility */
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes dropdown-animate {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

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

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

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

/* Card */
.card {
  margin-bottom: 10px;
  border: none;
  border-radius: 18px;
  overflow: hidden;
}

.card-header,
.card-footer {
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-weight: 400;
  font-size: 16px;
  color: var(--bs-primary);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
}

.card-title-sub {
  display: flex;
  align-items: center;
  padding: 20px 0 15px 0;
  font-weight: 400;
  font-size: 14px;
  color: var(--bs-primary);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
}

.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 0 20px 20px 20px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
  -webkit-appearance: none; /* Prevent iOS button styling */
}

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

/* Accordion */
.accordion-item {
  border: none;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--bs-primary);
  background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

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

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #899bbd;
  font-weight: 600;
}

.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
  -webkit-transition: 0.3s; /* Safari compatibility */
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid var(--bs-secondary);
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: var(--bs-secondary);
}

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

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: var(--bs-primary);
  border-bottom: 2px solid var(--bs-primary);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}
.logo img{
  height:50px;
  width:50px;
  border-radius: 50%;
  object-fit: cover;  
}

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

.logo img {
  max-height: 50px;
  margin-right: 6px;
}

.logo span {
  font-size: 26px;
  font-weight: 700;
  color: var(--bs-primary);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, sans-serif;
}

.header {
  transition: all 0.5s;
  -webkit-transition: all 0.5s; /* Safari compatibility */
  z-index: 997;
  height: 60px;
  padding-left: 20px;
  padding-top: var(--safe-area-inset-top); /* Respect safe area */
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: var(--bs-body-color);
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
}

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

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: calc(50px + var(--safe-area-inset-top));
    left: var(--safe-area-inset-left);
    right: var(--safe-area-inset-right);
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    z-index: 9999;
    transition: 0.3s;
    -webkit-transition: 0.3s; /* Safari compatibility */
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: calc(60px + var(--safe-area-inset-top));
    visibility: visible;
    opacity: 1;
  }
}

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

.header .search-form input {
  border: 0;
  font-size: 14px;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  -webkit-transition: 0.3s; /* Safari compatibility */
  -webkit-appearance: none; /* Remove iOS-specific styling */
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
  -webkit-appearance: none; /* Remove iOS button styling */
}

.header .search-form button i {
  color: var(--bs-body-color);
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav > ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: var(--zstyle-cardstyle-bg);
  margin-right: 25px;
  position: relative;
  background-color: var(--z-cardstyle-bg) !important;
}

.header-nav .nav-profile {
  color: var(--z-cardstyle-bg);
}

.header-nav .nav-profile img {
  height: 36px;
  width: 36px;
  object-fit: cover;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -7px -10px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px calc(-15px - var(--safe-area-inset-right)) auto auto !important;
  min-width: 300px;
  max-height: calc(70vh - var(--safe-area-inset-top) - var(--safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
  -webkit-transition: 0.3s; /* Safari compatibility */
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

.header-nav .messages {
  inset: 8px calc(-15px - var(--safe-area-inset-right)) auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
  -webkit-transition: 0.3s; /* Safari compatibility */
}

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

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--bs-body-color);
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: calc(8px + var(--safe-area-inset-top)) !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--bs-body-color);
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
  -webkit-transition: 0.3s; /* Safari compatibility */
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: calc(60px + var(--safe-area-inset-top));
  left: var(--safe-area-inset-left);
  bottom: var(--safe-area-inset-bottom);
  width: 300px;
  z-index: 996;
  transition: all 0.3s;
  -webkit-transition: all 0.3s; /* Safari compatibility */
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #aab7cf transparent;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

@media (max-width: 1199px) {
  .sidebar {
    left: calc(-300px - var(--safe-area-inset-left));
  }
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #aab7cf;
}

/* Additional scrollbar styling for Safari */
.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.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: 5px;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #899bbd;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--bs-secondary);
  transition: 0.3s;
  -webkit-transition: 0.3s; /* Safari compatibility */
  background: #f6f9ff;
  padding: 10px 15px;
  border-radius: 4px;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: var(--bs-body-color);
}

.sidebar-nav .nav-link.collapsed {
  color: var(--bs-body-color);
  background: #fff;
}

.sidebar-nav .nav-link.collapsed i {
  color: #899bbd;
}

.sidebar-nav .nav-link:hover {
  color: var(--bs-secondary);
  background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
  color: var(--bs-secondary);
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
  -webkit-transition: transform 0.2s ease-in-out; /* Safari compatibility */
}

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

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

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--bs-body-color);
  transition: 0.3s;
  -webkit-transition: 0.3s; /* Safari compatibility */
  padding: 10px 0 10px 40px;
}

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

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: var(--bs-body-color);
}

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

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
.dashboard .filter {
  position: absolute;
  right: calc(0px + var(--safe-area-inset-right));
  top: calc(15px + var(--safe-area-inset-top));
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  -webkit-transition: 0.3s; /* Safari compatibility */
  font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: var(--bs-secondary);
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: var(--bs-primary);
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}

.dashboard .sales-card .card-icon {
  color: var(--bs-secondary);
  background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

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

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.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: 15px;
}

.dashboard .news img {
  width: 40px;
  height: 40px;
  float: left;
  margin-left: 10px;
  border-radius: 50%;
  object-fit: cover;
}

.dashboard .news h4 {
  font-size: 15px;
  margin-left: 5px;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--bs-primary);
}

.dashboard .news h4 a {
  color: var(--bs-primary);
  transition: 0.3s;
  -webkit-transition: 0.3s; /* Safari compatibility */
}

.dashboard .news h4 a:hover {
  color: var(--bs-secondary);
}

.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 5px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}

.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
  border: 0;
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .top-selling .table thead {
  background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
  border: 0;
}

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

.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

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

.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: var(--bs-primary);
  padding: 15px 0;
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profile Page
--------------------------------------------------------------*/
.profile .profile-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--bs-secondary);
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
  -webkit-transition: 0.3s; /* Safari compatibility */
}

.profile .profile-card .social-links a:hover {
  color: var(--bs-primary);
}

.profile .profile-overview .row {
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: var(--bs-primary);
}

.profile .profile-overview .label {
  font-weight: 600;
  color:var(--z-cardstyle-text);
}

.profile .profile-edit label {
  font-weight: 600;
  color:var(--z-cardstyle-text);
}

.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: var(--bs-secondary);
}

.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: var(--bs-secondary);
}

.contact .info-box h3 {
  font-size: 20px;
  color: var(--bs-primary);
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.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 #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
  -webkit-animation: animate-loading 1s linear infinite; /* Safari compatibility */
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
  -webkit-appearance: none; /* Remove iOS-specific styling */
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--bs-secondary);
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: var(--bs-secondary);
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  -webkit-transition: 0.4s; /* Safari compatibility */
  border-radius: 4px;
  -webkit-appearance: none; /* Remove iOS button styling */
}

.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}

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

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

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: var(--bs-secondary);
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: 30px;
}

.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
  -webkit-appearance: none; /* Remove iOS button styling */
}

.error-404 .btn:hover {
  background: #3e4f6f;
}

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

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 40px 0;
  font-size: 14px;
  transition: all 0.3s;
  -webkit-transition: all 0.3s; /* Safari compatibility */
  padding-bottom: calc(40px + var(--safe-area-inset-bottom)); /* Respect safe area */
}

.footer .copyright {
  text-align: center;
  color: var(--bs-primary);
}

.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: var(--bs-primary);
}

/*--------------------------------------------------------------
# Z-Stuff
--------------------------------------------------------------*/
.help-block {
  color: #770007;
}

.mini-image {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.mini-mini-image {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.center-horizontally {
  display: flex;
  justify-content: center;
}

.center-vertically {
  display: flex;
  align-items: center;
}

.reaction-popup {
  display: none;
  z-index: 999;
}

@keyframes blink {
  0%, 100% {
    background-color: #f8f9fa;
  }
  50% {
    background-color: #fff3cd;
  }
}

@-webkit-keyframes blink {
  0%, 100% {
    background-color: #f8f9fa;
  }
  50% {
    background-color: #fff3cd;
  }
}

.blink-once {
  animation: blink 0.3s ease-in-out 3;
  -webkit-animation: blink 0.3s ease-in-out 3; /* Safari compatibility */
}

.readmore-container {
  max-height: 150px;
  overflow: hidden;
  transition: max-height 0.3s ease;
  -webkit-transition: max-height 0.3s ease; /* Safari compatibility */
  font-size: 14px;
}

.readmore-container p {
  margin-bottom: 0;
}

.no-readmore p {
  margin-bottom: 0;
  font-size: 14px;
}
.no-readmore ol {
  margin-bottom: 0;
  font-size: 14px;
}

.readmore-container.expanded {
  max-height: none;
  font-size: 14px;
}

.readmore-toggle {
  display: inline-block;
  margin-top: 8px;
  color: var(--bs-primary);
  opacity: 50%;
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
  line-height: 100%;
  letter-spacing: 0%;
}

#gifResults {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

#gifResults img {
  width: 100%;
  border-radius: 4px;
  user-select: none;
  transition: transform 0.15s ease;
  -webkit-transition: transform 0.15s ease; /* Safari compatibility */
}

#gifResults img:hover,
#gifResults img:focus {
  outline: none;
  transform: scale(1.05);
  -webkit-transform: scale(1.05); /* Safari compatibility */
  box-shadow: 0 0 5px #00aaff;
}

.emoji-popup span {
  cursor: pointer;
  font-size: 20px;
  margin: 0 4px;
}

.save-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-size: 1.2em;
  color: inherit;
  -webkit-appearance: none; /* Remove iOS button styling */
}

.save-button:hover {
  color: var(--bs-secondary);
}

.media-group {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
  flex-wrap: nowrap;
}

/* GIF Comment Resizer */
.readmore-wrapper {
  white-space: normal;
}

.readmore-wrapper img {
  max-height: 100%;
  width: auto;
  height: 140px;
  display: block;
  margin: 10px 0;
}

.modal-header .btn-close {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.75rem;
  -webkit-appearance: none; /* Remove iOS button styling */
}

.post-container p {
  margin-bottom: 0;
}

.btn-follow {
  background-color: var(--bs-primary);
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  -webkit-appearance: none; /* Remove iOS button styling */
}

.btn-followed {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: default;
  -webkit-appearance: none; /* Remove iOS button styling */
}

:root {
  --bs-gutter-x: 3;
}

.container {
  --bs-gutter-x: 3;
}

.row {
  --bs-gutter-x: 3;
}

.tab-menu .nav-link {
  text-align: center;
  transition: border-bottom 0.1s, color 0.2s;
  -webkit-transition: border-bottom 0.1s, color 0.2s; /* Safari compatibility */
  color: var(--bs-primary-dark, #666);
}

.tab-menu .nav-link.active {
  border-bottom: 2px solid var(--bs-primary);
  color: var(--bs-primary, #0d6efd) !important;
  background-color: var(--z-cardstyle-bg) !important;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  border-bottom: 2px solid var(--bs-primary);
  color: var(--bs-primary, #0d6efd) !important;
  background-color: var(--z-cardstyle-bg) !important;
}

.client-logo h2 {
  margin: 0;
}

.tab-menu {
  height: 60px;
  position: fixed;
  bottom: var(--safe-area-inset-bottom); /* Respect safe area */
  z-index: 1000;
  width: 100%;
  background-color: var(--bs-primary);
}

.z-badges-notif {
  position: absolute;
  inset: -7px -10px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.z-badges-comment {
  position: absolute;
  inset: -7px -10px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.z-badges-pill {
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
  line-height: 100%;
  letter-spacing: 0%;
}

.modal-content {
  border-radius: 18px;
}

.nav-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background-color: var(--zstyle-cardstyle-bg);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
}

.search-modal-body {
  padding: 20px;
  text-align: center;
}

.search-bar {
  width: 100%;
}

.searchModal {
  min-height: 250px;
}

.search-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none; /* Remove iOS-specific styling */
}

#searchModal .modal-dialog {
  min-width: 200px;
  top: calc(20% + var(--safe-area-inset-top)); /* Respect safe area */
}

.replacement-image {
  width: 40px !important;
  float: left;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 10px;
  background-color: #d9d9d9;
  aspect-ratio: 1/1;
}

.notiftext {
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0%;
}

.smallnotif {
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0%;
}

.accordion-button {
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  color: var(--bs-primary);
  --bs-accordion-btn-padding-x: 0px !important;
}

.accordion {
  --bs-accordion-body-padding-x: 0px !important;
  --bs-accordion-inner-border-radius: 0 !important;
  --bs-accordion-border-color: #00FF0000 !important;
    color: var(--bs-secondary) !important;
   background-color: var(--z-cardstyle-bg) !important; 
   
}
.accordion-header {
	border: none !important;
    color: var(--bs-secondary) !important;
   background-color: var(--z-cardstyle-bg) !important; 
     border-top: var(--z-cardstyle-border);  /* Color for the top border */
    border-bottom: var(--z-cardstyle-border); /* Color for the bottom border */
}

.accordion-body {
  padding: 0 !important;
}

.accordion-title {
  color: var(--bs-primary);
}

.accordion-sub-menu {
  color: var(--bs-body-color);
  font-size: 12px;
  padding-left: 38px;
}

.accordion-item-fix {
  color: var(--bs-body-color);
  font-size: 10px;
  padding-left: 58px;
}

.transparent-borderless {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--bs-body-color) !important;
}

.accordion-button:not(.collapsed) {
  background-color: transparent !important;
  box-shadow: none !important;
}

.transparent-borderless .accordion-button:not(.collapsed) {
  background-color: transparent !important;
  box-shadow: none !important;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="textarea"],
select,
textarea,
.form-control {
    border: none !important;
    box-shadow: none !important;
    background-color: var(--z-cardstyle-bg) !important;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 20px !important;
    letter-spacing: 0% !important;
    color: var(--z-cardstyle-text) !important;
    transition: background-color 0.3s !important;
    -webkit-transition: background-color 0.3s !important; /* Safari compatibility */
    -webkit-appearance: none !important; /* Remove iOS-specific styling */
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="search"]::placeholder,
input[type="tel"]::placeholder,
input[type="url"]::placeholder,
input[type="textarea"]::placeholder,
select,
textarea::placeholder,
.form-control {
    border: none !important;
    box-shadow: none !important;
    background-color: var(--z-cardstyle-bg) !important;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 20px !important;
    letter-spacing: 0% !important;
    color: var(--z-fademaster) !important;
    transition: background-color 0.3s !important;
    -webkit-transition: background-color 0.3s !important; /* Safari compatibility */
    -webkit-appearance: none !important; /* Remove iOS-specific styling */
}

/* Placeholder color when empty (lighter version) */
input::placeholder,
textarea::placeholder,
select::placeholder {
    color: var(--z-fademaster, #aaa) !important;
    opacity: 1 !important; /* Helps with Firefox */
    background-color: var(--z-cardstyle-bg) !important;
}

/* Typed text color (when field has value) */
input:not(:placeholder-shown),
textarea:not(:placeholder-shown),
.form-control:not(:placeholder-shown) {
    color: var(--z-cardstyle-text) !important;
    background-color: var(--z-cardstyle-bg) !important;
}

/* Empty-but-focused state */
input:placeholder-shown:focus,
textarea:placeholder-shown:focus {
    color: var(--z-cardstyle-text) !important;
    background-color: var(--z-cardstyle-bg) !important;
}

/* Modern standard placeholder styling (overrides / fallback) */
input::placeholder,
textarea::placeholder {
    color: var(--z-cardstyle-text) !important;
    opacity: 1 !important;
    background-color: var(--z-cardstyle-bg) !important;
}

/* Legacy vendor prefixes (still useful in some edge cases or very old environments) */
::-webkit-input-placeholder {
    color: var(--z-cardstyle-text) !important;
}
:-moz-placeholder { /* Firefox 4–18 */
    color: var(--z-cardstyle-text) !important;
    opacity: 1 !important;
}
::-moz-placeholder { /* Firefox 19+ */
    color: var(--z-cardstyle-text) !important;
    opacity: 1 !important;
}
:-ms-input-placeholder { /* IE 10–11 */
    color: var(--z-cardstyle-text) !important;
}
::-ms-input-placeholder { /* Edge legacy */
    color: var(--z-cardstyle-text) !important;
}


.form-select {
    
   color: var(--z-cardstyle-text) !important;
   background-color: var(--z-cardstyle-bg) !important; 
}


.card-title-comment {
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0%;
  color: var(--bs-primary) !important;
}

.card-interaction {
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0%;
}

.proper-card-margin {
  margin-left: 0px;
}

.extra-card-margin {
  margin-left: 15px;
}

.modal-body {
  border: none !important;
  box-shadow: none !important;
  background-color: transparent;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  color:var(--z-cardstyle-text);
  padding-left: 30px;
  padding-top: var(--safe-area-inset-top); /* Respect safe area */
  padding-bottom: var(--safe-area-inset-bottom);
}

.modal-fullscreen .modal-content {
  height: 100%;
}

.modal-fullscreen .modal-content .modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100% - 56px - var(--safe-area-inset-top) - var(--safe-area-inset-bottom));
  padding: 0;
}

.modal-fullscreen .modal-content .modal-body .img-fluid {
  max-height: 100% !important;
}

.ql-editor.ql-blank::before {
  font-style: normal;
  color: #999;
}

.spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  animation: spin 1s linear infinite;
  -webkit-animation: spin 1s linear infinite; /* Safari compatibility */
  display: inline-block;
  margin-right: 5px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

:root {
  --bs-card-color: var(--z-cardstyle-text) !important;
  --bs-body-color: var(--z-cardstyle-text) !important;
  --z-fademaster: #808285; !important;
}

.text-fademaster {
  color: #808285;
}

.third-image img {
  height: 100%;
  width: auto;
}

/* Ensure touch actions for buttons and interactive elements */
button,
.btn,
.nav-link,
.dropdown-item,
.save-button,
.btn-follow,
.btn-followed {
  touch-action: manipulation; /* Improve touch responsiveness */
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
}

/* Fix for iOS modal scrolling */
.modal {
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Ensure proper rendering of fixed elements on iOS */
.fixed-top,
.fixed-bottom {
  position: fixed;
  -webkit-transform: translate3d(0, 0, 0); /* Force hardware acceleration */
}

/* Prevent iOS zoom on input focus */
input,
textarea,
select {
  font-size: 14px; /* Prevent iOS zoom on focus */
  background-color:var(--z-cardstyle-bg);
}

/* Fix for iOS hover issues */
@media (hover: hover) and (pointer: fine) {
  a:hover,
  .dropdown-item:hover,
  .nav-link:hover,
  .btn:hover {
    /* Ensure hover styles only apply on devices with hover capability */
  }
}

/* Disable user-select for non-text elements to prevent accidental selection */
img,
button,
.nav-icon,
.card-icon {
  user-select: none;
  -webkit-user-select: none; /* Safari compatibility */
}


.thumb[data-type="image"],
.thumb[data-type="video"],
.thumb[data-type="file"] {
    cursor: pointer;
    touch-action: manipulation; /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
    -webkit-user-select: none; /* Prevent accidental selection */
    user-select: none;
}


.modal-body {
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    overscroll-behavior: contain; /* Prevent overscrolling */
}



.post-container {
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for post content */
    overscroll-behavior: contain; /* Prevent overscrolling */
}

.like-button,
.comment-button,
.save-button,
.btn-sm {
    touch-action: manipulation; /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
    -webkit-appearance: none; /* Remove iOS styling */
}

/* Ensure images and videos scale correctly */
img.w-100,
video.w-100 {
    max-width: 100%;
    height: auto;
    object-fit: contain; /* Prevent distortion */
}

/* Fix for dropdown menus */
.dropdown-menu {
    -webkit-transform: translate3d(0, 0, 0); /* Force hardware acceleration */
}


/*--------------------------------------------------------------
# Z-Stuff - Custom Radio
--------------------------------------------------------------*/

/* Container styling */
.custom-radio-option {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  gap: 6px;
}

/* Hide default bootstrap radio */
.custom-radio {
  appearance: none;
  -webkit-appearance: none;
  margin-right: 6px;
  border: 2px solid #b1b1b1;   /* Light grey outer ring */
  border-radius: 50%;
  position: relative;
  background: #ffffff;
  cursor: pointer;
}

/* Selected = double circle */
.custom-radio:checked {
  border-color: #b1b1b1; /* keeps same light grey */
  background: #ffffff;
}

.custom-radio:checked::after {
  content: "";
  width: 8px;      /* slightly smaller inner ring */
  height: 8px;
  border: 2px solid #b1b1b1;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.google-icon {
  background: linear-gradient(135deg,
    #4285F4 0%,   /* Blue */
    #EA4335 30%,  /* Red */
    #FBBC04 60%,  /* Yellow */
    #34A853 100%  /* Green */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.1em; /* slightly larger icon */
}

.google-calendar-btn {
  font-weight: 500;
}

/* Optional: subtle hover effect on the whole button */
.google-calendar-btn:hover {
  background-color: rgba(66, 133, 244, 0.04);
  border-color: #4285F4;
}


.preview-item {
  cursor: grab;
  transition: opacity 0.2s, transform 0.2s;
  user-select: none;
}

.preview-item.dragging {
  opacity: 0.5;
  transform: scale(1.05);
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.preview-item:hover {
  border-color: var(--bs-primary) !important;
}


.icon-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: lightgrey;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container i {
    font-size: 20px; /* Adjust size as needed */
    color: black; /* Change the color of the icon */
}



.readmore-wrapper {
  position: relative;
}

.readmore-container {
  transition: all 0.25s ease-out;
}

.readmore-collapsed {
  /* ~6 lines depending on your font/line-height — adjust as needed */
  max-height: 9em;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, black 75%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent);
}

.readmore-expanded {
  max-height: none;
  mask-image: none;
  -webkit-mask-image: none;
}

.readmore-link {
  display: inline-block;
  margin: 0.7em 0 0.3em;
  color: var(--bs-primary);
  font-size:14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.readmore-link:hover,
.readmore-link:focus {
  color: var(--bs-primary);
  text-decoration: underline;
  outline: none;
}

.xp-circle {
		  border-radius: 50%;
		  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
		  color: var(--z-cardstyle-bg);
		  font-weight: 900;
		  display: inline-flex;
		  align-items: center;
		  justify-content: center;
		  text-align: center;
		  overflow: hidden;
		  flex-shrink: 0;
		  position: relative;
		  border: 1px solid var(--z-cardstyle-border); /* Outer border */
		  z-index: 50;
		}

		.xp-circle::before {
		  content: '';
		  position: absolute;
		  top: 1px; /* Adjust as needed for spacing */
		  left: 1px; /* Adjust as needed for spacing */
		  right: 1px; /* Adjust as needed for spacing */
		  bottom: 1px; /* Adjust as needed for spacing */
		  border-radius: 50%;
		  border: 1px solid var(--z-cardstyle-border); /* Inner border */
		  pointer-events: none; /* Prevents interaction with the border */
		}

		.xp-unit {
		  font-weight: 500;
		  opacity: 0.9;
		  margin-left: 2px;
		  letter-spacing: 0.5px;
		}