.send-message-form {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  box-sizing: border-box;
  align-items: stretch;
  width: 100%;
}

.message-bar {
  flex: 1 1 80%;
  min-width: 200px;
  box-sizing: border-box;
  padding: 0;
}

.message-bar textarea {
  width: 100%;
  height: 50px;
  min-height:50px;
  max-height:100px;
  resize: vertical;
  margin: 0;
  box-sizing: border-box;
}

.message-bar-send {
  flex: 0 0 20%;
  min-width: 80px;
  box-sizing: border-box;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-bar-send button {
  height: 50px;
  width: 100%;
  margin-top: -7px;
  margin-bottom:0;
  margin-left:0;
  margin-right:0;
}

@media (max-width: 600px) {
  .send-message-form {
    flex-wrap: wrap;
  }

  .message-bar,
  .message-bar-send {
    flex: 1 1 auto;
    min-width: 0;
  }

  .message-bar-send button,
  .message-bar textarea {
    height: 50px;
  }
}

.subscribe-full {
    position: relative;
    overflow: hidden;
}
.subscribe-full {
    position: relative;
    height: 93vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.subscribe-full-content {
    flex-grow: 1;
    overflow-y: auto;
    padding-bottom: 80px;
}

.send-message {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-left: 10px;
    padding-right:10px;
    padding-top:10px;
    padding-bottom:3px;
    z-index: 10;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-radius:15px;
}
body.dark-mode .send-message{
    background:#1e1e1e;
}
.message-content-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 12px;
}

.message-profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
}

.message-content {
    flex: 1;
    background: #00c6ff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    color:#fff;
}

.message-content p {
    margin: 0 0 6px;
    line-height: 1.5;
}

.subscribe-full-content {
    margin: 0 auto;
}

.message-content-row.me {
    justify-content: flex-end;
}

.message-content-row.me .message-content {
    background: #7f00ff;
    color:#fff;
}
