/* test */



#tina-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

#chatToggle {
  background: #111;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 28px;
  border: none;
  cursor: pointer;
}

#chatWindow {
  display: none;
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
  padding: 10px;
}

#TinaHeader {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  padding: 6px 8px;
  border-radius: 8px 8px 0 0;
  margin-bottom: 6px;
}

#TinaHeader img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

#TinaHeader strong {
  font-size: 15px;
}

#TinaHeader span {
  font-size: 12px;
  color: #666;
}

#tinaReset {
  margin-left: auto;
  font-size: 12px;
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
}

#chatMessages {
  height: 220px;
  overflow: auto;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#chatInput {
  width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 6px;
}
/* full screen */

 

 
.tina-page-chat__inner {
  width: 100%;
  height: calc(100vh - 250px);
  min-height: 600px;
  max-height: 900px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tina-page-chat__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #eee;
}

.tina-page-chat__profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tina-page-chat__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-right: 10px;
}

.tina-page-chat__reset {
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  font-size: 14px;
}

.tina-page-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tina-page-chat__inputbar {
 border-top: 1px solid #eee;
  padding: 14px;
  background: #fff;
}
.tina-page-chat__input {
  width: 100%;
  min-height: 42px;
  max-height: 150px;
  resize: none;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.4;
  overflow-y: auto;
}

#chatMessages .tina-msg {
  max-width: 90%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.5;
}

.tina-page-chat__messages .tina-msg {
  max-width: 90%!important;
}


.tina-msg--ai {
  background: #f2f2f2;
  align-self: flex-start;
  margin-right: auto;
}

.tina-msg--user {
  background: #d7ecff;
  align-self: flex-end;
  margin-left: auto;
}

 .tina-page-chat {
  background: rgba(10, 12, 16, 0.85);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 20px;
   width: 100%;
  max-width: 900px; 
  backdrop-filter: blur(6px);
  box-shadow: 0 0 40px rgba(201, 162, 39, 0.2);
}

.tina-chat-page {
   
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {

  /* CSS here runs ONLY on tablet + desktop (not mobile) */
.tina-page-chat__messages .tina-msg {
  max-width: 70%!important;
}

}