@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Roboto&display=swap');

body .sms {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  height: 100vh;
  font-family: "Roboto", sans-serif;
}

.sms {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-family: "Roboto", sans-serif;
  width: 100%;
  max-width: 360px; /* Diminuiu o tamanho máximo */
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 85vh; /* Diminuiu a altura */
}

.sms .phone-bar b{
  color: #000000;
}

.sms .phone-bar {
  background-color: #f4f4f4;
  color: #000000;
  padding: 5px 10px;
  font-size: 10px; /* Diminuiu o tamanho da fonte */
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-items: flex-start;
}

.sms .phone-bar .right {
  display: flex;
  align-items: center;
}

.sms .phone-bar .right img {
  margin-left: 5px;
}

.sms .sms-header{
  background-color:#f4f4f4;
  color: #000000;
}

.sms .sms-header .header-center{
  display: flex;
  flex-direction: column; 
  align-items: center;
}

.sms .sms-header .back-left{
  align-self: flex-start;
}

.sms .sms-header .back-left img{
  width: 30px;
  height: 30px;
}

.sms .contact{
  font-size: 12px;
  padding: 4px 0px 4px 0px;
}

.sms .sms-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.sms .chat {
  display: flex;
  flex-direction: column;
  padding: 3px 10px 5px 10px;
  flex: 1;
  overflow-y: auto;
}

.sms .info p{
  font-size: 12px;
  display: flex;
  justify-content: center;
  margin: 4px 0px 0px 0px;
  color: #a3a3a3;
}
  
.sms .messages {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
}
  
.sms .message {
  border-radius: 20px;
  padding: 8px 15px;
  margin-top: 5px;
  margin-bottom: 5px;
  display: inline-block;
  font-size: 15px;
  color: #000000;
}
  
.sms .yours {
  align-items: flex-start;
}
  
.sms .yours .message {
  margin-right: 25%;
  background-color: #e9e9eb;
  position: relative;
}
  
.sms .yours .message.last:before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: -7px;
  height: 20px;
  width: 20px;
  background: #e9e9eb;
  border-bottom-right-radius: 15px;
}

.sms .yours .message.last:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: -10px;
  width: 10px;
  height: 20px;
  background: white;
  border-bottom-right-radius: 10px;
}
  
.sms .mine {
  align-items: flex-end;
}
  
.sms .mine .message {
  color: white;
  margin-left: 25%;
  background: #2696fc;
  background-attachment: fixed;
  position: relative;
}
  
.sms .mine .message.last:before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  right: -8px;
  height: 20px;
  width: 20px;
  background: #2696fc;
  background-attachment: fixed;
  border-bottom-left-radius: 15px;
}
  
.sms .mine .message.last:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: -10px;
  width: 10px;
  height: 20px;
  background: white;
  border-bottom-left-radius: 10px;
}