*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body{
    background: #f4f7fb;
    overflow-x: hidden;
}

/* =========================
   NAVBAR
========================= */
.navbar{
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 40px;

    background: rgba(255,255,255,0.92);

    backdrop-filter: blur(14px);

    box-shadow:
    0 8px 25px rgba(0,0,0,0.05);

    border-bottom:
    1px solid rgba(255,255,255,0.4);
}

/* =========================
   LOGO
========================= */
.logo img{
    height: 65px;
    width: auto;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo img:hover{
    transform: scale(1.08);
}

/* =========================
   NAVIGATION LINKS
========================= */
.nav-links{
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
    background: white;
    padding: 12px 22px;
    border-radius: 60px;
    box-shadow:
    0 6px 22px rgba(0,0,0,0.06);
}

/* =========================
   NAV ITEM
========================= */
.nav-item{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* LINK */
.nav-item a{
    text-decoration: none;
    color: #1c2b4a;
    font-size: 15px;
    font-weight: 500;
}

/* HOVER */
.nav-item:hover{
    background: #eef4ff;
    transform: translateY(-2px);
}

/* ACTIVE */
.nav-item.active{
    background: linear-gradient(
        135deg,
        #2c6cff,
        #1746b5
    );
    color: white;
    box-shadow: 0 10px 20px rgba(44,108,255,0.25);
}

.nav-item.active a{
    color: white;
}

/* =========================
   RIGHT SECTION
========================= */
.nav-right{
    display: flex;
    align-items: center;
    gap: 16px;
}

/* =========================
   ICON AREA
========================= */
.nav-icons{
    display: flex;
    align-items: center;
    gap: 12px;
}

/* =========================
   ICON BUTTON
========================= */
.icon-btn{
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: white;
    color: #0b1f3a;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow:
    0 5px 18px rgba(0,0,0,0.08);
}

/* HOVER */
.icon-btn:hover{
    background: #0b1f3a;
    color: white;
    transform:
    translateY(-2px)
    scale(1.05);
}

/* SIDEBAR */
.sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 260px;
    height: 100%;
    background: #0b2f5b;
    color: white;
    transition: 0.3s;
    z-index: 5000;
    padding: 20px;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

#sidebar-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 4000;
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* PROFILE */
.sidebar-profile {
    text-align: center;
    margin: 20px 0;
}

.sidebar-profile i {
    font-size: 50px;
    margin-bottom: 10px;
}

.sidebar-btn {
    display: block;
    margin: 8px 0;
    padding: 8px;
    background: white;
    color: #0b2f5b;
    border-radius: 20px;
    text-decoration: none;
}

.logout {
    background: #ff4d4d;
    color: white;
}

/* LINKS */
.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    margin: 12px 0;
}

.sidebar-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* =========================
   PREMIUM BREADCRUMB
========================= */
.breadcrumb{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 28px 40px 20px;
    padding: 14px 24px;
    background: #ffffff;
    border-radius: 50px;
    border: 1px solid rgba(44,108,255,0.08);
    box-shadow:
    0 8px 24px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}

/* TOP BORDER EFFECT */
.breadcrumb::before{
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    width: 60px;
    height: 3px;
    border-radius: 20px;
    background:
    linear-gradient(
        90deg,
        #2c6cff,
        #5b8cff
    );
}

/* LINKS */
.breadcrumb a{
    text-decoration: none;
    color: #4b5d7a;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

/* HOVER */
.breadcrumb a:hover{
    color: #2c6cff;
}

/* SEPARATOR */
.breadcrumb-separator{
    color: #98a5bd;
    font-size: 16px;
    font-weight: 700;
}

/* CURRENT */
.breadcrumb-current{
    color: #2c6cff;
    font-size: 14px;
    font-weight: 700;
}

/* =========================================================
FLOATING CHATBOT
========================================================= */
.npcpl-chat-wrapper {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99990;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

/* CHAT BUTTON */
#chat-toggle {
    min-width: 62px;
    height: 62px;
    padding: 0 20px;
    position: relative;
    border: 0;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background:
        linear-gradient(
            135deg,
            #0b2f5b,
            #1f5ca8
        );

    color: #ffffff;
    font: inherit;
    font-size: 19px;
    font-weight: 800;
    cursor: pointer;
    pointer-events: auto;
    box-shadow:
        0 16px 38px rgba(11, 47, 91, 0.32);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

#chat-toggle:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 45px rgba(11, 47, 91, 0.4);
}

.chat-toggle-text {
    font-size: 12px;
}

.chat-online-dot {
    width: 11px;
    height: 11px;
    position: absolute;
    top: 3px;
    right: 5px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #22c55e;
}

/* CHAT WINDOW */
#chatbot-box {
    width: min(370px, calc(100vw - 30px));
    height: min(540px, calc(100vh - 125px));
    position: absolute;
    right: 0;
    bottom: 76px;
    border: 1px solid rgba(11, 47, 91, 0.12);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(18px) scale(0.96);
    transform-origin: bottom right;

    box-shadow:
        0 28px 75px rgba(7, 30, 58, 0.28);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

#chatbot-box.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* CHAT HEADER */
.chat-header {
    min-height: 74px;
    padding: 14px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background:
        linear-gradient(
            120deg,
            #082b54,
            #124f8c
        );
    color: #ffffff;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 11px;
}

.chat-assistant-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 18px;
}

.chat-header-left > div {
    display: flex;
    flex-direction: column;
}

.chat-header-left strong {
    font-size: 14px;
}

.chat-header-left small {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 9px;
}

.chat-header-left small span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
}

.chat-close-button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.11);
    color: #ffffff;
    cursor: pointer;
}

.chat-close-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* CHAT MESSAGES */
#chat-messages {
    flex: 1;
    padding: 17px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    overflow-y: auto;
    background:
        linear-gradient(
            180deg,
            #f6f9fc,
            #ffffff
        );
    scrollbar-width: thin;
}

.user-msg,
.bot-msg {
    max-width: 88%;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.bot-msg {
    align-self: flex-start;
}

.user-msg {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message-avatar {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: #0b2f5b;
    color: #ffffff;
    font-size: 11px;
}

.user-msg .chat-message-avatar {
    background: #2c6cff;
}

.chat-message-content {
    padding: 11px 13px;
    border-radius: 14px 14px 14px 4px;
    background: #ffffff;
    color: #35485d;
    font-size: 12px;
    line-height: 1.65;
    box-shadow: 0 5px 18px rgba(11, 47, 91, 0.08);
}

.user-msg .chat-message-content {
    border-radius: 14px 14px 4px 14px;
    background: #2c6cff;
    color: #ffffff;
}

.chat-message-content a {
    display: inline-block;
    margin-top: 7px;
    color: inherit;
    font-weight: 800;
}

/* QUICK ACTIONS */
.chat-quick-actions {
    padding: 10px 13px;
    border-top: 1px solid #e8eef5;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    background: #ffffff;
}

.chat-quick-actions button {
    padding: 8px 11px;
    border: 1px solid #dce5ef;
    border-radius: 25px;
    background: #f8fafc;
    color: #0b2f5b;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.chat-quick-actions button:hover {
    border-color: #2c6cff;
    background: #eef4ff;
}

/* CHAT INPUT */
.chat-input {
    min-height: 67px;
    padding: 10px 11px;
    border-top: 1px solid #e8eef5;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #ffffff;
}

.chat-input input {
    width: 100%;
    height: 44px;
    min-width: 0;
    padding: 0 14px;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    outline: 0;
    background: #f8fafc;
    color: #24364b;
    font: inherit;
    font-size: 12px;
}

.chat-input input:focus {
    border-color: #2c6cff;
    box-shadow: 0 0 0 3px rgba(44, 108, 255, 0.1);
}

.chat-input button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #0b2f5b;
    color: #ffffff;
    cursor: pointer;
}

.chat-input button:hover {
    background: #2c6cff;
}

/* MOBILE */
@media(max-width:768px){
    .breadcrumb{
        margin: 18px 16px 10px;
        padding: 12px 18px;
        border-radius: 18px;
    }

    .breadcrumb a,
    .breadcrumb-current{
        font-size: 13px;
    }
}

/* =========================
   SEARCH BOX
========================= */
.search-box {
    width: min(430px, calc(100vw - 32px));
    position: absolute;
    top: calc(100% + 14px);
    right: 115px;
    z-index: 3500;
    padding: 12px;
    border: 1px solid rgba(11, 47, 91, 0.12);
    border-radius: 18px;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-12px) scale(0.97);
    transform-origin: top right;

    box-shadow: 0 22px 55px rgba(11, 47, 91, 0.18);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.search-box.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.search-input-row {
    height: 52px;

    padding: 0 10px 0 17px;

    border: 1px solid #dce5ef;
    border-radius: 13px;

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

    background: #f8fafc;
}

.search-input-row > i {
    color: #2c6cff;
    font-size: 15px;
}

.search-input-row input {
    width: 100%;
    min-width: 0;
    height: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: #14243d;
    font: inherit;
    font-size: 14px;
}

.search-input-row input::placeholder {
    color: #8a99ab;
}

.search-close-btn {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    border: 0;
    border-radius: 9px;

    display: grid;
    place-items: center;

    background: #eaf0f7;
    color: #0b2f5b;

    cursor: pointer;
}

.search-results {
    max-height: 340px;
    margin-top: 10px;
    overflow-y: auto;
}

.search-hint,
.search-empty {
    margin: 0;
    padding: 18px 14px;

    color: #728196;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.search-result-item {
    width: 100%;
    padding: 12px;

    border: 0;
    border-radius: 11px;

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

    background: transparent;
    color: #172b46;

    text-align: left;
    text-decoration: none;

    cursor: pointer;

    transition: 0.2s ease;
}

.search-result-item:hover,
.search-result-item.keyboard-active {
    background: #eef4ff;
}

.search-result-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;

    border-radius: 10px;

    display: grid;
    place-items: center;

    background: #eaf0ff;
    color: #2c6cff;
}

.search-result-content {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-result-content strong {
    color: #0b2f5b;
    font-size: 13px;
}

.search-result-content small {
    margin-top: 3px;
    color: #78879a;
    font-size: 10px;
}

.search-result-arrow {
    color: #a0adbc;
    font-size: 11px;
}

/* =========================
   GET QUOTE BUTTON
========================= */
.quote-btn{
    background: linear-gradient(
        135deg,
        #ff4d4d,
        #d62828
    );
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow:
    0 10px 24px rgba(255,77,77,0.25);
}

/* HOVER */
.quote-btn:hover{
    transform: translateY(-3px);
    box-shadow:
    0 14px 30px rgba(255,77,77,0.35);
}

/* =========================
   HAMBURGER
========================= */
.hamburger{
    display: none;
    font-size: 24px;
    color: #0b1f3a;
    cursor: pointer;
}
/* SIDEBAR */
.nav-links{
    background:
    linear-gradient(
        180deg,
        #ffffff,
        #f8fbff
    );
    border-right:
    1px solid rgba(0,0,0,0.06);
    box-shadow:
    10px 0 30px rgba(0,0,0,0.08);
}

/* =========================
   OVERLAY
========================= */
.overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 998;
}

.overlay.active{
    opacity: 1;
    visibility: visible;
}

/* =======================
   Footer Section 
=======================*/
.footer {
  background: #0b1f3a;
  color: #fff;
  margin-top: 60px;
  padding-top: 60px;
}

/* GRID */
.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr 1.5fr;
  gap: 40px;
  padding: 0 60px 40px;
}

/* LOGO */
.footer-logo {
  height: 55px;
  margin-bottom: 15px;
}

/* TEXT */
.footer-section p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
}

/* HEADINGS */
.footer-section h4 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

/* LINKS */
.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  text-decoration: none;
  color: #cbd5e1;
  font-size: 14px;
  transition: 0.3s;
}

.footer-section a:hover {
  color: #2c6cff;
  padding-left: 5px;
  transform: translateX(-3px);
}

/* ICON LINKS */
.footer-section i {
  margin-right: 8px;
  font-size: 13px;
}

/* SOCIAL */
.social-icons {
  margin-top: 15px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  margin-right: 12px;
  font-size: 20px;
  color: white;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #2c6cff;
  transform: translateY(-3px);
}

/* CONTACT */
.footer address {
  font-style: normal;
}

.footer address p {
  margin-bottom: 10px;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  padding: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: #aaa;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media(max-width: 992px){
    .navbar{
        padding: 16px 20px;
    }
    .hamburger{
        display: block;
        z-index: 1001;
    }
    .nav-links{
        position: fixed;
        top: 0;
        left: -280px;
        width: 260px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        background: white;
        padding: 100px 20px;
        border-radius: 0;
        transition: 0.4s ease;
        z-index: 999;
    }

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

    .nav-item{
        width: 100%;
    }

    .quote-btn{
        padding: 10px 18px;        
        font-size: 13px;
        border-radius: 40px;
    }

    .logo img{
        height: 48px;
    }

    .footer-container {
      grid-template-columns: repeat(2, 1fr);
    }
}

/* Role Badges */
.role-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.role-admin { background: #ffd700; color: #000; }    /* Gold */
.role-employee { background: #2c6cff; color: #fff; } /* Royal Blue */

/* Dashboard Cards */
.stat-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s ease; /* cite: 27 */
}

.stat-card:hover {
    transform: translateY(-5px); /* cite: 27 */
}
/* =========================
   SMALL MOBILE
========================= */
@media(max-width: 576px){

    .navbar{
        padding: 14px 14px;
    }

    .nav-right{
        gap: 10px;
    }

    .icon-btn{
        width: 46px;
        height: 46px;

        font-size: 16px;
    }

    .nav-links{
        width: 240px;
    }

    .search-box{
        right: 10px;
    }

    .search-box input{
        width: 150px;
    }

    .quote-btn{
        padding: 10px 14px;        
        font-size: 12px;
        border-radius: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
       text-align: center;
    }

}

/* =========================================================
SEARCH AND CHAT RESPONSIVE
========================================================= */
@media (max-width: 992px) {
    .search-box {
        top: calc(100% + 10px);
        right: 18px;
    }
}


@media (max-width: 576px) {
    .search-box {
        width: calc(100vw - 24px);
        right: 12px;
    }

    .npcpl-chat-wrapper {
        right: 12px;
        bottom: 12px;
    }

    #chat-toggle {
        width: 56px;
        min-width: 56px;
        height: 56px;
        padding: 0;
        border-radius: 50%;
    }

    .chat-toggle-text {
        display: none;
    }

    #chatbot-box {
        width: calc(100vw - 24px);
        height: min(520px, calc(100dvh - 95px));
        right: 0;
        bottom: 68px;
        border-radius: 17px;
    }
}

@media (max-height: 650px) {
    #chatbot-box {
        height: calc(100dvh - 95px);
    }
}