body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f6f9;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  background: linear-gradient(135deg, #1f2d3d, #2f4f6f);
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* LEFT */
.nav-left {
  display: flex;
  align-items: center;
  gap: 25px;
}


.dropdown {
  display: none;
  position: absolute;
  right: 0;
  background: white;
  color: black;
  padding: 10px;
  border-radius: 5px;
}



.dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 45px;
  background: white;
  color: black;
  padding: 10px;
  border-radius: 6px;
  min-width: 200px;
}

.dropdown.show {
  display: block;
}



/* PROFILE CIRCLE */
.profile-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CAF50, #2ecc71);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* BIG CIRCLE */
.profile-circle.big {
  width: 50px;
  height: 50px;
}
/* DROPDOWN */
.dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 50px;

   background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);       /* glass effect */

  color: white;
  padding: 12px;
  border-radius: 10px;
  min-width: 230px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 9999;
}

.dropdown.show {
  display: block;
}

/* HEADER */
.dropdown-header {
  display: flex;
  align-items: center;
}

.dropdown p {
  margin: 6px 0;
}

.dropdown button {
  width: 100%;
  padding: 8px;
  background: red;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}
.dropdown p,
.dropdown small {
  color: white;
}

.dropdown hr {
  border-color: rgba(255,255,255,0.3);
}

/* NAV LEFT WRAPPER */
.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* BRAND */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

/* COMPANY TEXT */
.company-name {
  display: flex;
  flex-direction: column;
}

.company-name span {
  font-weight: bold;
  font-size: 14px;
}

.company-name small {
  font-size: 11px;
  color: #ccc;
}

/* NAV LINKS CONTAINER */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* NAV ITEM */
.nav-item {

  position: relative;

  display: flex;
  align-items: center;
  gap: 6px;

  color: #dcdcdc;
  text-decoration: none;

  font-size: 14px;
  font-weight: 600;

  padding: 6px 10px;

  border-radius: 6px;

  transition: all 0.25s ease;
}

/* ICON */
.nav-item i {
  font-size: 13px;
}

/* HOVER EFFECT */
.nav-item:hover {
  background: rgba(255,255,255,0.08);
  color: #4CAF50;
  transform: translateY(-1px);
}

/* ACTIVE TAB */
.nav-item.active {
  background: rgba(76, 175, 80, 0.15);
  color: #4CAF50;
}

/* UNDERLINE EFFECT */
.nav-item::after {

  content: "";

  position: absolute;

  left: 10%;
  bottom: -6px;

  width: 0%;
  height: 2px;

  background: #4CAF50;

  transition: 0.25s ease;
}

/* HOVER */
.nav-item:hover::after {

  width: 80%;
}

/* ACTIVE */
.nav-item.active::after {

  width: 80%;
}

/* RIGHT */
.nav-right {
  display: flex;
  align-items: center;
}
/* USER MENU */
.user-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
}

/* ========================= */
/* EXPIRED OVERLAY */
/* ========================= */

#expiredOverlay {

  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background:
    rgba(0,0,0,0.93);

  z-index: 999999;

  display: flex;

  justify-content: center;

  align-items: center;
}

.expired-box {

  background: white;

  padding: 40px;

  border-radius: 20px;

  width: 420px;

  text-align: center;
}

.expired-box h1 {

  color: red;

  margin-bottom: 10px;
}

.expired-box p {

  color: #666;

  margin-bottom: 25px;
}

.expired-box button {

  border: none;

  background: #2ecc71;

  color: white;

  padding: 12px 24px;

  border-radius: 10px;

  cursor: pointer;

  font-size: 16px;
}
/* =========================
   TOAST
========================= */

.toast {

  position: fixed;

  top: 20px;

  right: 20px;

  background: #222;

  color: #fff;

  padding: 14px 20px;

  border-radius: 10px;

  font-size: 14px;

  z-index: 999999;

  opacity: 0;

  transform: translateY(-20px);

  transition: all 0.3s ease;
}

.toast.show {

  opacity: 1;

  transform: translateY(0);
}

.toast.success {

  background: #28a745;
}

.toast.error {

  background: #dc3545;
}

/* ==========================================================================
   MOBILE & RESPONSIVE GLOBAL SHELL OVERRIDES (<= 768px)
   ========================================================================== */

/* Hamburger Toggle Button */
.nav-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  outline: none;
}

.nav-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-btn i {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  /* Toggle visibility of toggle button */
  .nav-toggle-btn {
    display: flex;
  }

  .navbar {
    padding: 8px 16px;
  }

  .nav-left {
    gap: 12px;
  }

  .logo {
    width: 34px;
    height: 34px;
    border-radius: 6px;
  }

  .company-name span {
    font-size: 13px;
  }

  .company-name small {
    font-size: 9px;
    display: none; /* Hide tagline to avoid mobile clutter */
  }

  /* Sliding Side Drawer Navigation */
  .nav-links {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 18px 30px 18px;
    gap: 10px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.45);
  }

  .nav-links.show {
    left: 0;
  }

  .nav-item {
    font-size: 14px;
    font-weight: 550;
    padding: 12px 16px;
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
  }

  .nav-item::after {
    display: none !important; /* Disable desk underline */
  }

  .nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #4CAF50;
    transform: none;
  }

  .nav-item.active {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
  }

  /* User Circle adjustments */
  .user-menu {
    gap: 4px;
  }

  #userName {
    display: none; /* Hide name string next to profile icon */
  }

  .profile-circle {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .dropdown {
    top: 48px;
    right: -8px;
    min-width: 220px;
    padding: 12px;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Software Expired overlays */
  .expired-box {
    width: 88%;
    max-width: 380px;
    padding: 28px 20px;
    border-radius: 16px;
  }
}