
body {
  overflow: hidden;
}
/* Background Layer */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
     inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff, #effdff);
    z-index: -1;
}

/*  LOCK PAGE */
html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

/* LAYOUT */
.app {
  display: flex;
  height: 100%;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  background: #0b1c2d;
  color: #fff;
  padding: 12px;
  overflow-y: auto;
  position: relative;
}
.sidebar p.pbytektxt{    position: absolute;
    bottom: 0px;
    width: calc(100% - 20px);
    text-align: center;
    font-size: 12px;
    font-weight: 300;
    color: #fff;}
.sidebar h6 {
  font-size: 14px;
  margin-bottom: 10px;
}
#historyList{overflow-x: hidden;
    overflow-y: auto;
    height: calc(100vh - 170px);
    width: 100%;}

.chat-item {
  background: rgba(255,255,255,0.1);
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-item span {
  cursor: pointer;
  flex: 1;
}

.chat-item:hover {
  background: rgba(255,255,255,0.2);
}

/* MAIN */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* HEADER */
.header {
  background: #fff;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      z-index: 9;
}

.header img {
      max-height: 95px;
    margin: 5px 0px 10px;
}

/* CHAT AREA (ONLY THIS SCROLLS) */
.chat-container {
  flex: 1;
  padding: 20px;
  padding-bottom: 120px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* CHAT BUBBLES */
.chat-bubble {
  padding: 14px 16px;
  border-radius: 14px;
  max-width: 100%;
}

.user {
  align-self: flex-end;
  background: #0d6efd;
  color: #fff;
}

.assistant {
     align-self: flex-start;
    background: #fff;
    border: 2px solid #7094e5;

}

/*  TABLE ISOLATION FIX */
.table-wrapper {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: scroll;
  margin-top: 10px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background: #fff;
  max-height: 70vh;
}

.table-wrapper table {
  width: max-content;
  min-width: 100%;
  font-size: 0.8rem;
  border-collapse: collapse;
}

.table-wrapper th,
.table-wrapper td {
  padding: 6px 10px;
  border: 1px solid #dee2e6;
  white-space: nowrap;
}

.table-wrapper th {
  background: #f1f5f9;
  position: sticky;
  top: 0;
  z-index: 2;
}

/*  INPUT BAR FIX (NO OVERLAP) */
.input-area {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #dee2e6;
  padding: 10px;
  z-index: 10;
  box-shadow: -1px 2px 13px 0px #8f8f8f;
}

h1.display-6.fw-bold.txtshdw{font-size: 28px; text-shadow: 1px -1px 1px #b1b1b1; margin-bottom: 3px;} 

/* Mic Button Style */
.mic-btn {
    font-size: 1.5rem;
}
.mic-btn.listening {
    color: #ff4444;
    animation: pulse 1.2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

/* HOLOGRAM STYLE */
#vedaHologram {
    position: fixed;
    bottom: 90px; /* just above input bar */
    right: 90px;  /* near mic button */
    width: 80px;
    height: 100px;
    display: none;
    z-index: 20;
    animation: hologramFade 0.4s ease;
}

#vedaHologram img {
    width: 100%;
    height: 100%;
    object-fit: contain;

    /* hologram glow */
    filter: drop-shadow(0 0 10px #00d2ff)
            drop-shadow(0 0 20px #00d2ff);

    opacity: 0.9;
}

/* floating effect */
@keyframes hologramFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

/* fade in */
@keyframes hologramFade {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

#vedaHologram.active {
    display: block;
    animation: hologramFade 0.3s ease, hologramFloat 2s infinite ease-in-out;
}
