
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Space Grotesk", sans-serif;
}
body {
  background: radial-gradient(circle at 30% 40%, #0a0a0a 0%, #101417 50%, #0a0a0a 100%);
  color: white;
  font-family: "Space Grotesk", sans-serif;
  height: 100vh;
  overflow: hidden;
  display: flex;
}

body.fade-out {
  opacity: 0;
} 


.sidebar {
  width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #101417;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
}
.sidebar nav {
  padding-top: 50px; 
}

.logo {
  font-size: 32px;
  color: #a855f7;
  margin-bottom: 40px;
}

.nav-btn {
  background: none;
  border: none;
  color: #ccc;
  margin: 20px 0;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  transition: color 0.2s ease;
}

.nav-btn.active,
.nav-btn:hover {
  color: #a855f7;
}

.sign-in {
  margin-top: auto;
  margin-bottom: 30px;
  background-color: #a855f7;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
}


.main-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  font-size: 70px;
  font-weight: 600;
  margin-bottom: 100px;
}

.chatbox {
  width: 100%;
  max-width: 1000px;
  background-color: #101417;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 1000px;
  position: relative;
  overflow: hidden;
}

.fullscreen-chatbox {
  position: fixed !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 95vh !important;
  width: 97vw !important;
  max-width: none !important;
  z-index: 11;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  background-color: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(2px);
}


#fullscreen-btn {
  position: absolute;
  top: 5px;
  left: 10px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 20px;
  cursor: pointer;
  z-index: 20;
  transition: color 0.2s;
}

#fullscreen-btn:hover {
  color: white;
}


.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.hidden {
  display: none;
}


.chat-log {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  padding-top: 50px; 
  scrollbar-width: thin;
  scrollbar-color: #444 #1a1a1a;
}


.chat-log::-webkit-scrollbar {
  width: 10px;
}

.chat-log::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.chat-log::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 5px;
}


.chat-log > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 10px;
}

.chat-log > div.user {
  align-items: flex-end;
}


.chat-message {
  
  padding: 10px 0px;
  border-radius: 8px;
  color: #ddd;
  max-width: 70%;
  word-wrap: break-word;
  display: inline-block;
}

.user-message {
  background-color: #a855f7;
  color: white;
  padding: 3px 13px;
}

.ai-message {
    color: #ddd;
}

.ai-label {
  font-weight: bold;
  margin-bottom: 3px;
  padding-left: 2px;
}

.system-message {
  background-color: #101417; 
  color: #aaa;
  font-style: italic;
  padding: 10px 16px;
  margin: 8px 0;
  border-radius: 8px;
  align-self: flex-start;
  display: inline-block;
  max-width: 80%;
  word-break: break-word;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); 
}
.system-message span {
  display: inline-block;
  background-color: transparent; 
  color: inherit;
  font-family: inherit;
}


.input-container {
  display: flex;
  align-items: center;
  border-top: 1px solid #ffffff;
  padding-top: 20px;
  gap: 10px;
}

#upload-btn {
  background-color: #101417;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
  border: none;
  color: #a855f7;
  font-size: 18px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

#ai-select {
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
}

#chat-input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background-color: #101417;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
  color: white;
  font-size: 16px;
}

#send-btn {
  font-weight: bold;
  background-color: #a855f7;
  border: none;
  color: white;
  padding: 10px 18px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 18px;
}

.file-name-display {
  margin-top: 8px;
  color: #ccc;
  font-size: 14px;
}
.right-aligned-system {
  text-align: right;
  align-self: flex-end;
  padding-right: 10px;
  color: #a855f7;
}
.report-box {
  margin-top: 30px;
  width: 100%;
  max-width: 700px;
    background-color: #101417;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.drop-area {
  margin-top: 30px;
  padding: 50px;
  border: 1px dashed #ffffff;
  border-radius: 12px;
  cursor: pointer;
}

.upload-label { 
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: #ccc;
  border-radius: 6px;
  margin-bottom: 0px;
  cursor: pointer;
}

.uploaded-list {
  margin-top: 20px;
  font-size: 14px;
  color: #ccc;
}


#upload-btn {
  background: none;
  border: none;
  color: #a855f7;
  font-size: 18px;
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}
#upload-btn:hover {
  background-color: #222;
}

#ai-select {
  background-color: #1a1a1a;
  color: white;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 6px 12px;
  margin: 0 4px;
  font-size: 14px;
  cursor: pointer;
}
#send-btn {
  background-color: #a855f7;
  border: none;
  color: white;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}
#send-btn:hover {
  background-color: #9333ea;
}

body > div[style*="position: fixed"][style*="bottom"] {
  display: none !important;
}

.discover-box {
  max-width: 700px;
    background-color: #101417;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
}

.discover-box h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.discover-box p {
  font-size: 15px;
  color: #94a3b8;
}
.input-container {
  display: flex;
  align-items: center;
  padding: 20px 10px 0 10px;
  border-top: 1px solid #333;
  gap: 8px;
}

#upload-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: #a855f7;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}

#ai-select {
  background-color: #1a1a1a;
  color: white;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  height: 36px;
}

#chat-input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background-color: #2a2a2a;
  color: white;
  font-size: 15px;
  height: 36px;
}

#send-btn {
  background-color: #a855f7;
  border: none;
  color: white;
  font-size: 18px;
  width: 40px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#send-btn:hover {
  background-color: #9333ea;
}
.logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.clear-btn {
  margin-top: 50px;
  background-color: transparent;
  color: #a855f7;
  border: 1px solid #a855f7;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

.clear-btn:hover {
  background-color: #a855f7;
  color: #fff;
}
.chat-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: 600;
  color: #999;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: fadeInTyping 2.5s steps(30, end) forwards;
}

@keyframes fadeInTyping {
  from {
    width: 0;
    opacity: 1;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}.gmail-input {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background-color: #2a2a2a;
  color: #fff;
  font-size: 15px;
}

.send-report-btn {
  margin-top: 20px;
  background-color: #a855f7;
  border: none;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.report-status {
  margin-top: 20px;
  font-size: 15px;
  color: #a855f7;
  height: 22px;
}

::selection {
  background-color: rgba(168, 85, 247, 0.25); 
  color: #ffffff;
  text-shadow:
    0 0 4px rgba(168, 85, 247, 0.6),
    0 0 12px rgba(192, 64, 255, 0.4),
    0 0 24px rgba(211, 122, 255, 0.25),
    0 0 48px rgba(200, 100, 255, 0.15);
}
.landing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  background-color: #0e0e0e;
  color: white;
  padding: 20px;
}

.landing-header {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.landing-nav a {
  color: #ccc;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

.landing-nav a:hover {
  color: #a855f7;
}

.landing-main {
  text-align: center;
}

.landing-main h1 {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 20px;
}

.tagline {
  font-size: 20px;
  margin-bottom: 40px;
  color: #bbb;
}

.cta-btn {
  background-color: #a855f7;
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #9333ea;
}
body {
  background-color: #0e0e0e;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  display: flex;
  height: 100vh;
  overflow: hidden;
}


.logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  cursor: pointer;
}


.sign-in {
  margin-top: auto;
  margin-bottom: 30px;
  background-color: #a855f7;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
}

.main-content {
  flex: 1;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.title {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 20px;
}

.tagline {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 40px;
}

.cta-btn {
  background-color: #a855f7;
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #9333ea;
}
.chat-message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.chat-message.ai-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.ai-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #222;
  flex-shrink: 0;
}

.message-text {
  color: #ccc;
  font-size: 16px;
  line-height: 1.8;
  font-family: "Space Grotesk", sans-serif;
  white-space: pre-wrap;
}

.message-actions {
  display: flex;
  gap: 8px;
  margin-top: 3px;
  margin-left: 1px; 
}


.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.action-btn img {
  width: 18px;
  height: 18px;
  filter: invert(85%);
}
.chat-message.ai-message {
  display: flex;
  flex-direction: row; 
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}


.sidebar {
  width: 190px;
  justify-content: flex-start;
  transition: width 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #101417;
  padding-top: 30px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
}


.sidebar.collapsed,
.sidebar-collapsed .sidebar {
  width: 70px;
}


.logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: width 0.2s ease, height 0.2s ease;
}

.sidebar.collapsed .logo-img,
.sidebar-collapsed .logo-img {
  width: 50px;
  height: 50px;
}


#sidebar-toggle {
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 5px;
}

.sidebar-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(85%);
  transition: transform 0.2s ease;
}


#sidebar-toggle img {
  filter: brightness(0) saturate(100%) invert(72%);
  transform: scaleX(-1);
  transition: transform 0.2s ease;
}


.sidebar.collapsed #sidebar-toggle img,
.sidebar-collapsed .sidebar.collapsed #sidebar-toggle img {
  transform: scaleX(1);
}



.nav-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  text-align: left;
  font-family: "Space Grotesk", sans-serif;
  transition: all 0.2s ease;
}




.nav-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(85%);
}
.nav-png {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(85%);
}


.nav-label {
  display: inline;
  transition: opacity 0.2s ease;
}


.sidebar.collapsed .nav-btn,
.sidebar-collapsed .nav-btn {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14px 0;
  font-size: 14px;
  gap: 6px;
}

.sidebar.collapsed .nav-label,
.sidebar-collapsed .nav-label {
  display: none;
}
body.fade-out {
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.fade-in {
  opacity: 1;
  transition: opacity 0.2s ease;
}
.chat-log {
  padding: 20px;
  overflow-y: auto;
  position: relative;
}

.main-message {
  color: white;
  font-size: 48px;
  font-weight: 600;
  text-align: center;

}
#chat-input:focus {
  outline: none;
  box-shadow: none;
}