/* Smooth scroll behavior for the entire page */
html {
  scroll-behavior: smooth;
}

/* Fade in animation for components */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide in from left animation */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from right animation */
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale in animation */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
} 
@tailwind base;
@tailwind components;
@tailwind utilities;
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.sidebar-open {
  margin-left: 20rem; /* width of your sidebar */
  transition: margin-left 0.3s;
}
.sidebar-closed {
  margin-left: 0;
  transition: margin-left 0.3s;
}

/* Add transition for margin-left to the main content area */
.main-content-wrapper {
  transition: margin-left 0.3s ease-in-out;
}

/* color primary should be : #F5EB17 I hae put a red to see if it worked. */

/* [data-theme="bumblebee"]{
    --color-primary: 
    --color-primary-content: #ffffff;
    --color-secondary: #000000;
    --color-secondary-content: #ffffff;
    --color-base-100: #ffffff;
    --color-base-200: #C3C8FF;
    --color-base-300: #9FA6FF;
    --color-base-400: #7C85FF;
    --color-base-500: #5964FF;
    --color-base-600: #3643FF;
    --color-base-700: #152642;
    --color-accent: #4C5BD7;
    --color-neutral: #C1C7CD;
    --color-neutral-content: #152642;
  } */

/* Floating alert animations */
@keyframes slideInFromBottom {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutToBottom {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

#floating-flash .alert {
  animation: slideInFromBottom 0.3s ease-out;
}

#floating-flash .alert.removing {
  animation: slideOutToBottom 0.3s ease-in;
}

/* ---------------------------------------------------------------------------
   Design tokens
   DaisyUI ships from a CDN in the layout; this file loads after it, so these
   overrides win. Everything here is a token, not a component rule — changing a
   value refreshes every view at once.

   Kept: the amber primary. It is the brand and nothing about it is dated.
   Changed: the neutrals carry a trace of the brand's warmth instead of being
   pure zero-chroma gray, radii are tightened, and buttons lose DaisyUI's
   default gradient so they read flat.
   --------------------------------------------------------------------------- */
[data-theme="bumblebee"] {
  --color-base-100: oklch(100% 0 0);
  --color-base-200: oklch(97.2% 0.004 85);
  --color-base-300: oklch(93.5% 0.007 85);
  --color-base-content: oklch(23% 0.012 85);

  --radius-selector: 0.5rem;
  --radius-field: 0.5rem;
  --radius-box: 0.75rem;

  --border: 1px;
  --depth: 0;
}

/* ---------------------------------------------------------------------------
   Typography
   Inter, loaded in the layout. The stack falls back to the system font so the
   page is readable before the webfont arrives and if it never does.
   --------------------------------------------------------------------------- */
:root {
  --font-ui: "Inter", -apple-system, "system-ui", "Segoe UI", Roboto,
             "Helvetica Neue", Arial, sans-serif;
}

html,
body {
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.006em;
}

/* Headings tighten as they grow; loose tracking on large type is the clearest
   tell of an unstyled page. */
h1, h2, h3, h4 {
  font-family: var(--font-ui);
  letter-spacing: -0.021em;
}

/* Numerals in reports must line up in columns and must not jump while a value
   updates in place. */
table,
input[type="number"],
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Browser surfaces the design system otherwise leaves at their defaults. */
::selection {
  background: oklch(85% 0.199 91.936 / 0.35);
}

:focus-visible {
  outline: 2px solid oklch(85% 0.199 91.936);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   Table emphasis
   Tailwind here is the browser build loaded from a CDN, and it does not
   generate arbitrary opacity steps: bg-primary/12 and bg-primary/8 both compute
   to transparent, so the emphasised columns had no fill at all. DaisyUI also
   wins over text-xs on a th, which is why the labels rendered at 14px. Both are
   defined against the theme tokens here so they are deterministic.
   --------------------------------------------------------------------------- */
.th-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: color-mix(in oklab, var(--color-base-content) 80%, transparent);
}

.th-sub {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: color-mix(in oklab, var(--color-base-content) 50%, transparent);
}

/* The column the page is actually about: today, or the decision being made. */
.col-emphasis {
  background-color: color-mix(in oklab, var(--color-primary) 45%, var(--color-base-100));
}

/* Its cells, carrying the same hue at a fraction of the strength so the column
   reads as one band without competing with the values inside it. */
.col-emphasis-cell {
  background-color: color-mix(in oklab, var(--color-primary) 14%, var(--color-base-100));
}
