/* NOTIFICATION BELL */
.bell {
   position: absolute;
  top: 35px;             /* adjust as needed */
  right: 15px;           /* aligned to right edge of container */
  width: 40px;
  height: 40px;
  transform: scale(0.4);
  transform-origin: top right;
  display: none;
}

/* TOP OF BELL (dark color) */
.bell-top {
  width: 50px;
  height: 50px;
  background: #1C293E;
  border-radius: 50% 50% 0 0;
  position: relative;
}

.bell-top:before {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background: #1C293E;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

/* Bell skirt */
.bell-top:after {
  content: '';
  border-bottom: 10px solid #1C293E;
  border-left: 8px solid #fff;
  border-right: 8px solid #fff;
  height: 0;
  width: 50px;
  position: absolute;
  left: -8px;
  bottom: -10px; 
}

/* CLAPPER */
.bell-bot {
  width: 22px;         /* larger */
  height: 14px;        /* thicker */
  background: #1C293E;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -28px;       /* adjust drop distance */
  border-radius: 0 0 16px 16px;
}

/* NOTIFICATION BUBBLE */
.bell-notification { 
  background: #FF4C12;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  position: absolute;
  right: -40px;
  top: -30px;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-weight: 700; /* bold for clarity */
  font-size: 36px;    /* slightly smaller and cleaner */
  line-height: 60px;
  text-align: center;
  opacity: 0;
  
  
  /* Add text stroke for readability */
  /* simulate stroke with text-shadow */
  text-shadow:
      2px 2px 0 red,
   -2px 2px 0 red,
    2px -2px 0 red,
   -2px -2px 0 red,
    0 2px 0 red,
    2px 0 0 red,
    0 -2px 0 red,
   -2px 0 0 red,
    1px 1px 0 red,
   -1px 1px 0 red,
    1px -1px 0 red,
   -1px -1px 0 red;
}
  

/* ANIMATIONS */
.bell-top-anim { animation: abanico 1000ms ease-in-out; transform-origin: top; }
.bell-bot-anim { animation: badalo 1000ms ease-in-out; }
.new-not { animation: popup 500ms forwards; }

/* KEYFRAMES */
@keyframes abanico {
  0% { transform: rotate(0deg); }
  7.5% { transform: rotate(25deg); }
  30% { transform: rotate(-25deg); }
  45% { transform: rotate(15deg); }
  58% { transform: rotate(-10deg); }
  70% { transform: rotate(5deg); }
  87.5% { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

@keyframes badalo {
  15% { transform: translateX(-25px) rotate(7deg); }
  32.5% { transform: translateX(10px) rotate(-7deg); }
  50% { transform: translateX(-15px) rotate(7deg); }
  65% { transform: translateX(5px) rotate(-7deg); }
  80% { transform: translateX(-15px) rotate(7deg); }
  90% { transform: translateX(0px) rotate(-7deg); }
}

@keyframes popup {
  0% { transform: scale(0.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}


/* NOTIFICATION PANE */
#notificationPane {
    position: fixed;
    top: 0;
    right: -350px;    /* hidden */
    width: 350px;
    height: 100vh;
    background: white;
    border-left: 1px solid #ccc;
    transition: right 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

#notificationPane.open {
    right: 0;         /* visible */
}

/* The close (X) button */
#closePane {
    background: none;
    border: none;
    color: #666;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 10px;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Hover effect */
#closePane:hover {
    color: #000;
    transform: scale(1.15);
}

/* Makes the hit-area bigger = easier to click */
#closePane:active {
    transform: scale(0.95);
}

/* Disable all transitions when this class is present. This is for keeping the pane open, as we don't want it to transition in on every new page */
#notificationPane.no-transition,
#notificationPaneOverlay.no-transition {
    transition: none !important;
}

#notificationPaneOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    z-index: 9998;  /* just below the pane */
    opacity: 0;
    pointer-events: none; /* so clicks pass through when hidden */
    transition: opacity 0.3s ease;
}

#notificationPaneOverlay.active {
    opacity: 0.25;
    pointer-events: auto; /* block clicks when active */
}

/* Keep it vertically centered */
.pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #999999;
}

