* {
  box-sizing: border-box;
  font-family: Tahoma, Arial;
}

body {
  margin: 0;
  background: #e5ecf3;
  height: 100vh;
}

.app {
  max-width: 420px;
  height: 100vh;
  margin: auto;
  background: #f2f6fb;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  height: 60px;
  background: #6b7a8f;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 10px;
}

.logo {
  background: orange;
  color: black;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* زر الدعم الفني */
.btn-support {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  color: white;
  margin-right: 35%;
  background: linear-gradient(270deg, #4E00FF, #EA0085, #5BFF00, #FF0000);
  background-size: 800% 800%;
  animation: gradientShift 10s ease infinite;

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  margin-left: auto;
  transition: transform 0.2s;
}

.btn-support:hover {
  transform: scale(1.05);
}

.logo-button-help {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.title {
  font-size: 17px;
}

/* Chat */
.chat {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
}

.msg {
  max-width: 75%;
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: 14px;
  line-height: 1.5;
  font-size: 14px;
  background: ;
}

/* رسائل البوت */
.msg-bot {
  max-width: 75%;
padding: 10px 14px;
margin-bottom: 10px;
border-radius: 14px;
line-height: 1.5;
font-size: 14px;
  color: white;
  align-self: flex-start;
  background: linear-gradient(270deg, #00c3ff, #005bea, #00ffd5, #0077ff);
  border-radius: ;
  background-size: 800% 800%;
  animation: gradientShift 10s ease infinite;
}

/* رسائل المستخدم */
.user {
  background: #4b5563;
  color: white;
  align-self: flex-end;
}

/* Quick buttons */
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
}

.quick-actions button {
  background: #e2e8f0;
  border: none;
  border-radius: 18px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
}

.quick-actions button:nth-child(2) {
  background: orange;
  color: black;
}

/* Input */
.input-area {
  display: flex;
  padding: 10px;
  background: white;
  border-top: 1px solid #ccc;
}

.input-area input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px;
  border-radius: 20px;
  background: #f1f5f9;
}

.input-area button {
  margin-right: 8px;
  background: #6b7a8f;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

/* تدرج الألوان المتحرك */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #f2f6fb;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.close {
  color: #333;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

#supportForm input, #supportForm textarea {
  width: 100%;
  padding: 8px;
  margin: 8px 0 15px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}

#supportForm button {
  width: 100%;
  padding: 10px;
  background: linear-gradient(270deg, #00c3ff, #005bea, #00ffd5, #0077ff);
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s;
}

#supportForm button:hover {
  transform: scale(1.03);
}