/* Style the notification bar container */
.top-notification-bar {
    background-color: #31AEE3;
    height: 54px;
    position: relative;
    z-index: 500;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
  }
  /* Target the notification content container */
  .notification-content {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    position: relative;
    max-width: 1200px;
  }
  /* Style the message */
  #notification-message {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    margin: 0;
    font-size: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }
  /* Style the link */
  #notification-link {
    color: white;
    font-weight: bold;
    font-size: 16px;
    margin-left: 15px;
    white-space: nowrap;
    display: inline-flex; /* align text + SVG horizontally */
    align-items: center;
    gap: 6px; /* space between text and arrow */
    text-decoration: none; /* remove underline from link itself */
  }

  .notification-text {
    text-decoration: underline;
    text-underline-offset: 3px; /* pushes underline slightly down */
    transition: color 0.3s ease !important;
  }

  #notification-link:hover .notification-text {
    color: #004C97 !important;
    text-decoration: none; /* removes underline only from text on hover */
  }

  /* Style the close button */
  .close-notification {
    background: none;
    border: none;
    color: white;
    font-size: 44px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    line-height: 1;
    z-index: 101;
  }
  /* Hide the notification bar when dismissed */
  .top-notification-bar.hidden {
    display: none;
  }
  
  /* Larger Screens */
  @media (min-width: 1200px) {
    .top-notification-bar {
      height: 54px;
    }
    
    #notification-message {
      font-size: 14px;
    }
    
    #notification-link {
      font-size: 14px;
    }
  }
  
  /* Even Larger Screens */
  @media (min-width: 1600px) {
    .top-notification-bar {
      height: 54px;
    }
    
    #notification-message {
      font-size: 20px;
    }
    
    #notification-link {
      font-size: 20px;
    }
    
    .close-notification {
      font-size: 50px;
    }
  }
  
  /* Ultra-Wide Screens */
  @media (min-width: 2000px) {
    .top-notification-bar {
      height: 64px;
    }
    
    #notification-message {
      font-size: 22px;
    }
    
    #notification-link {
      font-size: 22px;
    }
    
    .close-notification {
      font-size: 56px;
    }
  }
  
  /* Responsive adjustments for smaller screens */
  @media (max-width: 768px) {
    .top-notification-bar {
      height: auto;
      padding: 10px 0;
      min-height: 54px;
    }
    
    #notification-message {
      display: flex;
      flex-direction: column;
      gap: 5px;
      align-items: center;
      padding: 0 30px;
    }
    
    #notification-link {
      margin-left: 0;
    }
    
    .close-notification {
      font-size: 36px;
      right: 10px;
    }
  }
  @media (max-width: 480px) {
    .notification-content {
      padding: 0 10px;
    }
    
    #notification-message {
      font-size: 13px;
      padding: 0 25px;
    }
    
    #notification-link {
      font-size: 14px;
    }
    
    .close-notification {
      font-size: 30px;
      right: 5px;
    }
  }
  @media (max-width: 320px) {
    .top-notification-bar {
      padding: 8px 0;
    }
    
    #notification-message {
      font-size: 12px;
    }
    
    #notification-link {
      font-size: 13px;
    }
  }