/* _content/HR.Web.Admin.Blazor/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-s3bpzygmn8] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-s3bpzygmn8] {
    flex: 1;
}

.sidebar[b-s3bpzygmn8] {
  /* Use the variable with your blue gradient as the default fallback */
  background-image: var(--sidebar-bg, linear-gradient(180deg, rgb(34,34, 64) 50%, #282842 100%));
}

.top-row[b-s3bpzygmn8] {
  /* Use the header variable with #f7f7f7 as fallback */
  background-color: var(--bg-header, #f7f7f7) !important;
  border-bottom: 1px solid var(--border, #d6d5d5) !important;
  justify-content: flex-end;
  height: 3.5rem;
  display: flex;
  align-items: center;
}

    .top-row[b-s3bpzygmn8]  a, .top-row[b-s3bpzygmn8]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-s3bpzygmn8]  a:hover, .top-row[b-s3bpzygmn8]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-s3bpzygmn8]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-s3bpzygmn8] {
        justify-content: space-between;
    }

    .top-row[b-s3bpzygmn8]  a, .top-row[b-s3bpzygmn8]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-s3bpzygmn8] {
        flex-direction: row;
    }

    .sidebar[b-s3bpzygmn8] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-s3bpzygmn8] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-s3bpzygmn8]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-s3bpzygmn8], article[b-s3bpzygmn8] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* MOBILE + TABLET: hide sidebar, show only when hamburger is clicked */
@media (max-width: 991.98px) {

  /* Page becomes single column */
  .page[b-s3bpzygmn8] {
    display: block !important;
    flex-direction: column !important;
  }

  /* Sidebar becomes off-canvas drawer */
  .sidebar[b-s3bpzygmn8] {
    position: fixed !important;
    top: 0;
    left: -250px !important; /* hidden by default */
    width: 250px;
    height: 100vh;
    background: var(--prox-card-bg);
    box-shadow: 2px 0 10px rgba(0,0,0,0.25);
    transition: left .3s ease;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
    .sidebar *:first-child[b-s3bpzygmn8] {
      margin-top: 0 !important;
      padding-top: 0 !important;
    }

    .sidebar .nav-header[b-s3bpzygmn8],
    .sidebar .logo-container[b-s3bpzygmn8],
    .sidebar .menu-section[b-s3bpzygmn8] {
      margin-top: 0 !important;
      padding-top: 0 !important;
    }




  /* Backdrop overlay for mobile sidebar */
  .sidebar-backdrop[b-s3bpzygmn8] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 9998;
  }

    .sidebar-backdrop.show[b-s3bpzygmn8] {
      opacity: 1;
      pointer-events: auto;
    }

    .sidebar.open[b-s3bpzygmn8] {
      left: 0 !important;
    }

  /* Main content full width */
  main[b-s3bpzygmn8] {
    margin-left: 0 !important;
    width: 100% !important;
  }
}
#blazor-error-ui[b-s3bpzygmn8] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-s3bpzygmn8] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* --- 1. Header and Brand Styling --- */

/* Replace the old .top-row styling */
/* --- 1. Title Size Adjustment --- */
.brand-large[b-s3bpzygmn8] {
  /* Significantly larger title */
  font-size: 2.2rem !important;
  font-weight: 900;
}

/* Specific styling for the HR Master ProX title (keep the color) */
.navbar-brand-custom[b-s3bpzygmn8] {
  color: var(--brand-title) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* --- 2. New Icon & User Styling --- */

/* Color for the User Icon (using the brand's primary color) */
.user-icon-color[b-s3bpzygmn8] {
  color: rgb(12, 14, 120);
}

/* Styling for the Settings Cog Icon */
.settings-icon[b-s3bpzygmn8] {
  /* Make the icon match the user icon's color */
  color: #555;
  transition: color 0.2s ease;
}

  .settings-icon:hover[b-s3bpzygmn8] {
    color: rgb(12, 14, 120); /* Change color on hover */
  }

/* Keep User Info Styling the same */
.logged-in-user-name[b-s3bpzygmn8] {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  /* Removed margin-right as Logout is now separate */
}


/* --- 3. Logout Text Size Adjustment --- */

/* Ensure the component renders inline with minimal spacing */
.logout-container[b-s3bpzygmn8] {
  display: flex; /* Ensures the Logout component is aligned */
  align-items: center;
  margin-left: 1rem;
}

  /* Force the button/link inside the Logout component to be small and inline */
  .logout-container a[b-s3bpzygmn8],
  .logout-container button[b-s3bpzygmn8] {
    display: flex;
    align-items: center;
    padding: 0.3rem 0.8rem; /* Small padding */
    font-size: 0.8rem; /* Smaller font size */
    white-space: nowrap; /* Prevents text from wrapping to two lines */
    /* Keep colors for visibility */
    color: #fff;
    background-color: rgb(12, 14, 120);
    border-radius: 0.3rem;
    text-decoration: none;
    border: none;
  }

    .logout-container a:hover[b-s3bpzygmn8],
    .logout-container button:hover[b-s3bpzygmn8] {
      background-color: #0366e9; /* Slightly different shade on hover */
      text-decoration: none;
    }
.logged-in-user-name[b-s3bpzygmn8], .navbar-brand-custom[b-s3bpzygmn8] {
  color: var(--text-main) !important;
}
    /* End of HR.Web.Admin.Blazor/Components/Layout/MainLayout.razor.css */

    /*=======NOTIFICATION DROP DOWN=================*/
/* Notification Dropdown */
.notif-dropdown[b-s3bpzygmn8] {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px;
  z-index: 9999;
  overflow: hidden;
  animation: notifFadeIn-b-s3bpzygmn8 .15s ease;
}

@keyframes notifFadeIn-b-s3bpzygmn8 {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notif-header[b-s3bpzygmn8] {
  background: #f8f9fa;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: .9rem;
}

.notif-body[b-s3bpzygmn8] {
  max-height: 340px;
  overflow-y: auto;
}

.notif-item[b-s3bpzygmn8] {
  color: #333;
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: background .15s;
}

  .notif-item:hover[b-s3bpzygmn8] {
    background: #f0f4ff;
  }

.notif-icon[b-s3bpzygmn8] {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .75rem;
}

.icon-leave[b-s3bpzygmn8] {
  background: #dff0d8;
  color: #3c763d;
}

.icon-advance[b-s3bpzygmn8] {
  background: #d9edf7;
  color: #31708f;
}

.icon-job[b-s3bpzygmn8] {
  background: #f2dede;
  color: #a94442;
}

.icon-default[b-s3bpzygmn8] {
  background: #f5f5f5;
  color: #777;
}

.notif-dot[b-s3bpzygmn8] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0d6efd;
  flex-shrink: 0;
}

.notif-footer a:hover[b-s3bpzygmn8] {
  text-decoration: underline;
}
/* _content/HR.Web.Admin.Blazor/Components/Layout/NavMenu.razor.rz.scp.css */
/* ===============================
   HR PRO MAX MODERN SIDEBAR (Hover + Click)
================================= */

/* ---------------------------
   SIDEBAR CONTAINER
--------------------------- */
.nav-scrollable[b-i24x7elzpb] {
  background: linear-gradient(180deg, #0f172a 0%, #111827 60%, #222240 100%);
  padding: 1rem 0.75rem;
  border-right: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.03);
  scroll-behavior: smooth;
  height: calc(100vh - 65px);
  overflow-y: auto;
}

/* ---------------------------
   TOP ROW / LOGO
--------------------------- */
.top-row[b-i24x7elzpb] {
  height: 65px;
  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ---------------------------
   TOGGLER
--------------------------- */
.navbar-toggler[b-i24x7elzpb] {
  appearance: none;
  cursor: pointer;
  width: 3.1rem;
  height: 2.4rem;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.1);
  background-color: rgba(255,255,255,0.05);
  transition: all 0.2s ease;
}

  .navbar-toggler:hover[b-i24x7elzpb] {
    background-color: rgba(255,255,255,0.12);
  }

  .navbar-toggler:checked[b-i24x7elzpb] {
    transform: rotate(90deg);
    background-color: rgba(14,165,233,0.15);
  }

/* ---------------------------
   NAV ITEMS
--------------------------- */
.nav-item[b-i24x7elzpb] {
  margin-bottom: 6px;
  position: relative;
  transition: all 0.25s ease;
}

  /* NAV LINKS */
  .nav-item[b-i24x7elzpb]  .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
  }

    /* HOVER EFFECT */
    .nav-item[b-i24x7elzpb]  .nav-link:hover {
      background: rgba(255,255,255,0.06);
      color: #ffffff;
      transform: translateX(6px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    }

  /* ACTIVE LINK */
  .nav-item[b-i24x7elzpb]  a.active {
    background: linear-gradient(135deg, #0ea5e9, #14A5B8);
    color: #ffffff !important;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(14,165,233,0.15), 0 0 0 1px rgba(255,255,255,0.04) inset;
    transform: translateX(4px);
    font-weight: 600;
    padding: 12px 14px;
    left: -4px;
  }

  /* LEFT ACTIVE INDICATOR */
  .nav-item[b-i24x7elzpb]  .nav-link::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 4px;
    height: 60%;
    border-radius: 4px;
    background: linear-gradient(#0ea5e9, #14b8a6);
    transition: transform 0.25s ease;
  }
  .nav-item[b-i24x7elzpb]  .nav-link {
    padding-left: 5px; /* adjust so indicator fits */
  }
  .nav-item[b-i24x7elzpb]  .nav-link:hover::before,
  .nav-item[b-i24x7elzpb]  a.active::before {
    transform: translateY(-50%) scaleY(1);
  }

/* ---------------------------
   ICONS
--------------------------- */
.bi[b-i24x7elzpb] {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}

.nav-item:hover .bi[b-i24x7elzpb] {
  transform: scale(1.15);
  opacity: 1;
}

/* ---------------------------
   SUBMENU (Hover + Click)
--------------------------- */
.submenu[b-i24x7elzpb] {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;
  transition: all 0.35s ease;
  margin-left: 0.5rem;
}

  /* CLICK TO EXPAND */
  .submenu.expanded[b-i24x7elzpb] {
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);
  }

/* HOVER TO EXPAND */
.nav-item:hover > .submenu[b-i24x7elzpb] {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}

/* SUBMENU LINKS */
.submenu .nav-link[b-i24x7elzpb] {
  padding: 8px 16px 8px 42px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  border-radius: 10px;
  transition: all 0.25s ease;
}

  .submenu .nav-link:hover[b-i24x7elzpb] {
    color: #ffffff;
    background-color: rgba(255,255,255,0.08);
    transform: translateX(4px);
  }

/* ---------------------------
   CHEVRON
--------------------------- */
.chevron[b-i24x7elzpb] {
  margin-left: auto;
  transition: transform 0.3s ease;
}

/* Rotate only when submenu expanded or hover */
.nav-item.expanded .chevron[b-i24x7elzpb],
.nav-item:hover .chevron[b-i24x7elzpb] {
  transform: rotate(180deg);
}

/* ---------------------------
   BUTTON PRESS FEEDBACK
--------------------------- */
.nav-item[b-i24x7elzpb]  .nav-link:active {
  transform: scale(0.97);
}

/* ---------------------------
   BADGE PULSE
--------------------------- */
.pulse-animation[b-i24x7elzpb] {
  animation: pulse-red-b-i24x7elzpb 2s infinite;
  font-size: 0.7rem;
  padding: 0.35em 0.65em;
}

@keyframes pulse-red-b-i24x7elzpb {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(220,53,69,0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(220,53,69,0);
  }
}

/* ---------------------------
   SCROLLBAR HIDING
--------------------------- */
.nav-scrollable[b-i24x7elzpb] {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

  .nav-scrollable[b-i24x7elzpb]::-webkit-scrollbar {
    display: none;
  }

/* ---------------------------
   RESPONSIVE
--------------------------- */
@media (min-width: 641px) {
  .navbar-toggler[b-i24x7elzpb] {
    display: none;
  }

  .nav-scrollable[b-i24x7elzpb] {
    display: block;
  }
}
