:root {
    --navy-blue: #00002d; /* R42 deep blue */
    --dark-blue: #00145a; /* R42 Dark blue for buttons */
    --red: #ff3c71; /* R42 pink for the clear button */
    --green: #33b062; /* R42 Green for borders */
    --gradient-start: #00145a;
    --gradient-end: #5f6282;
    --content-bg: transparent;
    --text-light: #FFFFFF;
  }
  
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
  }
  
  body {
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
  }

  #session-id-input {
    margin-right: 10px;
}       
  
  /* Header */
  header {
    padding: 15px;
  }
  
  header a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  
  header a img {
    width: auto;
    height: 40px;
    max-width: 100%;
    object-fit: contain;
    margin-right: 15px;
  }
  
  header a span {
    font-size: 1.75rem;
    font-weight: bold;
  }
  
  /* Buttons */
  button {
    border-radius: 5px;
    font-weight: bold;
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  
  /* Run Stream Button */
  #filter-button {
    background-color: var(--navy-blue);
    border-color: var(--green);
    color: var(--text-light);
  }
  
  #filter-button:hover {
    background-color: var(--dark-blue);
  }
  
  /* Clear All Events Button */
  #clear-button {
    background-color: var(--red);
    border-color: var(--green);
    color: var(--text-light);
  }
  
  #clear-button:hover {
    background-color: #cc2c5e;
  }
  
  /* Instructions Button */
  #instructions-button {
    background-color: var(--dark-blue);
    border-color: var(--green);
    color: var(--text-light);
    margin-top: 15px;
  }
  
  #instructions-button:hover {
    background-color: var(--navy-blue);
  }
  
  /* UI Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .nav-tabs .nav-link {
    color: var(--text-light);
}

.nav-tabs .nav-link.active {
    background-color: var(--dark-blue);
    color: #fff;
    border-color: var(--green);
    border-bottom: 1px solid white !important; 
}

.nav-tabs .nav-link:not(.active) {
    color: #a9a6a6 !important;
    background-color: transparent !important; 
}

.tab-content {
    background-color: transparent; /* Make the container transparent */
    border-radius: 5px;
    color: var(--text-light);
}

.modal-header {
    background-color: var(--dark-blue); /* Dark blue header */
    color: var(--text-light); /* White text */
}
  
  /* Customer Journey Workflow */
  h1 {
    text-align: center;
    margin: 10px 0;
    font-size: 1.3rem;
  }
  
  /* Steps */
  .journey-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 10px 0;
  }
  
  .step {
    padding: 10px 15px;
    border: 2px solid #ccc;
    border-radius: 15px;
    background-color: #f9f9f9;
    text-align: center;
    width: 100px;
    position: relative;
    font-size: 1rem;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
  }
  
  .step i {
    font-size: 1.8rem;
    margin-bottom: 4px;
    color: #000;
  }
  
  /* Active Step */
  .step.active {
    border-color: #4CAF50;
    background-color: #DFF2BF;
  }
  
  /* Widen Identity Management Node */
  .step-wide {
    padding: 10px 20px;
    border: 2px solid #ccc;
    border-radius: 15px;
    background-color: #f9f9f9 !important;
    text-align: center;
    width: 230px;
    position: relative;
    font-size: 1rem;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .step-wide.active {
    background-color: #28a745 !important;
}
  
  /* Lines and Connectors */
  .line {
    width: 2px;
    height: 12px;
    background-color: #ccc;
    margin: 3px 0;
  }
  
  .line-horizontal {
    width: 50%;
    background-color: #ccc;
    position: absolute;
    top: 50%;
    z-index: -1;
  }
  
  /* Vertical Line from Identity Management */
  .line-vertical {
    width: 2px;
    height: 15px;
    background-color: #ccc;
    margin: 3px auto;
  }
  
  /* Horizontal Connector (T-Bar) */
  .line-horizontal-t {
    width: 190px;
    height: 2px;
    background-color: #ccc;
    margin: 3px auto;
  }
  
  /* Short Horizontal Line Above Goal */
  .line-horizontal-short {
    width: 90px;
    height: 2px;
    background-color: #ccc;
    margin: 3px auto;
  }
  
  /* Structure */
  .branch-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    flex-wrap: nowrap;
  }
  
  .branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  
  .goal-container {
    display: flex;
    justify-content: center;
    margin: 15px 0;
  }
  
  /* ✅ Fix Omnichannel Activation Icons Alignment */
  .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    margin-top: 5px;
  }
  
  /* ✅ Smaller Omnichannel Activation Icons */
  .social-icons i {
    font-size: 1.2rem; /* Reduced icon size */
    color: #000;
  }
  
  /* ✅ Fix Email Action Icons */
  .email-icons {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: nowrap;
    margin-top: 5px;
  }
  
  /* ✅ Smaller Email Icons */
  .email-icons i {
    font-size: 1.2rem; /* Reduced icon size */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .container {
      max-width: 100%;
    }
    .line-horizontal {
      width: 70%;
    }
    .branch-container {
      gap: 15px;
    }
    .step {
      width: 100px;
      font-size: 0.9rem;
      padding: 9px 12px;
    }
    .step i {
      font-size: 1.5rem;
    }
    .step-wide {
      width: 200px;
    }
  }
  
  /* Event List Styling */
  #event-list .list-group-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
  }

  #event-list .list-group-item i {
    margin-right: 12px;
    min-width: 20px;
    flex-shrink: 0;
  }

  @media (max-width: 480px) {
    h1 {
      font-size: 1.1rem;
    }
    .step {
      width: 85px;
      font-size: 0.9rem;
      padding: 9px 12px;
    }
    .step i {
      font-size: 1.3rem;
    }
    .line {
      height: 10px;
    }
    .line-horizontal {
      width: 80%;
    }
    .step-wide {
      width: 190px;
    }
  }