 /* ===== NAVBAR BASE ===== */
.navbar {
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 12px 0;
}

/* ===== BRAND LOGO ===== */
.navbar-brand img {
    max-height: 35px;
}

/* ===== NAV LINKS ===== */
.navbar .nav-link {
    color: #000 !important;
    font-weight: 500;
    opacity: 1 !important;
    transition: none !important;
    padding: 8px 14px;
}

/* Keep links black always */
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: #000 !important;
    background: transparent !important;
    opacity: 1 !important;
}

/* Optional underline effect instead of fade */
.navbar .nav-link {
    position: relative;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    background: #000;
    transform: scaleX(0);
    transition: none; /* no animation fade */
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

/* ===== BUTTONS ===== */
.navbar .btn-success {
    background-color: #198754;
    border: none;
    color: #fff;
    font-weight: 500;
}

.navbar .btn-success:hover {
    background-color: #157347;
    color: #fff;
}

/* ===== TOGGLER ICON ===== */
.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===== MOBILE MENU ===== */
@media (max-width: 991px) {
    .navbar-nav {
        background: #fff;
        padding: 10px;
        border-radius: 10px;
    }

    .navbar .nav-link {
        padding: 10px;
    }
}

/* ===== CUSTOM STYLES ===== */




   .app-header {
              background: #fff;
              padding: 1.5rem 1rem 1rem;
              border-bottom: 1px solid #ddd;
              display: flex;
              align-items: center;
              gap: 1rem;
            }

            .user-photo-wrapper {
              background: linear-gradient(135deg, #d81b60, #ff4081);
              padding: 2px;
              border-radius: 50%;
              display: inline-block;
            }

            .user-photo {
              width: 55px;
              height: 55px;
              border-radius: 50%;
              object-fit: cover;
              border: 2px solid #fff;
              box-shadow: 0 4px 10px rgba(0,0,0,0.1);
              transition: transform 0.3s ease;
              background: #fff;
            }

            .user-photo:hover {
              transform: scale(1.05);
            }

            .app-header h2 {
              font-weight: 600;
              font-size: 1.4rem;
              margin-bottom: 0.2rem;
            }

            .account-card {
              background: #d81b60;
              color: #fff;
              border-radius: 14px;
              padding: 1rem 1.2rem;
              margin: 1rem 0;
              box-shadow: 0 6px 16px rgba(0,0,0,0.15);
            }

            .account-card small {
              opacity: 0.8;
            }

            .account-balance {
              font-size: 1.8rem;
              font-weight: bold;
            }

            .quick-actions {
              display: flex;
              justify-content: space-between;
              gap: 1rem;
              margin: 1.2rem 0;
            }

            .quick-action {
              background: #fff;
              border-radius: 12px;
              flex: 1;
              padding: 1rem 0.5rem;
              text-align: center;
              box-shadow: 0 4px 12px rgba(0,0,0,0.05);
              color: #333;
              font-size: 0.85rem;
              text-decoration: none;
            }

            .quick-action i {
              font-size: 1.6rem;
              margin-bottom: 0.3rem;
              color: #d81b60;
            }

            .quick-links-list {
              background: #fff;
              border-radius: 12px;
              padding: 1rem;
              box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            }

            .quick-links-item {
              display: flex;
              justify-content: space-between;
              margin-bottom: 1rem;
              font-size: 0.9rem;
            }

            .quick-links-item:last-child {
              margin-bottom: 0;
            }

            .bottom-nav {
              position: fixed;
              bottom: 0;
              left: 0;
              width: 100%;
              background: #fff;
              border-top: 1px solid #ddd;
              display: flex;
              justify-content: space-around;
              padding: 0.6rem 0;
              z-index: 1000;
              box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
            }

            .bottom-nav a {
              flex: 1;
              text-align: center;
              color: #444;
              font-size: 0.75rem;
              text-decoration: none;
            }

            .bottom-nav i {
              display: block;
              font-size: 1.4rem;
              margin-bottom: 0.1rem;
            }

           
.chat-button {
    position: fixed; /* Keeps it in the same spot even when scrolling */
    bottom: 5%; /* Vertically centered */
    right: 10px; /* Distance from the right edge */
    transform: translateY(-50%); /* Perfect vertical centering */
    background-color: #3b82f6; /* Button color */
    color: #fff; /* Icon/text color */
    width: 50px; /* Button width */
    height: 50px; /* Button height */
    border-radius: 50%; /* Makes it circular */
    display: flex; /* Flex for centering content */
    align-items: center; /* Vertical centering of icon/text */
    justify-content: center; /* Horizontal centering */
    font-size: 1.4rem; /* Icon size */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* 3D shadow effect */
    z-index: 999; /* Makes sure it stays above other elements */
    cursor: pointer; /* Shows pointer on hover */
    transition: transform 0.2s, box-shadow 0.2s; /* Smooth hover effect */
}


.chat-button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}
















/* Custom CSS for Bottom Navigation Bar */
/* Bottom Navigation Styling */
.bottom-nav {
    font-size: 0.85rem;
    background-color: #111827 !important; /* dark navy */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}


/* Nav Links */
.bottom-nav a {
    flex: 1;
    padding: 6px 0;
    color: #cbd5e1;
    transition: color 0.3s ease, transform 0.2s;
}

/* Active Link */
.bottom-nav a.active {
    color: #d81b60;
    font-weight: 600;
}

/* Hover Effect */
.bottom-nav a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

/* Icon Styling */
.bottom-nav i {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

/* Label/Text */
.bottom-nav small {
    display: block;
    font-size: 0.75rem;
    margin-top: -4px;
}

/* Tap Feedback */
.bottom-nav a:active {
    transform: scale(0.95);
}


  /* HEADER STYLING */
  .comp-plan-header {
    background-color: #001e3c;
    padding: 15px 25px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .comp-plan-logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .comp-plan-logo img {
    height: 50px;
    width: auto;
  }

  .comp-plan-logo span {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
  }

  .comp-plan-title {
    text-align: right;
  }

  .comp-plan-title h2 {
    color: #ffffff;
    font-size: 20px;
    margin: 0;
    font-weight: 700;
  }

  .comp-plan-title small {
    color: #ffffff;
    font-size: 14px;
  }

  @media (max-width: 576px) {
    .comp-plan-header {
      flex-direction: column;
      text-align: center;
      gap: 10px;
    }

    .comp-plan-title {
      text-align: center;
    }
  }

  /* CARD */
  .compensation-card {
    background: #07204a;
    border-radius: 0 0 12px 12px;
    padding: 20px;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 255, 128, 0.15);
  }

  /* TABLE */
  .table thead th {
    background-color: #001d3d;
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    padding: 8px;
  }

  .table tbody td {
    text-align: center;
    color: #ffffff;
    font-weight: 500;
    padding: 8px;
  }

  .table tbody tr:hover {
    background-color: rgba(0, 255, 204, 0.05);
  }

  .info-box {
    background-color: #001d3d;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
    padding: 15px;
    border-radius: 10px;
  }

  .badge {
    font-size: 0.8rem;
    padding: 4px 10px;
  }

  .border-box {
    border: 1px solid #ffffff;
    padding: 10px;
    font-size: 13px;
    transition: 0.3s ease;
  }

  .border-box:hover {
    background-color: #002e5a;
  }

 .profile-card {
      background: url('../img/bg1.jpg') no-repeat center center;
      background-size: cover;
      color: #fff; /* Make text readable on background */
      position: relative;
      overflow: hidden;
    }

    .profile-overlay {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background: rgba(0, 0, 0, 0.5); /* darken background */
      z-index: 1;
    }

    .profile-content {
      position: relative;
      z-index: 2;
    }


    .bottom-nav a {
    flex: 1;
    padding: 10px 0;
    font-size: 1rem;
    color: #343a40;
    transition: background-color 0.2s ease-in-out, color 0.2s;
}

.bottom-nav a:hover {
    background-color: #f1f1f1;
}

.bottom-nav a.active {
    color: #ffc107;;
}

.bottom-nav i {
    font-size: 1.7rem;  /* Increased icon size */
    line-height: 1.6;
}

.bottom-nav small {
    font-size: 0.85rem; /* Increased text size */
}


.bottom-nav.compact {
    padding: 4px 2px;
}

/* TIGHTER ITEMS */
.bottom-nav.compact .nav-item {
    font-size: 9px;
    padding: 4px 0;
}

.bottom-nav.compact .nav-item i {
    font-size: 16px;
    margin-bottom: 1px;
}

.bottom-nav.compact .nav-item span {
    font-size: 9px;
}

/* SMALLER CENTER BUTTON */
.bottom-nav.compact .nav-center {
    top: -16px;
}

.bottom-nav.compact .nav-center a {
    width: 42px;
    height: 42px;
    font-size: 20px;
}

/* REMOVE EXTRA SHADOW FOR LIGHTER UI */
.bottom-nav.compact {
    box-shadow: 0 -2px 8px rgba(0,0,0,0.25);
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}
/* Glass effect for modal */
.glass-modal {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Gradient buttons */
.btn-gradient-success {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
}

.btn-gradient-info {
  background: linear-gradient(135deg, #0088cc, #1c9ed9);
  color: #fff;
}

.btn-gradient-success:hover,
.btn-gradient-info:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Glass-style buttons */
.btn-glass {
  border: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Close button outline */
.btn-outline-danger {
  color: #dc3545;
  border: 2px solid #dc3545;
  background-color: transparent;
}
.btn-outline-danger:hover {
  background-color: #dc3545;
  color: white;
}

/* Install Banner Styles */
#installBanner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  background: #07204a;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s ease;
  border-radius: 0 0 10px 10px;
}

/* Desktop: top position */
#installBanner.top {
  top: -80px;
}
#installBanner.top.show {
  top: 0;
  opacity: 1;
}

/* Mobile: bottom position */
@media (max-width: 768px) {
  #installBanner {
    bottom: -80px;
    border-radius: 10px 10px 0 0;
  }
  #installBanner.show {
    bottom: 0;
    opacity: 1;
  }
}

#installBanner button {
  background: #fff;
  color: #07204a;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}
#installBanner button:hover {
  background: #f0f0f0;
}




.bursary-card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.bursary-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.bursary-card .card-title {
    line-height: 1.4;
}

.bursary-card .badge {
    font-size: 13px;
}



/* Base badge */
.agent-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.agent-badge i {
    font-size: 13px;
}

/* 🔥 Rank styles */

/* CEO (Gold premium) */
.badge-ceo {
    background: linear-gradient(45deg, #FFD700, #FFB300);
    color: #000;
}

/* VP (Royal blue) */
.badge-vp {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
}

/* Director (Purple) */
.badge-director {
    background: linear-gradient(45deg, #6a11cb, #2575fc);
}

/* Senior Manager (Silver) */
.badge-senior {
    background: linear-gradient(45deg, #bdc3c7, #2c3e50);
}

/* Manager (Green) */
.badge-manager {
    background: linear-gradient(45deg, #11998e, #38ef7d);
}

/* Team Lead (Teal) */
.badge-team {
    background: linear-gradient(45deg, #00c6ff, #0072ff);
}

/* Staff (Orange) */
.badge-staff {
    background: linear-gradient(45deg, #f7971e, #ffd200);
    color: #000;
}

/* Junior (Gray) */
.badge-junior {
    background: linear-gradient(45deg, #757f9a, #d7dde8);
    color: #000;
}

/* Basic */
.badge-basic {
    background: linear-gradient(45deg, #232526, #414345);
}