body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    text-align: center;
    padding: 50px;
    margin: 0;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: auto;
}

h1 {
    color: #333;
}

p {
    font-size: 16px;
    color: #555;
}

button {
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    margin: 10px;
    border-radius: 5px;
    transition: 0.3s;
}

footer {
    margin-top: 20px;
    font-size: 14px;
    color: #777;

  dl {
    dt {
      font-size: 1.2rem;
        font-weight: bold;
    }
    dd {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
  }
}

#start-conversation {
    background-color: #28a745;
    color: white;
}

#start-conversation:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#leave-call {
    background-color: #dc3545;
    color: white;
}

#leave-call:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#error-message {
    color: red;
    margin-top: 15px;
    font-weight: bold;
}

.hidden {
    display: none;
}

/* Base style for all control buttons */
.control-button {
    width: 70px;
    height: 70px;
    border-radius: 20%;
    border: 2px solid white;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
    margin: 0 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  /* Make SVGs larger and perfectly centered */
  .control-button svg {
    width: 30px;
    height: 30px;
  }
  
  /* On hover, brighten the buttons slightly */
  .control-button:hover {
    background-color: white;
  }
  
  /* Leave (red) button special styling */
  #leave-button {
    background-color: #f44336;
    border: none;
  }
  
  #leave-button:hover {
    background-color: #d32f2f;
  }
  
  /* Optional: styling when button is toggled off */
  .control-button.disabled {
    background-color: white;
    border-color: #eee;
  }

/* new code CSS */

/* Reset list styles */
.bot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  
  /* responsive grid */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 2rem;
}

/* Each bot entry */
.bot-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bot-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Link covers entire card */
.bot-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Avatar */
.bot-avatar {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

/* Text area */
.bot-info {
  padding: 1rem;
  text-align: center;
}

.bot-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.bot-description {
  padding-top: 0.5rem;
  color: #666;
}

.bot-tagline {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #555;
}

/* Page header */
.page-header {
  text-align: center;
  padding: 2rem 1rem 0;
  background: #f5f5f5;
}

.page-header h1 {
  margin: 0;
  font-size: 2rem;
}

.page-subtitle {
  margin-top: 0.5rem;
  color: #666;
  font-size: 1rem;
}

/* Mobile tweak */
@media (max-width: 480px) {
  .bot-list {
    padding: 1rem;
    gap: 16px;
  }
}
