body {
    height: 100vh;
    width: 100%;
    background-color: linear-gradient(135deg, #232526 0%, #414345 100%);
    background-image: url(/images/0x0.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .chat-container {
    position: absolute;
    background-color: rgba(34, 40, 49, 0.95);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    max-width: 420px;
    width: 100%;
    min-height: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  
  .chat-header {
    background: linear-gradient(90deg, #00c6ff 0%, #0072ff 100%);
    color: #141313;
    padding: 1.5rem 1rem 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  
  .chat-header .subtitle {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.7;
  }
  
  .chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(44, 62, 80, 0.15);
  }
  
  .message {
    display: flex;
    align-items: flex-end;
    gap: 0.7rem;
  }
  
  .message.user {
    flex-direction: row-reverse;
  }
  
  .message .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }
  
  .message .bubble {
    max-width: 70%;
    padding: 0.8rem 1.1rem;
    border-radius: 1.2rem;
    font-size: 1rem;
    background: #222831;
    color: #fff;
    position: relative;
    animation: fadeIn 0.4s;
  }
  
  .message.user .bubble {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    color: #fff;
  }
  
  .chat-input {
    background: rgba(34, 40, 49, 0.98);
    padding: 1rem;
    display: flex;
    gap: 0.7rem;
    align-items: center;
    border-top: 1px solid #222831;
  }
  
  .chat-input input {
    flex: 1;
    border-radius: 2rem;
    border: none;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    background: #232526;
    color: #fff;
    outline: none;
  }
  
  .chat-input button {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    border: none;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .chat-input button:hover {
    background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
  }
  
  .chat-messages::-webkit-scrollbar {
    width: 8px;
  }
  .chat-messages::-webkit-scrollbar-thumb {
    background: #222831;
    border-radius: 4px;
  }
  
  .cursor-pointer {
    cursor: pointer;
  }
  .badge:hover {
    opacity: 0.8;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  