:root{
  --base-font-size: 16px;
}

/* Apply to whole site */


body {
  font-family: 'Barlow', sans-serif;
  background: #F9F5F1
}

a {
    color: #4f46e5;
}

/* Bootstrap Overrides */
.btn-outline-warning {
    --bs-btn-color: #4f46e5;
    --bs-btn-border-color: #4f46e5;
}

.btn:hover {
    background-color: #4f46e5;
    color: #f9fdff;
    border-color: #4f46e5;
}

.btn-outline-warning:hover {
    background-color: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.btn:active {
    background-color: #4f46e5 !important;
    color: #fff !important;
    border-color: #4f46e5 !important;
}

.btn-outline-danger:active {
    background-color: #dc3545 !important;
    color: #fff;
    border-color: #dc3545 !important;
}

.bg-purple {
    background-color: #4f46e5;
}

.text-purple {
    color: #4f46e5;
}

.bold {
      font-weight: 700;
  font-size: 1rem;
}

/* Navigation Hover Effect */
.nav-hover {
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
    padding: 8px 12px !important;
}

.nav-hover:hover {
    background-color: rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.navbar {
    font-weight: 550;
    font-size: 17px;
    min-height: 64px;
}

.navbar-brand {
    font-size: 20px;
    font-weight: 900;
    
}
/*Footer CSS*/
.custom-footer {
    background-color: #1e293b;
}

.footer-heading {
    color: #ffffff;
    font-weight: 700;
}

.footer-text {
    color: #cbd5e1;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #fbbf24; 
}


/* Navigation Divider */
.nav-divider {
    width: 1px;
    height: 24px;
    background-color: #f9fdff;
    align-self: center;
    margin: 0 12px;
}

/* Orange Button Styles */
.bg-navbar {
    background-color: #f9fdff;
}

/* Button Sytles */
.btn-primary,
.btn-outline,
.btn-red,
.btn-grey{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 170px;
  height: 54px;
  border-radius: 12px;
  text-decoration: none;
  line-height: 1.1;
  font-family: inherit;
  font-weight: inherit;
}

.btn-primary{
  background: #4f46e5;
  color: #fff;
  border: 2px solid transparent;
}

.btn-red{
  background: #e54646;
  color: #fff;
  border: 2px solid transparent;
}

.btn-grey {
    background: #6b7280;
    color: #fff;
    border: 2px solid transparent;
     font-weight: 700;
    border-radius: 12px;
    padding: 12px 16px;
}

.btn-primary:hover{ filter: brightness(0.98); }

.btn-red:hover{ filter: brightness(0.98); }

.btn-grey:hover{ filter: brightness(0.98); }

.btn-outline{
  background: #fff;
  color: #4f46e5;
  border: 2px solid #4f46e5;
}

.btn-arrow{
  font-size: 18px;
  margin-left: 2px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  color: #4f46e5;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.75);
}

.content-wrapper {
    min-height: calc(100vh - 64px);  
    display: flex;
    flex-direction: column;
}

.notif-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:6px;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:12px;
  font-weight:800;
}

.sort-btn{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:10px 14px;
  font-weight:600;
  color:#111827;
  
}

.sort-btn:hover{
  background:#f9fafb;
  border-color:#d1d5db;
  color:#111827;
}

.sort-menu{
  border-radius:14px;
  border:1px solid #e5e7eb;
  padding:6px;
 
}

.sort-menu .dropdown-item{
  border-radius:10px;
  padding:10px 12px;
  font-weight:600;
}

.sort-menu .dropdown-item:hover{
  background:#eef2ff;
  color:#4f46e5;
}

.sort-menu .dropdown-item.active{
  background:#4f46e5;
  color:#fff;
}

.font-fixed, 
.font-fixed * {
  font-size: 16px !important;
}
.font-fixed i {
  font-size: 16px !important;
}



:root {
  --text-scale: 1;
}

/* Floating button like chat widget */
.a11y-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: none;
  background: #4f46e5;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(17,24,39,.18);
  z-index: 2000;
  cursor: pointer;
}

.a11y-fab:hover{
  background: #413ade;
}

/* Panel */
.a11y-panel{
  position: fixed;
  right: 18px;
  bottom: 86px;
  width: 260px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(17,24,39,.16);
  padding: 12px;
  z-index: 2000;

  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: all .15s ease;
}

.a11y-panel.show{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.a11y-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 4px 4px 10px 4px;
}

.a11y-close{
  border:none;
  background:transparent;
  font-size: 22px;
  line-height: 1;
  cursor:pointer;
  color:#6b7280;
}

.a11y-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.a11y-btn{
  flex: 1 1 calc(50% - 8px);
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 14px;
  padding: 10px 10px;
  font-weight: 700;
  cursor:pointer;
}

.a11y-btn:hover{
  background:#eef2ff;
  color:#4f46e5;
  border-color:#c7c7e8;
}

.a11y-btn.active{
  background:#4f46e5;
  color:#fff;
  border-color:#4f46e5;
}
/* default scale */
:root{
  --nav-scale: 1;
}

/* ONLY scale the middle nav links */
.nav-scale .nav-link{
  font-size: calc(1rem * var(--nav-scale));
}

/* icons follow the link size */
.nav-scale .nav-link i{
  font-size: 1em;
}


