  .my-navbar {
    width: 100%;
    height: 50px;
    flex-shrink: 0;
    border-bottom: 1.5px solid #003B59;
    background-color: #FFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 11px 20px;
    position: fixed;
    z-index: 10000 !important;
  }

  .my-navbar .logo {
    width: auto;
    height: 37px;
    flex-shrink: 0;
    background-size: contain;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .my-navbar .icons {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .my-navbar .icon-0, .my-navbar .icon-1, .my-navbar .icon-2 {
    font:24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #667085;
  }

  .my-navbar .icon-2 {
    margin-left: 6px;
  }

  .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #EE776A;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 12px;
    height: 15px;
    color: #FFF;
    font-family: Poppins;
    font-size: 8px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.48px;
    text-transform: capitalize;
    z-index: 100;
  }

  .my-navbar .dropdown img {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50%;
  }

  .my-navbar .icon-2 img {
    width: 100px !important;
    height: 28px;
    object-fit: cover;
  }

  .profile-dropdown {
    position: relative;
  }

  .profile-dropdown img {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50%;
    cursor: pointer;
  }

  .custom-dropdown-menu {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 23px;
    background-color: #00517B;
    padding: 0;
    border-radius: 5px;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 150px;
    z-index: 1000001;
    display: none;
  }

  .custom-dropdown-item {
    color: white;
    text-align: right;
    text-decoration: none;
    padding: 10px 15px;
    display: flex !important;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
  }

  .custom-dropdown-item:hover {
    background-color: #003B59;
    cursor: pointer;
  }

  .custom-dropdown-item span.material-symbols-outlined {
    font-size: 18px;
    color: #003B59;
  }

  .profile-dropdown .show {
    display: block;
  }

  .my-navbar .icons i {
    font-size: 24px;
    color: #003B59;
    cursor: pointer;
  }

  .my-navbar .icons img {
    width: 24px;
    height: 28px;
    object-fit: cover;
  }

  .icon-1 {
    position: relative;
  }

  .icon-1 .cart-count {
    position: absolute;
    top: 3px;
    right: 3px;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    display: none;
    z-index: 1000;
  }

  .icon-1 .has-notification {
    display: block;
    background-color: #03A1AA;
  }
.icon-0 .material-symbols-outlined{
  font-size: 24px !important;
}
  .icon-1 .material-symbols-outlined.has-notification {
    color: #03A1AA;
  }
  .icon-1 span , .nav-icon-0 span{
    font-size: 24px;
    position: relative;
    cursor: pointer;
    display: flex;
    color: #667085;
  }


  .profile-dropdown-container {
    position: relative;
  }

  .profile-dropdown-menu {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 23px;
    background-color: #00517B;
    padding: 0;
    border-radius: 5px;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 150px !important;
    z-index: 1000001;
    display: none;
  }

  .profile-dropdown-container:hover .profile-dropdown-menu {
    display: block;
  }

  .profile-dropdown-item {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease;
  }

  .profile-dropdown-item:hover {
    background-color: #003B59;
    cursor: pointer;
  }

  .profile-dropdown-item span.material-symbols-outlined {
    font-size: 18px;
    color: #003B59;
  }


  .cart-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F0F2F5;
  }
  .cart-row:last-child { border-bottom: none; }

  .cart-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .cart-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
  }

  .cart-info { min-width: 0; }

  .cart-title {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 230px;
  }


 .cart-sku {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .qty-btn {
    width: 28px;
    /*height: 28px;*/
    border-radius: 9999px;
    border: 1px solid #E5E7EB;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 18px;
    cursor: pointer;
    transition: transform .06s ease, background .15s ease, border-color .15s ease;
  }
  .qty-btn:hover {
    filter: brightness(0.97);
  }
  .qty-btn:active {
    transform: scale(.95);
  }
  .btn-inc {
    color: #10B981;
    border-color: #D1FAE5;
    background: #ECFDF5;
    border-right:0 !important;
    border-left:1px solid #E5E7EB !important;
  } /* + */
  .btn-dec {
    color: #EF4444;
    border-color: #FEE2E2;
    background: #FEF2F2;
  } /* - */

  .qty-input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    outline: none;
    background: transparent;
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    padding: 0;
    margin: 0;
  }


  /* Delete button */
  .cart-del-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #FEE2E2;
    background: #FFF5F5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cart-del-btn .material-symbols-outlined {
    color: #DC2626;
    font-size: 20px;
  }
  .cart-del-btn:hover {
    background: #FFE8E8;
  }
  #cartOffcanvas {
    --bs-offcanvas-width: 600px;
    max-width: 100vw;
    top: 50px !important;
  }
  /* Optional: fall back to full width on phones */
  @media (max-width: 640px){
    #cartOffcanvas {
      --bs-offcanvas-width: 100vw;
    }
  }
  #cartOffcanvas .dropdown-menu {
    min-width: 100%;
  }
  #cartOffcanvas .dropdown-menu {
    min-width: 100%;
  }
  #cartOffcanvas .upload-add-block {
    width: 100%;
  }
  #cartOffcanvas .btn-add-top-right {
    width: 100%;
  }
  .dropup .dropdown-menu {
    bottom: 100%;
    top: auto;
    margin-bottom: .5rem;
  }

/* header row */
#cartOffcanvas .cart-head{
  display:grid;
  grid-template-columns: 1fr 110px 160px 200px; /* Product | SKU | Unit Price | Qty */
  align-items:center;
  gap:12px;
  padding:10px 14px;
  background:#0B6080;           /* teal/dark blue */
  color:#fff;
  font-weight:700;
  font-size:13px;
}
#cartOffcanvas .cart-head small{
  font-weight:500;
  opacity:.9;
}

/* body rows */
#cartOffcanvas .cart-rows .cart-row{
  display:grid;
  grid-template-columns: 1fr 110px 160px 200px;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid #DDE4EA;  /* hr line */
}
#cartOffcanvas .cart-rows .cart-row:last-child{
  border-bottom:none;
}

/* product cell (thumb + texts) */
#cartOffcanvas .cart-product{
  display:flex;
  align-items:flex-start;
  gap:12px; min-width:0;
}
#cartOffcanvas .cart-thumb{
  width:48px;
  height:48px;
  border-radius:6px;
  object-fit:cover;
}
#cartOffcanvas .cart-title{
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
   overflow:hidden;
   text-overflow:ellipsis;
}
#cartOffcanvas .cart-sku{
  font-size:12px;
  color:#667085;
}

/* price cell */
#cartOffcanvas .price-cell{
  font-weight:700;
  color:#0B4F6C;
}
#cartOffcanvas .price-cell .unit{
  font-weight:600;
  color:#667085;
  margin-left:4px;
}

/* qty cell (control + red delete chip) */
#cartOffcanvas .qty-cell{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
}
#cartOffcanvas .qty-btn{
  width:26px;
  height:26px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:none;
  background:#fff;
  cursor:pointer;
  line-height:1;
  border-right:1px solid #E5E7EB;
}
#cartOffcanvas .qty-btn.btn-dec{
  border-left:0;
  border-right:1px solid #E5E7EB;
}
#cartOffcanvas .qty-btn:hover{
  background:#F3F4F6;
}
#cartOffcanvas .qty-input{
  flex:1 1 auto;
  height:26px;
  border:0;
  outline:0;
  background:#F8FAFC;
  text-align:center;
  font-weight:700;
  color:#111827;
  font-size:13px;
  font-variant-numeric: tabular-nums;
  padding:0 6px;
}
#cartOffcanvas .qty-input::-webkit-outer-spin-button,
#cartOffcanvas .qty-input::-webkit-inner-spin-button{
   -webkit-appearance:none; margin:0;
   }
#cartOffcanvas .qty-input[type=number]{
  -moz-appearance:textfield;
}

/* delete chip */
#cartOffcanvas .cart-del-btn{
  width:26px;
  height:26px;
  min-width:26px;
  border-radius:50%;
  border:1px solid #FEE2E2;
  background:#FFF5F5;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
#cartOffcanvas .cart-del-btn:hover{
  background:#FFE8E8;
}
#cartOffcanvas .cart-del-btn .material-symbols-outlined{
  color:#DC2626;
  font-size:16px;
}

/* footer buttons (colors like screenshot) */
#cartOffcanvas .btn-cart-clear{
  background:#F16657;
  color:#fff;
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
#cartOffcanvas .btn-cart-primary{
  background:#0B6080;
  color:#fff;
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

/* make dropup/menu and cart width play nice */
#cartOffcanvas{
  --bs-offcanvas-width: 600px;
  max-width:100vw; }
@media (max-width: 640px){ #cartOffcanvas{
  --bs-offcanvas-width: 100vw;
}
}

 #cartOffcanvas {
  --bs-offcanvas-width: 600px;
  max-width: 100vw;
}
  @media (max-width: 640px){ #cartOffcanvas {
    --bs-offcanvas-width: 100vw;
  }
}

  /* Footer buttons */
  .btn-cart-clear{
    background:#F16657;
    color:#fff;
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:6px;
  }
  .btn-cart-clear:hover{
    filter:brightness(.97);
  }

  /* Split drop-up coral button */
  #cart-create-dropup .esrc-btn{
    --h: 36px;
    height: var(--h);
    background:#0B4F6C;
    color:#fff;
    border:1px solid #0B4F6C;
    font-weight:600;
    border-radius:6px;
    box-shadow:0 1px 2px rgba(16,24,40,.06);
  }
  #cart-create-dropup .esrc-btn:hover{
    filter:brightness(.97);
  }
  #cart-create-dropup .esrc-btn:active{
    filter:brightness(.94);
  }

  /* make the two buttons look like one with a white divider */
  #cart-create-dropup .esrc-btn:first-child{
    border-top-right-radius:0;
    border-bottom-right-radius:0;
  }
  #cart-create-dropup .esrc-caret{
    border-top-left-radius:0;
    border-bottom-left-radius:0;
    padding:0 12px;
    border-left:1px solid rgba(255,255,255,.7);
  }
  #cart-create-dropup .esrc-caret.dropdown-toggle::after{
    display:none;
  }
  #cart-create-dropup .esrc-caret-icon{
    color:#fff;
    font-size:16px;
    line-height:1; }

  /* Make the menu fill width nicely */
  #cartOffcanvas .dropdown-menu{
    min-width:100%;
    border-radius:6px;
    box-shadow:0 4px 6px rgba(0,0,0,.1);
  }
/* ===== Cart header (inside the items area) ===== */
#cartOffcanvas .cart-list-header{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 12px; margin:0 0 6px 0;
  border-radius:10px;
  background: linear-gradient(135deg, #0B6080 0%, #0FA3D4 100%);
  color:#fff;
  box-shadow: 0 2px 6px rgba(16,24,40,.10);
}
#cartOffcanvas .cart-list-header .left{
  display:flex; align-items:center; gap:10px;
  font-weight:700;
}
#cartOffcanvas .cart-list-header .material-symbols-outlined{
  font-size:20px; color:#fff;
}
#cartOffcanvas .cart-list-header .count{
  font-weight:600; opacity:.95; font-size:13px;
}

/* ===== Product rows (list style) ===== */
#cartOffcanvas .cart-items-list{
  max-height: 100%;
  overflow-y:auto;
  scrollbar-width: thin;
}
#cartOffcanvas .cart-item{
  display:grid;
  grid-template-columns: 56px 1fr;
  gap:12px;
  padding:10px 2px;
}
#cartOffcanvas .cart-thumb{
  width:56px; height:56px; border-radius:8px; object-fit:cover; background:#F3F4F6;
}
#cartOffcanvas .cart-body{ min-width:0; }

/* title + remove chip */
#cartOffcanvas .cart-title-row{
  display:flex; align-items:flex-start; justify-content:space-between; gap:8px;
}
#cartOffcanvas .cart-title{
  font-weight:700; color:#0B4F6C;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  margin-top:2px;
}
#cartOffcanvas .cart-remove{
  width:26px; height:26px; min-width:26px; border-radius:50%;
  border:1px solid #FEE2E2; background:#FFF5F5; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
#cartOffcanvas .cart-remove:hover{ background:#FFE8E8; }
#cartOffcanvas .cart-remove .material-symbols-outlined{ color:#DC2626; font-size:16px; }

/* meta badges: SKU • Brand */
#cartOffcanvas .cart-meta{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  margin:4px 0 8px 0; color:#475467; font-size:12px;
}
#cartOffcanvas .meta-badge{
  background:#EEF6FA; color:#0B4F6C; border:1px solid #D7E9F3;
  border-radius:9999px; padding:2px 8px; font-weight:600;
}
#cartOffcanvas .meta-dot{ opacity:.5; }

/* price + qty row */
#cartOffcanvas .price-qty{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
#cartOffcanvas .price{
  font-weight:700; color:#0B4F6C; white-space:nowrap;
}
#cartOffcanvas .price .unit{ font-weight:600; color:#667085; margin-left:4px; }

/* qty control (compact 200×26 look) */
#cartOffcanvas .qty-ctrl{
  display:flex; align-items:center;
  width:120px; height:26px; background:#fff;
  border:1px solid #D0D5DD; border-radius:6px; overflow:hidden;
}
#cartOffcanvas .qty-btn{
  width:26px; height:26px; display:flex; align-items:center; justify-content:center;
  border:none; background:#fff; cursor:pointer; line-height:1;
  border-right:1px solid #E5E7EB;
}
#cartOffcanvas .qty-btn:hover{ background:#F3F4F6; }
/* HR separator */
#cartOffcanvas .cart-sep{
  border:0; border-top:1px solid #E6EEF3; margin:6px 0;
}

/* width of the offcanvas */
#cartOffcanvas{ --bs-offcanvas-width: 600px; max-width:100vw; }
@media (max-width: 640px){ #cartOffcanvas{ --bs-offcanvas-width: 100vw; } }
/* Gradient header */
#cartOffcanvas .cart-header{
  background: linear-gradient(135deg,#0B6080 0%,#0FA3D4 100%);
  color:#fff; border-bottom:none; padding:14px 16px;
}
#cartOffcanvas .btn-close-white{ filter:invert(1); opacity:.9; }
#cartOffcanvas .btn-close-white:hover{ opacity:1; }
#cartOffcanvas .cart-header-icon{ font-size:22px; color:#fff; }
#cartOffcanvas .cart-header-count{
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  color:#fff; padding:4px 10px; border-radius:9999px;
  font-weight:600; font-size:13px; white-space:nowrap;
}

/* List rows: thumb | text | qty+remove (inline, right-aligned) */
#cartOffcanvas .cart-item{
  display:grid; grid-template-columns:56px 1fr auto; gap:12px;
  padding:10px 2px;
}
#cartOffcanvas .cart-thumb{
  width:56px; height:56px; border-radius:8px; object-fit:cover; background:#F3F4F6;
}
#cartOffcanvas .cart-body{ min-width:0; }
#cartOffcanvas .cart-title{ font-weight:700; color:#0B4F6C; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#cartOffcanvas .cart-meta{ display:flex; gap:10px; flex-wrap:wrap; margin:4px 0 8px 0; color:#475467; font-size:12px; }
#cartOffcanvas .meta-badge{ background:#EEF6FA; color:#0B4F6C; border:1px solid #D7E9F3; border-radius:9999px; padding:2px 8px; font-weight:600; }
#cartOffcanvas .price{ font-weight:700; color:#0B4F6C; white-space:nowrap; }
#cartOffcanvas .price .unit{ font-weight:600; color:#667085; margin-left:4px; }

/* right column with qty + remove aligned center */
#cartOffcanvas .cart-right{ display:flex; align-items:center; gap:8px; }

#cartOffcanvas .qty-btn{ width:26px; height:26px; display:flex; align-items:center; justify-content:center; border:none; background:#fff; cursor:pointer; line-height:1; border-right:1px solid #E5E7EB; }
#cartOffcanvas .qty-btn:hover{ background:#F3F4F6; }

/* remove chip */
#cartOffcanvas .cart-remove{
  width:26px; height:26px; min-width:26px; border-radius:50%;
  border:1px solid #FEE2E2; background:#FFF5F5; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
#cartOffcanvas .cart-remove:hover{ background:#FFE8E8; }
#cartOffcanvas .cart-remove .material-symbols-outlined{ color:#DC2626; font-size:16px; }

/* separators */
#cartOffcanvas .cart-sep{ border:0; border-top:1px solid #E6EEF3; margin:6px 0; }
/* one-line layout: img | info | price | qty | X */
#cartOffcanvas .cart-line{
  display:grid; align-items:center; gap:12px;
  grid-template-columns: 56px 1fr auto auto 32px;
}

/* info block: SKU above name */
#cartOffcanvas .col-info .sku-badge{
  display:inline-block; background:#EEF6FA; color:#0B4F6C;
  border:1px solid #D7E9F3; border-radius:9999px;
  padding:2px 8px; font-size:12px; font-weight:600; margin-bottom:4px;
}
#cartOffcanvas .col-info .title{
  font-weight:600; color:#0B4F6C; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

/* price block */
#cartOffcanvas .col-price{ white-space:nowrap; }
#cartOffcanvas .col-price .price{ font-weight:700; color:#0B4F6C; }
#cartOffcanvas .col-price .unit{ color:#667085; margin-left:4px; font-weight:600; }

/* remove button (same look you already use) */
#cartOffcanvas .cart-remove{
  width:26px; height:26px; border-radius:50%;
  border:1px solid #FEE2E2; background:#FFF5F5; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
#cartOffcanvas .cart-remove .material-symbols-outlined{ color:#DC2626; font-size:16px; }
#cartOffcanvas .cart-remove:hover{ background:#FFE8E8; }
#cartOffcanvas:not(.show){
  visibility: hidden !important;
  transform: translateX(100%) !important; /* for offcanvas-end */
  position: fixed !important;
  right: 0; top: 0; bottom: 0; /* ensure it’s off-screen */
}
.profile-dropdown .dropdown-menu.custom-dropdown-menu {
  background-color: #ffffff !important;
  min-width: 200px;
  z-index: 1000001;
}

/*new feature user training css*/

.book-cover {
  background: transparent;
  border: none;
  box-shadow: none;
  animation: bookOpen 0.7s ease forwards;
  height: 600px !important;
}

.book-inner {
  display: flex;
  background: linear-gradient(90deg, #fafafa 49.5%, #f7f7f7 50.5%);
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  overflow: hidden;
  perspective: 1500px;
  height: 600px;
}



.book-page {
  padding: 25px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.left-page {
  border-right: 2px solid rgba(0,0,0,0.1);
  width: 30%;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  color: #127eb5;
  border-bottom: 2px solid #127eb5;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

/* Chapter list styling */
.chapter-list {
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.module {
  margin-bottom: 15px;
}

.chapter {
  width: 100%;
  text-align: left;
  font-size: 14px;
  background: #127eb5;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s ease;
}

.chapter:hover {
  background: #0f6994;
}
.chapter .arrow-icon {
  transition: transform 0.3s ease;
}

/* Rotate arrow when expanded */
.chapter[aria-expanded="true"] .arrow-icon {
  transform: rotate(90deg);
}
/* Submodules */
.sub-list {
  margin-top: 8px;
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-item {
  background: #eaf6fb;
  color: #127eb5;
  border: none;
  text-align: left;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.sub-item:hover {
  background: #d1ecf5;
  transform: translateX(3px);
}

/* --- Right Page Redesign --- */
.right-page {
  position: relative;
  background: #fcfcfb; /* soft paper tone */
  background-image: radial-gradient(circle at 30% 30%, #ffffff 0%, #f8f8f6 100%);
  padding: 40px 10px;
  border-left: 1px solid rgba(0,0,0,0.05);
  box-shadow: inset 8px 0 10px -6px rgba(0,0,0,0.1);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow-y: hidden;
  transition: all 0.4s ease;
  animation: pageAppear 0.6s ease;
  width: 70%;
}

/* subtle 3D page lighting */
.right-page::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 30px;
  background: linear-gradient(to right, rgba(0,0,0,0.05), transparent);
  pointer-events: none;
}

/* Default placeholder (when no tutorial selected) */
.placeholder {
  text-align: center;
  margin-top: 100px;
  color: #8b8b8b;
  font-family: 'Poppins', sans-serif;
}

.placeholder h6 {
  color: #127eb5;
  font-size: 18px;
  font-weight: 600;
}

.placeholder p {
  color: #999;
  font-size: 14px;
}

/* When a tutorial is opened */
#tutorialContent h6 {
  font-weight: 700;
  color: #127eb5;
  font-size: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Video Card Container */
.video-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
  padding: 15px;
  margin-bottom: 15px;
  animation: pageTurn 0.6s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
}

.video-card iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 8px;
}

/* PDF link under the video */
.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #127eb5;
  font-weight: 500;
  margin-top: 10px;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.pdf-link:hover {
  color: #0f6994;
  text-decoration: underline;
}

/* --- Animations --- */
@keyframes pageTurn {
  from {
    transform: rotateY(-10deg);
    opacity: 0;
  }
  to {
    transform: rotateY(0deg);
    opacity: 1;
  }
}

@keyframes pageAppear {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#tutorialContent iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 10px;
  margin-bottom: 10px;
}

#tutorialContent h6 {
  font-weight: 600;
  color: #127eb5;
}

.pdf-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  color: #127eb5;
  font-weight: 500;
}

.pdf-link:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes bookOpen {
  from { transform: rotateY(80deg) scale(0.95); opacity: 0; }
  to { transform: rotateY(0deg) scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating Close Button */
.close-book-btn {
  position: absolute;
  top: 18px;
  right: 22px;
  background: salmon;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 15;
}

.close-book-btn:hover {
  background:salmon;
  transform: rotate(90deg);
}

.close-book-btn .material-symbols-outlined {
  font-size: 20px;
  color: #555;
  transition: color 0.3s ease;
}

.close-book-btn:hover .material-symbols-outlined {
  color: white;
}

.right-page {
  display: flex;

  background-color: #fcfcfc;
  padding: 20px;
  text-align: center;
}

.tutorial-placeholder h2 {
  color: #2196f3;
  font-weight: 600;
  font-size: 28px;
  margin-bottom: 10px;
}

.tutorial-placeholder p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.tutorial-icon {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tutorial-icon .material-symbols-outlined {
  font-size: 48px;
  color: #2196f3;
}

.tutorial-icon p {
  color: #999;
  font-size: 15px;
}
.video-link, .doc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 18px !important;
    color: #1b1b1b;
    text-decoration: none !important;
}

/* Hover animation — ONLY BLUE BACKGROUND */
.video-link:hover, .doc-link:hover {
    background: #eef6ff;     /* Light blue */
    border-color: #b8d8ff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
    transform: translateY(-1px);
}

/* Icon base style */
.video-link .material-symbols-outlined,
.doc-link .material-symbols-outlined {
    transition: 0.25s;
}

/* --------------------------------------------- */
/* ALWAYS-VISIBLE ARROW WITH SALMON BACKGROUND   */
/* --------------------------------------------- */

.view-arrow {
    font-size: 22px !important;
    padding: 4px 6px;
    border-radius: 50%;
    background: #fa8072;  /* salmon */
    color: white;         /* white arrow */
    transition: 0.25s ease;
}

/* Hover does NOT change arrow color/background anymore */
.video-link:hover .view-arrow,
.doc-link:hover .view-arrow {
    background: #fa8072;
    color: white;
}

.training-left-accordion .accordion-collapse {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.training-left-accordion .accordion-item {
    border: none !important;
    background: transparent !important;
}

/* Prevent Bootstrap default accordion padding */
.training-left-accordion .collapse {
    padding: 0 !important;
}
/* Remove default bootstrap accordion icon */
.custom-accordion-toggle::after {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    content: "expand_more"; /* google icon name */
    font-family: 'Material Symbols Outlined';
    background-color: salmon;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* When expanded → rotate arrow */
.custom-accordion-toggle:not(.collapsed)::after {
    transform: rotate(180deg);
}

/* ============================================
   NOTIFICATION DROPDOWN STYLES
   ============================================ */

.notification-dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-dropdown-container .notification-icon {
    font-size: 28px;
    color: #667085;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.notification-dropdown-container .notification-icon:hover {
    color: #127eb5;
    transform: scale(1.1);
}

.notification-dropdown-container:hover .notification-icon {
    animation: bellRing 0.5s ease-in-out;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

.notification-badge {
    position: absolute !important;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #EE776A, #dc2626);
    border-radius: 50%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    color: #FFF !important;
    font-family: Poppins, sans-serif;
    font-size: 9px !important;
    font-weight: 700;
    text-align: center;
    z-index: 100;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(238, 119, 106, 0.4);
    border: 2px solid #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 6px rgba(238, 119, 106, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 2px 10px rgba(238, 119, 106, 0.6);
    }
}

.notification-dropdown {
    width: min(360px, 92vw) !important;
    max-height: 480px;
    padding: 0;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #E4E7EC;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
    z-index: 1100;
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    animation: slideDown 0.2s ease;
}

.notification-dropdown-container .dropdown-toggle::after {
    display: none;
}

.notification-dropdown.dropdown-menu {
    margin-top: 10px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.notification-dropdown.show {
    display: flex;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #E4E7EC;
    background: #fff;
}

.notification-header h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.notification-header .mark-all-read {
    font-size: 11px;
    color: #127eb5;
    text-decoration: none;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 20px;
    background: #EFF6FF;
    transition: all 0.2s ease;
}

.notification-header .mark-all-read:hover {
    background: #DBEAFE;
    text-decoration: none;
}

.notification-list {
    flex: 1;
    overflow-y: auto;
    max-height: 340px;
    background: #fff;
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.notification-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

a.notification-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #F2F4F7;
    text-decoration: none;
    position: relative;
    align-items: flex-start;
    white-space: normal;
}

a.notification-item.dropdown-item {
    color: inherit;
    background-color: transparent;
}

a.notification-item:hover {
    background-color: #F9FAFB;
    text-decoration: none;
}

a.notification-item.unread {
    background: #F5FAFF;
    border-left: 2px solid #127eb5;
}

a.notification-item.unread:hover {
    background: #EAF4FF;
}

a.notification-item.read {
    opacity: 0.8;
}

.notification-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: #E5E7EB;
    color: #667085;
}

.notification-icon-wrapper.success {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #059669;
}

.notification-icon-wrapper.warning {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #D97706;
}

.notification-icon-wrapper.error {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    color: #DC2626;
}

.notification-icon-wrapper.info {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    color: #2563EB;
}

.notification-icon-wrapper span {
    font-size: 20px;
}

.notification-content {
    flex: 1;
    min-width: 0;
    padding-right: 6px;
}

.notification-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.notification-title {
    margin: 0 0 4px 0;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    line-height: 1.35;
}

.notification-message {
    margin: 0 0 6px 0;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-time {
    font-size: 10px;
    color: #9CA3AF;
    font-weight: 500;
    white-space: nowrap;
    margin-left: auto;
}

.unread-dot {
    position: absolute;
    right: 14px;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #127eb5;
    box-shadow: 0 0 0 3px rgba(18, 126, 181, 0.2);
}

.notification-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    color: #9CA3AF;
}

.notification-empty span {
    font-size: 56px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.notification-empty p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.notification-footer {
    padding: 12px 16px;
    border-top: 1px solid #E4E7EC;
    text-align: center;
    background: #fff;
}

.notification-footer a {
    color: #127eb5;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.notification-footer a:hover {
    color: #0e5f8a;
    text-decoration: none;
}

