*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Roboto", sans-serif;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  /* background: url("../image/background.jpg"); */
  background: white;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-tap-highlight-color: transparent;
  color: #404040;
}

.page {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.product-list{
    max-width: 350px;
    margin: 0px auto 20px;
    padding: 0px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 500;
    background-color: #e1ffc7;
    justify-content: center;
    display: flex;
    align-items: center;
    column-gap: 5px;
}
.marvel-device .screen {
  text-align: left;
}

.screen-container {
  height: 100%;
}

/* Status Bar */
.status-bar {
  height: 25px;
  background: #004e45;
  color: #fff;
  font-size: 14px;
  padding: 0 8px;
}

/* Chat */
.chat {
  height: calc(100% - 69px);
}

.chat-container {
  height: 100%;
}

/* User Bar */
.user-bar {
  height: 55px;
  background: var(--primary-color);
  color: #fff;
  padding: 0 12px;
  font-size: 24px;
  position: relative;
  z-index: 1;
}

.user-bar div {
  position: relative;
}

.left-userbar,
.right-userbar {
  display: flex;
  align-items: center;
}

.user-bar .actions {
  display: flex;
}

.right-userbar {
  column-gap: 25px;
  display: flex;
}

.user-bar .actions img {
  height: 20px;
}

.user-bar .avatar {
  margin: 0 0 0 5px;
  width: 36px;
  height: 36px;
}

.user-bar .avatar img {
  border-radius: 50%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  display: block;
  width: 100%;
}

.user-bar .name {
  font-size: 17px;
  font-weight: 600;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
  margin: 0 0 0 8px;
  overflow: hidden;
  white-space: nowrap;
  width: 110px;
}

.user-bar .status {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

/* Conversation */

.conversation {
  height: calc(100% - 12px);
  position: relative;
  /* background: url("../image/screen-background.png") no-repeat; */
  background: white no-repeat;
  background-size: cover;
  z-index: 0;
  padding-bottom: 8px;
}

.conversation .conversation-container {
  height: calc(100% - 140px);
  box-shadow: inset 0 10px 10px -10px #000000;
  overflow-x: hidden;
  padding: 0 16px;
}

.conversation .conversation-container:after {
  content: "";
  display: table;
  clear: both;
}

/* Messages */

.message {
  color: var(--primary-text-color);
  clear: both;
  line-height: 22px;
  font-size: 15px;
  padding: 8px 10px;
  position: relative;
  margin: 4px 0;
  max-width: 85%;
  word-wrap: break-word;
  font-weight: 400;
  min-width: 200px;
  font-family: "Poppins", sans-serif;
}

.marvel-device {
  max-width: 500px;
  width: 100%;
  margin: auto;
  border: 1px solid black;
}

.message input {
    background-color: transparent;
    display: block;
    font-weight: 400;
    padding: 4px 38px 4px 6px;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    color: var(--primary-text-color);
    border: 1px solid #787878;
    border-radius: 30px;
    max-height: 30px;
    margin: 0 0 6px 0;
}
.sent input {
    border: 1px solid var(--primary-text-color);
}
.message.sent, .message.received {
    padding-bottom: 20px;
}
.message input::placeholder {
  font-weight: 400;
  color: var(--primary-text-color);
  font-family: "Poppins", sans-serif;
}

.message input:focus {
  outline: none;
}

.message:after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
}

.metadata {
  display: inline-block;
  position: relative;
  bottom: -4px;
  float: right;
  margin-left: 5px;
}

.metadata .time {
  color: rgba(0, 0, 0, 0.65);
  color: var(--primary-text-color);
  font-size: 14px;
  display: inline-block;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

.metadata .tick {
  display: inline-block;
  margin-left: 2px;
  position: relative;
  top: 4px;
  height: 16px;
  width: 16px;
}

.metadata .tick svg {
  position: absolute;
  transition: 0.5s ease-in-out;
}

.metadata .tick svg:first-child {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: perspective(800px) rotateY(180deg);
  transform: perspective(800px) rotateY(180deg);
}

.metadata .tick svg:last-child {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: perspective(800px) rotateY(0deg);
  transform: perspective(800px) rotateY(0deg);
}

.metadata .tick-animation svg:first-child {
  -webkit-transform: perspective(800px) rotateY(0);
  transform: perspective(800px) rotateY(0);
}

.metadata .tick-animation svg:last-child {
  -webkit-transform: perspective(800px) rotateY(-179.9deg);
  transform: perspective(800px) rotateY(-179.9deg);
}

.message:first-child {
  margin: 16px 0 8px;
}

.message.received {
  background: var(--primary-color);
  border-radius: 0px 15px 15px 15px;
  float: left;
}

.message.received:after {
  border-width: 0px 10px 10px 0;
  /* border-color: transparent #fff transparent transparent; */
  border-color: transparent var(--primary-color) transparent transparent;
  top: 0;
  left: -8px;
  border-radius: 12px 0px 0px 12px;
}

.message.sent {
  background: var(--primary-color);
  border-radius: 15px 0px 15px 15px;
  float: right;
}

.message.sent:after {
  border-width: 0px 0 10px 10px;
  border-color: transparent transparent transparent #e1ffc7;
  top: 0;
  right: -10px;
}

.message.sent + .message.sent:not(:first-of-type):after {
  content: none;
}

.message.sent + .message.sent:not(:first-of-type) {
  border-radius: 15px;
}

.message.received + .message.received:not(:first-of-type) {
  border-radius: 15px;
}

.message.received + .message.received:not(:first-of-type):after {
  content: none;
}

.message:has(input) .metadata,
.message:has(select) .metadata {
  height: 0px;
  bottom: 14px;
}

.message .price {
  min-width: 20px;
  display: inline-block;
}
.input-box {
    position: relative;
}
.input-box svg {
    position: absolute;
    left: auto;
    right: 8px;
    top: 6px;
}
/* Compose */

.conversation-compose {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  overflow: hidden;
  height: 40px;
  width: 100%;
  z-index: 2;
}

.conversation-compose div,
.conversation-compose input {
  background: #fff;
  height: 100%;
}

.conversation-compose .emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50% 0 0 50%;
  flex: 0 0 auto;
  margin-left: 8px;
  width: 38px;
  height: 38px;
}

.conversation-compose .input-msg {
  border: 0;
  flex: 1 1 auto;
  font-size: 14px;
  margin: 0;
  outline: none;
  min-width: 50px;
  height: 38px;
  color: #404040;
}

.conversation-compose .photo {
  flex: 0 0 auto;
  border-radius: 0 30px 30px 0;
  text-align: center;
  width: auto;
  display: flex;
  padding-right: 6px;
  height: 38px;
}

.conversation-compose .photo img {
  display: block;
  color: #7d8488;
  font-size: 24px;
  transform: translate(-50%, -50%);
  position: relative;
  top: 50%;
  margin-left: 10px;
}

.conversation-compose .send {
  background: transparent;
  border: 0;
  cursor: pointer;
  flex: 0 0 auto;
  margin-right: 8px;
  padding: 0;
  position: relative;
  outline: none;
  margin-left: 0.5rem;
}

.conversation-compose .send .circle {
  background: #008a7c;
  border-radius: 50%;
  color: #fff;
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.img img {
  width: 100%;
}

.conversation .conversation-container {
  max-height: calc(100vh - 140px);
}

.circle img {
  width: 100%;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.conversation ::-webkit-scrollbar,
.select-items::-webkit-scrollbar {
  transition: all 0.5s;
  width: 5px;
  height: 1px;
  z-index: 10;
  border-radius: 5px;
  border-radius: 10px;
}

.conversation ::-webkit-scrollbar-track,
.select-items::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

.conversation ::-webkit-scrollbar-thumb,
.select-items::-webkit-scrollbar-thumb {
  background: #b3ada7;
  border-radius: 5px;
}

.custom-select {
  position: relative;
}

.custom-select select {
  display: none;
}

.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

.select-items div,
.select-selected {
  color: #404040;
  border: 1px solid transparent;
  cursor: pointer;
  transition: ease 0.3s all;
}

.select-items div {
  padding: 0px 8px;
  transition: ease 0.3s all;
}

.select-items {
  position: absolute;
  background-color: white;
  top: 32px;
  border-radius: 5px;
  left: 0;
  right: 0;
  z-index: 99;
  max-height: 130px;
  overflow-x: hidden;
  padding: 5px 0px;
  width: 106%;
  left: -3%;
  box-shadow: -1px 1px 11px rgb(0 0 0 / 10%);
}

.select-hide {
  display: none;
}

.same-as-selected {
  background-color: #005e54;
  color: white !important;
  transition: ease 0.3s all;
}

.select-items div:hover {
  background-color: #005e54;
  color: white;
  transition: ease 0.3s all;
}

.product-image {
  border-radius: 9px;
  border: 1px solid #999999;
  position: relative;
}

.product-image-div {
  display: flex;
  align-items: center;
  column-gap: 10px;
  padding: 5px;
}

.product-image .image-text {
  color: #404040;
  left: 0px;
  font-size: 16px;
  bottom: 0px;
  width: 100%;
  border-radius: 0px 0px 10px 10px;
  line-height: 18px;
  font-family: "Poppins", sans-serif;
}

.product-info {
  border-top: 1px solid;
  padding: 5px;
}

.product-image img {
  border-radius: 9px;
  max-width: 100px;
}
.product-info-heading span {
  font-weight: 500;
  padding-right: 5px;
}
.product-info-heading {
  padding-bottom: 10px;
  margin: 0px;
}
.message .product-info-heading:last-of-type {
  padding-bottom: 0px;
}
.product-image .order-button a {
  width: 100%;
  display: block;
  text-decoration: none;
  padding: 10px;
  text-align: center;
  background-color: #005e54;
  color: white;
  border-radius: 0px 0px 7px 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 5px;
}
img {
  vertical-align: middle;
}
.order-button a img {
  padding-bottom: 3px;
}

.thank-you {
  max-width: 350px;
  margin: 20px auto 20px;
  padding: 10px;
  border-radius: 15px;
  font-size: 20px;
  font-weight: 500;
  /* background-color: var(--primary-color); */
  color: var(--primary-color);
  justify-content: center;
  display: flex;
  align-items: center;
  column-gap: 5px;
}
.delevery-text {
  /* background-color: var(--primary-color); */
  padding: 10px;
  border-radius: 10px;
  max-width: 300px;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #207ea5;
}
.inner-related-product {
  padding-bottom: 45px;
  width: 100%;
  border-radius: 9px;
  max-width: 220px;
  border: 1px solid #999999;
  position: relative;
}

.related-product-image .image-text {
  padding: 7px 8px;
  position: absolute;
  left: 0px;
  font-size: 14px;
  /* background-color: var(--primary-color); */
  color: var(--primary-text-color);
  bottom: 0px;
  width: 100%;
  border-radius: 0px 0px 10px 10px;
  line-height: 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.related-product-image .order-button a {
  width: 100%;
  display: block;
  text-decoration: none;
  padding: 10px;
  text-align: center;
  /* background-color: var(--primary-color); */
  color: var(--primary-text-color);
  border-radius: 15px;
  margin-top: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 5px;
}
.related-product-image .image-text span {
  display: block;
  margin-top: 5px;
}
.related-product-image img {
  border-radius: 10px;
}
.payment-detail .product-image-div {
  justify-content: center;
}
.payment-heading {
  padding: 5px 10px;
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-text-color);
}
.border-bottom {
  border-bottom: 1px solid #999999;
}
.scanner-button-text {
  padding: 5px 10px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: var(--primary-text-color);
}
.border-top {
  border-top: 1px solid #999999;
}
label {
  display: block;
  max-width: 200px;
  margin: 0 auto 15px;
  text-align: center;
  word-wrap: break-word;
  color: #1a4756;
}

.hidden,
#uploadImg:not(.hidden) + label {
  display: none;
}

#file {
  display: none;
  margin: 0 auto;
}

#upload {
  display: block;
  border: 0;
  margin: 0 auto;
  font-size: 15px;
  cursor: pointer;
  outline: none;
  transition: 0.3s ease-in-out;
}
.confirm-button {
  clear: both;
  text-align: center;
}
.confirm-button a {
  display: inline-block;
  background-color: #005e54;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px;
  border-radius: 15px;
  text-align: center;
  color: white;
  text-decoration: none;
}
.confirm-button + .message:not(.confirm-button) {
  margin-top: 10px;
}
.message:has(+ .confirm-button) {
  margin-bottom: 10px;
}
#upload:active {
  transition: 0.1s ease-in-out;
}

.file-upload {
  /* text-align: center; */
  /* padding-bottom: 10px; */
  font-size:20px;
  font-weight: 500;
}
.file-upload input {
  text-align: center;
  padding-right: 10px;
}
.message:has(+ .social-icon) {
  min-width: auto;
}
.social-icon {
  display: flex;
  column-gap: 10px;
}
.payment-id {
  padding: 0px 10px;
  color: var(--primary-text-color);
}
.feedback:after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0px 0 10px 10px;
  border-color: transparent transparent transparent #005e54;
  top: 0;
  right: -10px;
}
.feedback {
  position: relative;
  background-color: #005e54;
  color: white;
  clear: both;
  width: fit-content;
  min-width: 200px;
  margin-left: auto;
  border-radius: 15px 0px 15px 15px;
  margin-bottom: 5px;
}
.feedback a {
  color: white;
  padding: 10px 10px;
  display: inline-block;
  display: flex;
  align-items: center;
  column-gap: 6px;
}
a {
  text-decoration: none;
  color: black;
}
#files{
  margin-top: 5px;
}
/* Small Screens */
@media (max-width: 768px) {
  .marvel-device.nexus5 {
    border-radius: 0;
    flex: none;
    padding: 0;
    max-width: none;
    overflow: hidden;
    height: 100%;
    width: 100%;
  }

  .marvel-device > .screen .chat {
    visibility: visible;
  }

  .marvel-device {
    visibility: hidden;
  }

  .marvel-device .status-bar {
    display: none;
  }

  .screen-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .conversation {
    height: calc(100vh - 55px);
  }

  .conversation .conversation-container {
    height: calc(100vh - 100px);
    max-height: calc(100vh - 100px);
  }

  .thank-you {
    font-size: 17px;
  }
}

.place-order-btn{
    width: 100%;
    display: block;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    background: var(--primary-color);
    color: var(--primary-text-color);
    border-radius: 0px 0px 7px 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 5px;
}

.razorpay-payment-button {
  background: var(--primary-color);
  color: var(--primary-text-color);
}


