:root {
  --sidebar-width: 20rem;
}
* {
    font-size: 14px;
    font-family: "Share Tech Mono";
  }
.watermark {
  display: none !important;
}
#chat-input:empty:before {
  content: "How can I assist with your financial operations today?";
  color: #888;
}

.lucide {
  color: hsl(var(--primary));
}
.lucide-mail-plus {
  color: white;
}

.ai-message {
  padding: 1rem;
  border: 0.5px solid #D8D6C4;
  /*border: 0.5px solid #E8E6E3;*/
  border-radius: 0.75rem;
  background: var(--ai-message-background);
  /*background: linear-gradient(to bottom right, #e9e8de, #e2e0d6); its good 8*/
  /*background: #e2e0d6 #e9e8de; /* Corrected HSL syntax */

  
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1),
              0px 2px 4px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  .ai-message {
      background: var(--ai-message-background-dark);
  }
}

.bg-sidebar {
  flex: 40 1 0px !important;
}

.bg-accent {
  padding: 1rem !important;
    border-radius: 1rem !important;
    padding: 1rem !important; 
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1), 0px 2px 4px rgba(0, 0, 0, 0.06);
    border: 0.5px solid #D8D6C4;
}
.lucid.lucid-copy{
  display: none;
}
.message-content + div {
  gap: 1.3rem;
  /*
  position: absolute;
  left: 75%;
  */
}
.message-content + div button {
  border: 1.5px solid white;
  border-radius: 0.5rem;
}
/*
.ai-message {
  padding: 1rem;
  border: 0.5px solid #E8E6E3;
  border-radius: 0.75rem;
  background: linear-gradient(
      145deg,
      hsl(var(--background), 90%, 97%) 0%, 
      hsl(var(--background), 85%, 92%) 100% 
  );
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.12), /* Slightly stronger shadow for better distinction */
             /* 0px 3px 6px rgba(0, 0, 0, 0.08); /* Secondary shadow for subtle depth */
/*}*/

.message-content {
  /*
  display: flex;
  justify-content: center;
  align-items: center;
  */
  /*padding: 4rem;*/
}
.email-container {
  background-color: hsl(var(--accent));
  border-radius: 16px;
  width: 500px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border: 1px solid hsla(0, 0%, 0%, 0.05);
}
.custom-header {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(27, 80%, 45%));
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.email-header-info {
  display: flex;
  align-items: center;
}
.email-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}
.email-details {
  padding: 15px;
  background-color: hsl(var(--background));
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.email-body {
  padding: 20px;
  line-height: 1.6;
}
.email-actions {
  display: flex;
  justify-content: end;
  padding: 10px 20px;
  background-color: hsl(var(--background));
  gap: 1rem;
}
.email-action-btn {
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border: none;
  padding: 8px 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.email-action-btn:hover {
  background-color: hsl(var(--primary) / 0.2);
}
.email-address {
  color: hsl(var(--text-secondary));
}
.email-attachments {
  background-color: hsl(var(--background));
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.attachment-item {
  display: flex;
  align-items: center;
  background-color: hsl(var(--accent));
  padding: 10px;
  border-radius: 8px;
  justify-content: space-between;
}
.attachment-icon {
  font-size: 24px;
  margin-right: 10px;
  color: hsl(var(--primary));
}
.attachment-details {
  flex-grow: 1;
}
.attachment-size {
  color: hsl(var(--text-secondary));
  font-size: 0.8em;
}
.download-btn {
  background: none;
  border: none;
  color: hsl(var(--primary));
  cursor: pointer;
}

[data-panel-id=":rn:"] {
  /*flex: 45 1 0px !important;*/
}
[data-panel-id=":r11:"] {
  flex: 45 1 0px !important;
}
tbody tr:nth-child(even), tbody tr:nth-child(even):hover {
  background-color: hsl(var(--accent));
  
}

/* Target the odd rows of tbody */
tbody tr:nth-child(odd), tbody tr:nth-child(odd):hover {
  /*background-color: wheat;*/
  background-color: hsl(var(--background));
  /*opacity: 0.7;*/
}
thead, thead:hover, tfoot, tfoot:hover {
  background-color: hsl(var(--accent))!important;
}
tbody tr:hover {
  background-color: transparent;
}
#side-view-content{
  height: 100%;
}

.action-trigger {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  padding: 8px;
  width: 100%;
  min-height: 4rem !important;
  height: auto !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
}

.action-trigger:hover {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

.action-trigger span {
  line-height: 1.3;
  width: 100%;
  white-space: normal;
  overflow: visible;
}

.title-span {
  font-size: 0.85rem;
  color: #1e293b !important;
}

.description-span {
  font-size: 0.85rem;
  color: #64748b !important;
}

.width-adjust{
  display: inline-flex;
  flex-direction: column;
  min-width: 100%;
  max-width: 100%;
}
div:has(> aside) {
  flex: 45 1 0px !important;
}
