/* TacoRules Excalidraw Theme */

/* Force dark mode */
html {
  background-color: #121212 !important;
  color: #fff !important;
}
html:not(.dark) {
  background-color: #121212 !important;
}

/* Custom accent color - taco orange */
:root {
  --color-primary: #f59e0b !important;
  --color-primary-darker: #d97706 !important;
  --color-primary-darkest: #b45309 !important;
  --color-primary-light: #fbbf24 !important;
}

/* Rebrand the welcome screen */
.welcome-screen-center__heading {
  visibility: hidden;
  position: relative;
}
.welcome-screen-center__heading::after {
  content: "TacoRules Draw";
  visibility: visible;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  color: #f59e0b;
  font-weight: 700;
}

/* Style the welcome screen tagline */
.welcome-screen-center__subheading {
  visibility: hidden;
  position: relative;
}
.welcome-screen-center__subheading::after {
  content: "Collaborative whiteboard for tacorules.com";
  visibility: visible;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  opacity: 0.7;
}

/* Hide Excalidraw+ promo and links to excalidraw.com */
a[href*="plus.excalidraw.com"],
a[href*="excalidraw.com/pricing"],
a[href*="excalidraw.com/blog"],
.encrypted-icon,
[data-testid="encrypted-icon"] {
  display: none !important;
}

/* Accent color on buttons */
.welcome-screen-menu-item__shortcut {
  color: #f59e0b !important;
}

/* Canvas background for dark mode */
.excalidraw.theme--dark {
  --island-bg-color: #1e1e1e;
}
