  /* Fixed Container on the Right */
  .journal-sidebar {
    position: fixed;
    right: 0;
    top: 75%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  /* The Vertical Tab */
  .journal-trigger {
    background: #2c3e50; /* Dark Professional Blue */
    color: white;
    padding: 15px 10px;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    transition: background 0.3s;
  }

  .journal-trigger:hover {
    background: #34495e;
  }

  .journal-trigger .icon {
    margin-bottom: 10px;
    text-orientation: upright;
  }

  /* --- BLINK ANIMATION CODE --- */
  .blink-text {
    animation: professional-blink 1.5s ease-in-out infinite;
  }

  @keyframes professional-blink {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
  }

  /* Stop blinking when hovered or when the sidebar is already open */
  .journal-sidebar.active .blink-text,
  .journal-trigger:hover .blink-text {
    animation: none;
    opacity: 1;
  }
  /* ---------------------------- */

  /* The Hidden Content Box */
  .journal-content {
    width: 0;
    overflow: hidden;
    background: white;
    height: auto;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: width 0.4s ease;
    display: flex;
    flex-direction: column;
    border-top-left-radius: 0;
    border-bottom-left-radius: 8px;
  }

  /* When the sidebar is active */
  .journal-sidebar.active .journal-content {
    width: 250px;
    padding: 20px;
    border: 1px solid #ddd;
  }

  .journal-content h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #2c3e50;
  }

  .journal-content a {
    text-decoration: none;
    color: #007bff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    transition: padding-left 0.2s;
  }

  .journal-content a:hover {
    padding-left: 10px;
    color: #0056b3;
  }
