@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: #333;
}
html {
  user-select: none;
}

body {
  margin: 0;
  font-family: "Pretendard", "Inter", sans-serif;
  background: #f8f8f8;
  color: #333;
  min-width: 390px;
  max-width: 390px;
}
.app-header {
  position: fixed;
  width: 390px;
  height: 82px;
  background: #fff6ed;
  top: 0;
  left: 0;
  z-index: 999;
  box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.1);
}
.header-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  /* align-items:center; */
  width: 90%;
  margin: 0 auto;
  padding-top: 50px;
  /* height: 30px; */
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  width: 23px;
  height: 23px;
  background: linear-gradient(135deg, #ffa155 0%, #ff5e00 100%);
  border-radius: 4px;
  text-align: center;
}
.logo-icon span {
  color: #fff;
  font-size: 18px;
  line-height: 23.4px;
}
.logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #5a5a5a;
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.weather {
  display: flex;
  align-items: center;
  gap: 4px;
}
.weather-icon {
  width: 14px;
  height: 14px;
}
.weather-icon span {
  font-size: 14px;
}
.weather-text {
  font-size: 13px;
  color: #666;
}
.notification-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: #ff801a;
}
main {
  padding: 0 20px;
}
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 100px 0 16px 0;
}
.chat-header span {
  color: #ff801a;
}
.chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.back-btn,
.search-btn,
.random-menu,
.menu-btn {
  /* width: 25px;
  height: 25px; */
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.chat-room-thumb {
  width: 43px;
  height: 43px;
  background: #d9d9d9;
  border-radius: 25px;
  overflow: hidden;
}
.chat-room-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chat-room-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
}
.chat-room-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.chat-room-participants {
  font-size: 11px;
  color: #7c7c7c;
}
.chat-header-icons {
  display: flex;
  gap: 8px;
}
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 100px;
}
.message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.message-me {
  align-items: flex-end;
}
.message-sender {
  font-size: 11px;
  color: #5a5a5a;
  font-weight: 700;
}
.message-bubble {
  background: #fff;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 15px;
  color: #333;
  border: 1px solid #fff;
  max-width: 70%;
}
.message-bubble.me {
  background: #ff6b36;
  color: #fff;
  border: 1px solid #ff6b36;
}
.message-time {
  font-size: 10px;
  color: #666;
}
.message-proposal {
  background: #fff2e5;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid #ff7a24;
  margin-bottom: 60px;
}
.proposal-title {
  font-size: 15px;
  color: #666;
  margin-bottom: 8px;
}
.proposal-image {
  width: 224px;
  height: 221px;
  background: #d9d9d9;
  border-radius: 10px;
  border: 1px solid #ff7a24;
  margin-bottom: 8px;
  overflow: hidden;
}
.proposal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proposal-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
.proposal-menu {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}
.proposal-reactions {
  font-size: 15px;
  color: #ff6b36;
  font-weight: 700;
}
.proposal-action {
  background: #ff6b36;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}
.proposal-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  white-space: nowrap;
}
.proposal-actions button {
  background: #fff;
  color: #ff6b36;
  border: 1.5px solid #ff7a24;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.proposal-actions-btn.active {
  background: #ff801a;
  color: #fff;
  border: 1.5px solid #ff801a;
}
.chat-input-bar {
  position: fixed;
  bottom: 84px;
  left: 0;
  width: 390px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 10px 20px 8px;
  border-top: 1px solid #ff7a24;
  z-index: 10;
}
.chat-input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #f8f8f8;
  border-radius: 20px;
  font-size: 13px;
  color: #333;
  background: #f8f8f8;
  margin-right: 8px;
}
.chat-input:focus {
  outline: 1px solid #ff801a;
  /* border: 1px solid #ff801a; */
  background: #f8f8f8;
}
.send-btn {
  width: 34px;
  height: 34px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transform: rotate(-30deg);
}
.send-btn span {
  color: #ff801a;
}
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 390px;
  height: 80px;
  background: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #eee;
  box-shadow: 0px -2px 5px 0 rgba(0,0,0,.1);
}
.tab-bar-item {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tab-bar-item.active {
  color: #ff6b36;
}
