body {
  background-color: #ffffff;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  padding: 0;
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-fluid {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-container {
  width: calc(100% - 60px); 
  height: calc(100vh - 60px); 
  border: 2px solid #A48374;
  border-radius: 20px;
  overflow: hidden;
  background-color: #CBAD8D;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

/* Header */
.chat-header {
  background-color: #D1C7BD;
  padding: 12px 15px;
  border-bottom: 2px solid #A48374;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.chat-header h5 {
  color: #A48374;
  font-weight: bold;
  margin: 0;
  font-size: 1.1rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #A48374;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Welcome Screen */
.welcome-screen {
  flex: 1;
  padding: 40px 20px;
  text-align: center;
  background-color: #D1C7BD;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.welcome-screen h1 {
  color: #A48374;
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 25px;
  font-weight: bold;
}

/* Buttons */
.btn-seda {
  background-color: #A48374;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 24px;
  font-weight: bold;
  margin: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.btn-seda:hover {
  background-color: #8a6d5f;
  transform: translateY(-2px);
}

/* Chat Body */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  background-color: #D1C7BD;
  display: none;
}

.input-group {
  padding: 15px;
  background-color: #D1C7BD;
  border-top: 2px solid #A48374;
  display: none;
  align-items: center;
  flex-shrink: 0;
}

.form-control {
  border: none;
  border-radius: 25px;
  background-color: #bda48d;
  color: #5c4e45;
  padding: 12px 18px;
  font-size: 16px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.send-btn {
  background-color: #A48374;
  color: white;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.send-btn:hover {
  background-color: #8a6d5f;
}

.send-btn i {
  font-size: 18px;
}

/* Messages */
.message {
  display: flex;
  margin-bottom: 14px;
  align-items: flex-start;
}

.message.bot {
  flex-direction: row;
}

.message.user {
  flex-direction: row-reverse;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.avatar.bot {
  background-color: #A48374;
  margin-right: 10px;
}

.avatar.user {
  background-color: #A48374;
  margin-left: 10px;
}

.message-content {
  background-color: #bda48d;
  color: #5c4e45;
  padding: 12px 16px;
  border-radius: 20px;
  max-width: 75%;
  word-wrap: break-word;
  font-size: 15px;
  line-height: 1.4;
}

/* Scrollbar */
.chat-body::-webkit-scrollbar {
  width: 6px;
}
.chat-body::-webkit-scrollbar-track {
  background: #CBAD8D;
}
.chat-body::-webkit-scrollbar-thumb {
  background: #A48374;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
  .chat-container {
    width: calc(100% - 60px);
    height: calc(100vh - 60px);
    margin: 30px auto;
  }
}

@media (max-width: 768px) {
  .chat-container {
    width: calc(100% - 40px);
    height: calc(100vh - 40px);
    margin: 20px auto;
  }
}

@media (max-width: 480px) {
  .chat-container {
    width: calc(100% - 30px);
    height: calc(100vh - 30px);
    margin: 15px auto;
    border-radius: 15px;
  }

  .welcome-screen h1 {
    font-size: 1.5rem;
  }
}
