
   @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

  * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Inter, system-ui;
  color: #fff;
  font-weight: 500;
}

.chat_bod {
  height: 150px !important;
  width: 80%;
  height: max-content;
  margin: 30px;
  border-radius: 5px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


.background-gray{
    height: 75vh !important;
  background-color: #3d3d3d22 !important;
  width: 1200px;
}

@keyframes fadeOutScale {
  to {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
  }
}

.chat-container {
  width: 100%;
  min-width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.chat-header {
      padding: 16px;
      text-align: center;
      font-size: 18px;
      font-weight: 600;
     
    }
 .chat-header {
      padding: 16px;
      text-align: center;
      font-size: 15px;
      font-weight: 600;
    }
    .initial-center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      z-index: 10;
      transition: all 0.5s ease-out;
    }

.chat_bod.chat-started .initial-center {
  position: static;
  transform: none;
  align-items: flex-start;
  padding: 16px 20px;
  gap: 0;
  animation: slideToTopLeft 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
    borderFadeIn 0.5s ease-out 0.5s backwards;
}

.chatInputInitial {
  width: 100%;
  min-height: 40px;
  max-height: 200px;
  overflow-y: hidden; /* hide scrollbar */
  padding: 15px ;
  font-size: 16px;
  line-height: 1.4;
}

textarea{
     resize: none;
}
.chat_bod.chat-started .chat-input-wrapper {
  display: none;
}

.chat_bod.chat-started .chat-header {
  font-size: 14px;
  padding: 0;
  animation: headerSlideIn 0.6s ease-out 0.3s backwards;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fff;
  text-shadow: none;
  letter-spacing: 1px;
}

@keyframes headerSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease-out;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat_bod.chat-started .chat-body {
  opacity: 1;
  pointer-events: auto;
}

.chat-body::-webkit-scrollbar {
  display: none;
}

.message {
  display: inline-block;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 80%;
  
}

.message.user {
  width: 100%;
  align-self: flex-end;
  text-align: left;
}

.message.bot {
  align-self: flex-start;
  border-radius: 14px 14px 14px 4px;
  text-align: left;
  border-radius: 10px !important;
  min-width: 50px !important;
}

.typing {
  font-size: 20px;
  opacity: 0.6;
  font-style: italic;
  padding: 10px !important;
  margin: 10px !important;
}

.typing::after {
  content: "";
  animation: dots 1.5s steps(4, end) infinite;
    padding:2px 10px !important;
  margin: 2px 10px !important;
}

@keyframes dots {
  0% {  content: ""; }
  25% { content: ".";}
  50% {content: ".."; }
  75% {content: "...";}
  100% {content: ""; }
}

.chat-input {
  padding: 16px;
  display: flex;
  gap: 12px;
}

.chat-input-wrapper {
  position: relative;
  width: 750px;
  max-width: 80%;
}

.chat-input-wrapper textarea {
  width: 100%;
  max-width: 1200px;
  height: 130px;
  border-radius: 14px;
  border: 1px solid hsla(0, 0%, 73%, 0.151);
  background: rgba(6, 22, 49, 0.349);
  color: #fff;
  padding: 15px 35px 15px 15px;
}

.chat-input-wrapper textarea:hover{
  outline: none;
}


    .offed{
    background-color: gray;
  }

  .offed:hover{
    cursor: wait;
    box-shadow: none;
  }

    .chat-input-wrapper button:hover {
       box-shadow: 0 0 24px rgba(10,200,192,0.6);
    }

    .chat-input-wrapper button:active {
      transform: translateY(-50%) scale(0.95);
    }

    .chat-input.bottom-input {
      display: none;
    }

    .chat_bod.chat-started .chat-input.bottom-input {
      display: flex;
      animation: slideInBottom 0.5s ease-out 0.3s backwards;
    }

.chat-input-wrapper textarea::placeholder {
  color: #6d6d6d;
}

textarea{
     resize: none;
}
  .pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;  
    margin-top: 20px;
  }

  .pill {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(15,212,200,0.28);
   background: rgba(10,30,55,0.7);
    color: rgba(255,255,255,0.8);
    font-size: 13.5px;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    backdrop-filter: blur(6px);
  }

  .pill:hover {
    background: rgba(15,212,200,0.12);
    border-color: var(--teal);
    color: var(--teal);
  }



  .hide{
    display: none;
  }

  .text{
      font-family: "Inter", sans-serif;
      font-optical-sizing: auto;
      font-weight: 300;
      font-style: normal;
      color: white;
      margin: 5px 0;
  }


.chat-input-wrapper button {
  position: absolute;
  right: 5px;
  top: 75%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(to right, #198bb1, #1B4EA2);
  color: white;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-right: 3px;
  margin-bottom: 10px !important;
}

.chat-input-wrapper button:active {
  transform: translateY(-50%) scale(0.95);
}

.chat-input.bottom-input {
  display: none;
}

.chat_bod.chat-started .chat-input.bottom-input {
  display: flex;
  animation: slideInBottom 0.5s ease-out 0.3s backwards;
}

.chat-input input {
  flex: 1;
  height: 55px;
  border-radius: 10px;
  border: 1px solid rgba(196, 196, 196, 0.194);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  background: rgba(73, 73, 73, 0.438);
  color: #fff;
  padding:14px;
  outline: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(128, 128, 128, 0.747);
}

.chat-input input::placeholder {
  color: #888;
}

.chat-input button {
  width:50px;
  height: 50px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(to right, #198bb1, #1B4EA2);
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 10px;
}


.chat-input button:hover{
  box-shadow: #0fffa721 1px 1px 20px 1px;
}

.result_body {
  display: none;
  width: 100%;
  max-width: 1200px;
  margin: 3px auto;
}

.result_body.show {
  display: block;
  animation: fadeIn 0.6s ease-out;
}

.chart-card {
  height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
}

canvas {
  display: none;
}

.loader {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, .15);
  border-top-color: #2033e2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to { opacity: 1; transform: translateY(0);
  }
}

@keyframes slideInBottom {
  from {opacity: 0;transform: translateY(30px); }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.message {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  max-width: 50%;
  padding: 0 !important;
  border-radius: 0 !important;
}

.message.user {
  width: max-content;
  justify-content: flex-end;
  transform: translateX(-20px);
  animation: slideInRight 0.4s ease forwards;
  box-shadow: 2px 2px 2px #ffffff;
}

.message.bot {
  justify-content: flex-start;
  animation: slideInLeft 0.4s ease forwards;
}

.bubble {
  border: none !important;
  padding: 12px 10px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.6;
  max-width: 100%;
  word-wrap: break-word;
  box-shadow: none !important;
}

.message.bot .bubble {
  background: #6d6d6d76;
  border-radius: 14px 14px 14px 4px;
  border: 1px solid hsl(211, 72%, 54%);
  padding: 10px 14px;
  color: #fff;
  max-width: 75%;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-align: left;
}

.message.user .bubble {
  order: 1;
}

.message.user .avatar {
  order: 2;
}

.message.bot .avatar {
  order: 1;
}

.message.bot .bubble {
  order: 2;
}

.message,.message::before,.message::after,.message *,.message *::before,.message *::after {
  box-shadow: none !important;
  filter: none !important;
}

.message .bubble {
  background-clip: padding-box;
}

:root {
  --text: #ffffff;
  --muted: #c8c8c8;
  --radius: 5px;
}

*,*::before,*::after {
  box-sizing: border-box;
}

textarea {
  overflow-y: auto; /* keep scrolling */

  /* Hide scrollbar - Firefox */
  scrollbar-width: none;

  /* Hide scrollbar - IE/Edge */
  -ms-overflow-style: none;
}

/* Hide scrollbar - Chrome, Safari */
textarea::-webkit-scrollbar {
  display: none;
}

html,body {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: Inter, system-ui;
  min-height: 100vh;
}

.page {
  padding: 10px 0;
  display: flex;
  justify-content: center;
}

.wrap {
  width: 100%;
  max-width: 1700px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  max-height: 90vh;
}

.second-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.panel {
  border-radius: var(--radius);
  border: 1px solid rgba(165, 160, 160, 0.096);
  background: rgba(49, 135, 178, 0.183);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.158);
  overflow: hidden;
  animation: scaleIn 0.5s ease-out;
  height: 90%;
}

.out-inner {
  height: 300px;
  display: flex;
  flex-direction: column;
}

.chat-inner {
  display: flex;
  flex-direction: column;
  height: 93%;          
  padding: 1px;
}

.input-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 96%;
  padding: 15px;
}

.input-bar input::placeholder{
  color: gray;
}

.chat-title {
  font-weight: 800;
  text-align: center;
  font-size: 20px;
  margin: 10px 0;
}

.thread {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
  min-height: 0;      
  overflow-y: auto;
  overflow-x: hidden;
}

.thread::-webkit-scrollbar {
  display: none;
}

.msg {
  display: flex;
  gap: 12px;
  margin: 12px 0 0 0px;
}

.input-bar {
  display: flex;
  gap: 10px;
  background: rgba(36, 36, 36, 0.801);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  margin: 10px;
  padding: 9px;
}

.input-bar input {
  flex: 1;
  border: none;
  color: #fff;
  outline: none;
  background: transparent;
}

.send {
  width: 34px;
  height: 34px;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  background: linear-gradient(to right, #198bb1, #1B4EA2);
}

.chart-card {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.loader {
  width: 60px;
  height: 60px;
  border-top-color: #49ffd7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.panel.chat {
  position: relative;
  height: 980px;
  grid-row: 1 / 4;
}

.panel.output {
  grid-column: 2;
  grid-row: 1;
  height: 360px;
}

.risk-distribution-box {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
}

#findings_out {
  grid-column: 2;
  grid-row: 3;
}

.risk-distribution-box {
  background: #0f152234;
  padding: 20px;
  border-radius: 12px;
  color: white;
}

.risk-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.risk-bar {
  display: flex;
  width: 100%;
  height: 10px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}

.risk-high {
  background: red;
  width: 0;
  transition: width 0.3s ease;
}

.risk-medium {
  background: orange;
  width: 0;
  transition: width 0.3s ease;
}

.risk-safe {
  background:#10bc82;
  width: 0;
  transition: width 0.3s ease;
}

.risk-low {
  background:#0004ff;
  width: 0;
  transition: width 0.3s ease;
}



.risk-labels {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.high-dot::before {
  content: "● ";
  color: #ff3b3b;
}

.medium-dot::before {
  content: "● ";
  color: #f5a623;
}

.safe-dot::before {
  content: "● ";
  color: #00d084;
}

.low-dot::before {
  content: "● ";
  color: #1557e498; 
}

.findings-skeleton {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
  background: #1a202c7b;
  border-radius: 10px;
  width: 100%;
}

.skeleton-card {
  background: #11151c;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid #a3a3a317;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

.skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, transparent 0%, rgba(255,255,255,0.04) 40%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite ease-in-out;
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.skeleton-line {
  height: 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
}
.skeleton-line.wide   { width: 70%; }
.skeleton-line.short  { width: 40%; }
.skeleton-line.badge  { width: 55px; height: 18px; border-radius: 12px; }

.findings-skeleton.hide { display: none; }

.finding_output {
  opacity: 0;
  transform: translateY(20px);
  max-height: 0;
  overflow: hidden;
  transition: opacity .4s, transform .4s, max-height .5s;
}
.finding_output.show {
  opacity: 1;
  transform: translateY(0);
  max-height: 2000px;
}


@media (max-width: 768px) {
  .findings-skeleton {
    grid-template-columns: 1fr;
    padding: 12px;
  }
}

#findings_out {
  grid-column: 2 / 3;
  width: 100%;
}

.finding_output {
  opacity: 0;
  transform: translateY(20px);
  max-height: 0;
  overflow: hidden;
  transition: opacity .4s, transform .4s, max-height .5s;
}

.finding_output.show {
  opacity: 1;
  transform: translateY(0);
  max-height: 2000px;
}

.findings-section {
  background: none;
  padding: 0px;
  border: none;
}

.finding-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: contents;
}

.finding {
  background: #11151c;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #a3a3a317;
}

#findingsRows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 24px;
  background: #0f121754;
  border-radius: 10px;
  width: 100%;
}

.finding-count {
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: right;
}

.finding-count span {
  font-size: 12px;
}

.safe {
  color: rgb(0, 224, 0);
  font-weight: 600;
}

.medium {
  color: rgb(245, 166, 35);
  font-weight: 600;
}

.high {
  color: red;
  font-weight: 600;
}

.low {
  color: #9ca3af;
  font-weight: 600;
}

.no-issue {
  color: #6b7280;
  font-weight: 500;
  font-size: 12px;
}

.findings_box {
  display: flex;
  flex-direction: column;
  width: 90%;
  font-size: 17px;
  margin: 10px 0;
  cursor: pointer;
  text-transform: capitalize;
}

.grade {
  width: 20px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 3000;
  border-radius: 10px;
  color: #fff;
}

.grade-span-box {
  display: flex;
  justify-content: space-between;
}

.grade-span-high,.grade-span-medium,.grade-span-low,.grade-span-safe {
  font-size: 8px;
  padding: 6px 10px;
  border-radius: 16px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease-in-out;
  height: max-content;
}

.grade-span-high {
  background: linear-gradient(145deg, #ff4d4da2, #b3000084);
  color: #fff;
}

.grade-span-high:hover {
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.9);
}

.grade-span-medium {
  background: linear-gradient(145deg, #ffb44b, #ffbd2193);
  color: #fff;
}

.grade-span-medium:hover {
  box-shadow: 0 0 5px rgba(255, 140, 0, 0.9);
}

.grade-span-safe {
  background: linear-gradient(145deg, #00ff4099, #9de60096);
  color: #000;
}

.grade-span-safe:hover {
  box-shadow: 0 0 5px rgba(179, 255, 0, 1);
}

.grade-span-low {
  background: linear-gradient(145deg, #0049e698, #00994590);
  color: #fff;
}

.grade-span-low:hover {
  box-shadow: 0 0 5px rgba(36, 51, 247, 0.568);
}

.severity-safe {
  border: 2px solid #10b981;
  background: rgba(16, 185, 129, 0.02);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
}

.severity-high {
  border: 2px solid #dc2626;
  background: rgba(220, 38, 38, 0.02);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2);
}

.severity-medium {
  border: 2px solid #f59e0b;
  background: rgba(245, 158, 11, 0.02);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

.severity-low {
  position: relative;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.02);
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
  padding: 12px; /* inner spacing */
  z-index: 0;
}

.severity-low::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px; /* border thickness */
  border-radius: 12px;
  background: linear-gradient(145deg, #0049e698, #00994590);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  z-index: -1;
}

.severity-high,.severity-medium,.severity-low,.severity-safe {
  border-radius: 12px;
  padding: 10px 15px;
  transition: 0.3s ease;
}

.severity-high:hover,.severity-medium:hover,.severity-low:hover,.severity-safe:hover {
  transform: translateY(-3px);
  cursor: pointer;
}
.finding-title {
  font-weight: 600;
  text-align: left;
}
#scanInfo {
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  color: #9ca3af;
}
#radar {
  cursor: pointer;
}
.panel {
  overflow: hidden;
}
.chart-card {
  position: relative;
}
#tooltip {
  position: fixed;
  display: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 9999;
}

#userName {
  margin: 10px;
  font-size: 12px;
}

.action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.chat-btn {
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.email-btn {
  background: #2563eb;
  color: white;
}

.meeting-btn {
  background: #10b981;
  color: white;
}

.email-btn:hover {
  background: #1d4ed8;
}

.meeting-btn:hover {
  background: #059669;
}

.chat-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-left: 10px;
  line-height: 10px;  
  margin-top: 8px;
}

.chat-bubble {
  background: #54545449;
  color: #eaeaea;
  padding: 14px 16px;
  border-radius: 14px;
  max-width: 80%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.bubble-text {
  margin-bottom: 2px;
  min-height: 12px;
  line-height: 1.3;
}

.scan-list {
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 100%;
  padding-left: 20px;
}

.scan-item {
  color: #eaeaea;
  font-size: 13px;
  line-height: 1.3;
  padding: 2px 0;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
  position: relative;
}

.scan-item::before {
  content: "•";
  position: absolute;
  left: -15px;
  color: #eaeaea;
}

input::placeholder{
  color: white;
}

.final-Email {
  font-size: 12px;
  line-height: 18px;
  background: #93939399;
  padding: 10px;
  border-radius: 10px;
  margin-top: 10px;
  max-width: 320px;
  white-space: pre-wrap;
  overflow: hidden;
  color: #f3f3f3;
}

.typing-cursor::after {
  content: "|";
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0% { opacity: 1 }
  50% { opacity: 0 }
  100% { opacity: 1 }
}

.input-bar.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

.input-bar.disabled input,
.input-bar.disabled button {
  cursor: not-allowed;
}

.final-message {
  background: #6461613f;
  color: #eaeaea;
  padding: 14px 16px;
  border-radius: 14px;
  max-width: 80%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  font-size: 13px;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

#chatInputInitial {
  font-size: 13px;
}


/* ================= INNER CHAT TYPING INDICATOR ================= */
.inner-typing-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px !important;
  width: fit-content;
  min-width: 56px;
}

.inner-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  display: inline-block;
  animation: innerDotBounce 1.2s ease-in-out infinite;
}

.inner-dot:nth-child(1) { animation-delay: 0s; }
.inner-dot:nth-child(2) { animation-delay: 0.2s; }
.inner-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes innerDotBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* ================= SEND BUTTON DISABLED STATE ================= */
.send.send-disabled {
  background: linear-gradient(to right, #555, #444) !important;
  cursor: not-allowed !important;
  opacity: 0.55;
  transform: none !important;
  box-shadow: none !important;
}

/* ================= CLICKABLE RESPONSE (click to reveal) ================= */
.clickable-response-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  animation: fadeIn 0.4s ease forwards;
}

.clickable-response {
  border: 1px solid rgba(73, 255, 215, 0.35) !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.clickable-response::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(73, 255, 215, 0.04);
  pointer-events: none;
}

.clickable-response-wrapper:hover .clickable-response {
  border-color: rgba(73, 255, 215, 0.7) !important;
  box-shadow: 0 0 12px rgba(73, 255, 215, 0.15);
}

.clickable-response-wrapper.revealed .clickable-response {
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none;
}

.click-hint {
  font-size: 10px;
  color: rgba(73, 255, 215, 0.6);
  padding-left: 4px;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}


.hide{
  display:none !important;
}




