    /* Reset + base */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body { height: 100%; font-family: Arial, sans-serif; color: #fff; }
    body {
      background: url('../img/background.png') center/cover no-repeat;
      overflow: hidden;
    }

    /* shared frosted card */
    .card {
      background: rgba(0,0,0,0.6);
      border-radius: 16px;
      padding: 2rem;
      backdrop-filter: blur(12px);
      max-width: 800px;
      margin: auto;
    }

    /* Hero slider */
    .hero {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: opacity 0.5s ease;
      z-index: 2;
    }
    .hero.hidden {
      opacity: 0;
      pointer-events: none;
    }
    .hero .card {
      text-align: center;
      width: 80%;
      height: 40%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      margin-top: 20%;
    }
    .hero h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    .hero button {
      padding: 0.75rem 2rem;
      font-size: 1rem;
      border: none;
      border-radius: 8px;
      background: #fff;
      color: #000;
      cursor: pointer;
      align-self: center;
    }
    .dots {
      display: flex;
      gap: 0.5rem;
      justify-content: center;
      align-self: center;
    }
    .dot {
      width: 10px; height: 10px;
      border-radius: 50%;
      background: rgba(255,255,255,0.5);
    }
    .dot.active { background: #fff; }

    /* Main container (hidden behind hero until slide gone) */
    .main {
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      transition: opacity 0.5s ease;
    }
    .main.visible { opacity: 1; }

    .title {
      font-size: 2.5rem;
      margin-bottom: 1.5rem;
      text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    }

    /* Step-2 card styles */
    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .card-header h2 {
      font-size: 1.75rem;
    }
    .progress-bar {
      width: 180px;
      height: 8px;
      background: rgba(255,255,255,0.2);
      border-radius: 4px;
      overflow: hidden;
    }
    .progress-bar .progress {
      width: 40%; /* 2 of 5 */
      height: 100%;
      background: #A259FF;
    }
    .step {
      margin-top: 0.5rem;
      color: #ccc;
      font-size: 0.9rem;
    }
    .question {
      margin: 2rem 0 1rem;
    }
    .question h3 {
      font-size: 1.25rem;
      margin-bottom: 0.5rem;
    }
    .question p {
      font-size: 0.9rem;
      color: #ddd;
    }
    .options {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
    }
    .option {
      background: rgba(255,255,255,0.1);
      border-radius: 8px;
      padding: 1rem;
      cursor: pointer;
      transition: background 0.2s;
    }
    .option:hover {
      background: rgba(255,255,255,0.2);
    }
    
    .option.selected{
      background: #A259FF;
      color: #fff;
    }

    .option h4 {
      margin-bottom: 0.5rem;
      font-size: 1.1rem;
    }
    .option p {
      font-size: 0.85rem;
      color: #ddd;
    }

    .actions {
      display: flex;
      justify-content: space-between;
      margin-top: 2rem;
    }

    #view-chat-bottom-buttons {
      position: absolute;
      bottom: 0;
      width: 85%;
    }
    .btn {
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
      cursor: pointer;
    }
    .btn-back {
      background: rgba(255,255,255,0.2);
      color: #fff;
    }
    .btn-next {
      background: #A259FF;
      color: #fff;
      opacity: 0.5;
    }

   
.avatar-img{
    width: 128px;
    height: 128px;
    border-radius: 50px;
}

#chat-wrapper {
    
}

.chat-transcript {
    
}


.td-chat-agent-img {
  vertical-align: top;
}

.chat-agent-name {
    font-size: 16px;
    font-weight: bold;
}

.chat-agent-desc {
    font-size: 12px;
    font-style:italic;    color: #DDD;
}

.div-bot-text {
    padding: 10px;
    width: 80%;
    z-index: 999;
    text-align:center;
    font-size: 22px;
}