/* ==========================
   DARK MODE COLOR PALETTE (HSLA)
   ========================== */

/* Primary Colors */
:root {
  --color-primary: hsla(210, 100%, 45%, 1);          /* main primary */
  --color-primary-light: hsla(210, 100%, 65%, 1);    
  --color-primary-dark: hsl(210, 84%, 17%);     

  --color-secondary: hsla(6, 100%, 64%, 1);          /* main secondary */
  --color-secondary-light: hsla(6, 100%, 75%, 1);  
  --color-secondary-dark: hsla(6, 80%, 17%, 1);   

  --color-accent: hsla(51, 100%, 50%, 1);           /* accent color */
  --color-accent-light: hsla(51, 100%, 65%, 1);
  --color-accent-dark: hsla(51, 100%, 35%, 1);

  /* Feedback Colors */
  --color-success: hsla(145, 63%, 42%, 1);          
  --color-success-light: hsla(145, 63%, 60%, 1);
  --color-success-dark: hsla(145, 63%, 17%, 1);

  --color-warning: hsla(45, 100%, 50%, 1);          
  --color-warning-light: hsla(45, 100%, 70%, 1);
  --color-warning-dark: hsla(45, 100%, 17%, 1);

  --color-error: hsla(348, 83%, 47%, 1);            
  --color-error-light: hsla(348, 83%, 65%, 1);
  --color-error-dark: hsla(348, 83%, 28%, 1);

  /* Neutral / Grayscale */
  --color-bg: hsla(0, 0%, 7%, 1);               /* dark background */
  --color-surface: hsla(0, 0%, 12%, 1);          /* card or container background */
  --color-border: hsla(0, 0%, 16%, 1);           /* subtle border */
  --color-text-primary: hsla(0, 0%, 88%, 1);     /* high contrast text */
  --color-text-secondary: hsla(0, 0%, 63%, 1);   /* secondary text */
  --color-text-inverse: hsla(0, 0%, 7%, 1);      /* text on light backgrounds */
}

/* 
:root{

    --primary-color-100:hsla(240,30%,10%,1);
    --primary-color-200: hsla(240,40%,40%,1);
    --primary-darker-100: hsla(from var(--primary-color-100) h calc(s - 10) l);
    --font-color:hsla(0,100%,100%,1);

    --secondary-color-100:rgb(24, 68, 124);
    --secondary-color-200: hsla(from var(--secondary-color-100) h s calc(l + 30));
    --secondary-font: var(--primary-color);

    --color-darker-200: rgba(0,0,0,0.2);
    --color-darker-400: rgba(0,0,0,0.4);
    --color-darker-600: rgba(0,0,0,0.6);
    --color-darker-800: rgba(0,0,0,0.8);
    --color-lighter-200: rgba(255, 255, 255, 0.2);
    --color-lighter-400: rgba(255, 255, 255, 0.4);
    --color-lighter-600: rgba(255, 255, 255, 0.6);
    --color-lighter-800: rgba(255, 255, 255, 0.8);

    --color-danger: hsl(0, 63%, 32%);
    --color-danger-darker: hsla(from var(--color-danger) h calc(s - 10) calc(l - 15));
    --color-warning: hsl(41, 86%, 34%);
    --color-warning-darker: hsla(from var(--color-warning) h calc(s - 10) calc(l - 15));
    --color-success: hsl(140, 84%, 25%);
    --color-success-darker: hsla(from var(--color-success) h calc(s - 10) calc(l - 15));
    --button-gradient: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.7) 100%);
    --button-shadow: rgba(0, 0, 0, 0.3);
} */

.white {
    color: var(--font-color);
}

.color-primary-100{
    color: var(--font-color);
    background-color: var(--primary-color-100);
}

.color-primary-200{
    color: var(--font-color);
    background-color: var(--primary-color-200);
}

.color-primary-darker{
    position: relative;
    background-color: var(--color-danger-darker);
}
button {
    all:unset;
    outline: revert;
}

body {
    box-sizing: border-box;
    margin: 0;
}

table {
    border: none;
}

input {
    border-radius: 20px;
    border: none;
}

ul {
    all:unset;
}

li {
    all:unset;
    display: block;
}
a {
    all:unset;
    cursor: pointer;
}

dialog {
    background-color: unset;
    color:unset;
    border:unset;
}
article {
    all: unset;
    /* display: none; */
}
@keyframes rotation {
    0% {
        transform:rotate(0deg);
    }

    100% {
        transform:rotate(360deg);
    }
}

@keyframes fade {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Optional content styling */
.card img {
  width: 100%;
  display: block;
}
:root {
    --border-rounding: .25rem;
    --grid-gaps: 1.25rem;
    --spacing: 1rem;
}
.flex {
    display: flex;
}

.full-height {
    min-height: 100%;
}

.flex-v {
    flex-direction: column;
}

.flex-main {
    flex-grow: 10;
}
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 9999;
}

.toast {
    min-width: 200px;
    max-width: 320px;
    padding: 12px 16px;
    border-radius: 8px;
    /* color: white; */
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* opacity: 0; */
    transform: translateY(10px);
    animation: fadeInUp 0.3s ease-out forwards;
}

.toast.info {
    background-color: var(--secondary-color-100);
    /* margin: 20px; */
}

.toast.danger {
    background-color: var(--color-danger);
}
/* @import url(./grid.css); */
/* @import url(./root.css); */
/* @import url(./svg.css); */
html {
    background: var(--color-bg);
    color: var(--color-text-primary);
    box-sizing: border-box;
}


/* ==========================
   DARK-MODE BUTTON STYLES
   ========================== */

.btn {
  margin: 5px;
  border-radius: calc(1 * var(--border-rounding));
  padding: 8px 16px;
  background: var(--color-surface); /* default dark background */
  color: var(--color-text-primary);
  font-weight: 600;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease
  /* , box-shadow 0.3s ease */
  ;
  /* box-shadow:  */
    /* 0 4px 8px var(--color-secondary),  */
    /* 0 0 10px var(--color-primary); */
  overflow: hidden;
}

/* Gradient overlay for hover using pseudo-element */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* background: radial-gradient(
    circle at 0% 0%,
    var(--color-primary-dark) 0%,
    var(--color-primary) 50%,
    var(--color-secondary) 90%
  ); */
  /* clip-path: circle(0% at 0% 0%); */
  transition: all 0.5s ease;
  z-index: 0;
}

/* Ensure text is above gradient */
.btn span, .btn * {
  position: relative;
  z-index: 2;
}

/* Hover state */
.btn:hover {
  /* transform:  */
  /* translateY(-2px)  */
  /* scale(1.02); */
  background-color: var(--color-primary-dark);
  /* box-shadow:  */
    /* 0 6px 12px rgba(0,0,0,0.7),  */
    /* 0 0 15px var(--color-primary); */
}

.btn:hover::before {
  clip-path: circle(150% at 0% 0%);
}

/* Active / Pressed state */
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Important button variation */
.btn.important {
  color: var(--color-text-primary);
  border: 1px solid var(--color-primary);
}

/* Contrast button variation */
.btn.contrast {
  color: var(--color-secondary);
}

/* Action-tray button variation */
.btn.action-tray {
  float: right;
  color: var(--color-text-primary);
  border: 1px solid var(--color-error);
}

/* Optional: small subtle hover for other states */
.btn:not(.action-tray):not(.contrast):not(.important):hover {
  color: var(--color-text-primary);
}

#header {
    display: flex;
    padding-top: 10px;
    flex-direction: row;
    justify-content: space-between;
    /* margin-bottom: 2rem; */
    min-height: 3.5rem;
}

#empty {
    flex-grow: 3;
}
/* Base menu */
#menu {
  position: relative;
  background: var(--color-surface);
  width: 60px; /* collapsed default */
  height: 100%;
  transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
  overflow: hidden;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

/* Expanded menu width */
#menu:not(.menuClosed) {
  width: 200px;
}

/* Menu navigation wrapper */
.menu-nav {
    position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-block: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* Toggle button */
.menu-toggle {
  width: 1.5rem;
  height: 1.5rem;
  /* background: var(--primary-color-100); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  color: var(--font-color);
  font-size: 16px;
  /* margin-inline: auto; */
  position: relative; /* keep icons positioned inside */
}
#menu:not(.menuOpen) .menu-toggle {
  /* margin-right: auto; */
}

#menu:not(.menuClosed) .menu-toggle {
  transform: rotate(180deg);
  background: var(--primary-color-200);
  margin-left: auto; /* pushes it to the right, but stays inside */
}

.menu-list {
  padding-inline: 0px;
}

/* Toggle icons */
.menu-toggle .icon-open,
.menu-toggle .icon-close {
  position: absolute;
  transition: opacity 0.3s ease;
}

.menu-toggle .icon-open {
  opacity: 1;
}
#menu:not(.menuClosed) .menu-toggle .icon-open {
  opacity: 0;
}

.menu-toggle .icon-close {
  opacity: 0;
}
#menu:not(.menuClosed) .menu-toggle .icon-close {
  opacity: 1;
}

/* Menu items */
#menu > ul {
  margin: 0;
  /* padding: 10px; */
  flex: 1;
}

/* #menu > ul > li  */
.menuItem {
  display: flex;
  /* align-items: center; */
  justify-content:center;
  /* padding: 10px; */
  margin-bottom: 10px;
  font-size: 18px;
  white-space: nowrap;
  
  transition: all 0.3s ease, transform 0.3s ease;
}

#menu.menuOpen .menuItem {
  justify-content:flex-start;
}

#menu.menuOpen .menuIcon {
  /* justify-content:space-between; */
  /* align-items: start; */
  /* margin-right: auto; */
  padding-right: 1rem;
}
.menuItem:hover {
  /* transform: translateX(2px); */
  background-color: var(--color-primary-dark);
}

.menuItem.active {
  background:var(--color-border)
}
.menuIcon {
  /* position:relative; */
  text-align: center;
  /* padding-right: 1rem; */
  width: 1.5rem;
  height: 1.5rem;
  /* margin-left: auto */
  /* left: 10px; */
}
/* Smooth expand/collapse of text */

.menuText {
  display: inline-block;
  max-width: 150px;
  opacity: 1;
  overflow: hidden;
  transition: max-width 0.3s ease, opacity 0.3s ease;
}

/* When menu is closed */
#menu.menuClosed .menuText {
  max-width: 0;
  opacity: 0;
}

/* ---------------- MOBILE MODE ---------------- */
@media (max-width: 768px) {
  /* Collapsed: floating button */
  #menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color-100);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 0;
    overflow: visible;
  }

  /* Expanded: full screen overlay */
  #menu:not(.menuClosed) {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Menu-nav top-right in overlay */
  .menu-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    width: auto; /* just fit its contents */
    padding: 0;
  }

  .menu-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color-200);
  }

  /* Hide menu items when closed */
  #menu.menuClosed ul {
    display: none;
  }

  /* Show menu items centered when open */
  #menu:not(.menuClosed) ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  #menu ul li {
    font-size: 24px;
    background: none;
  }
}

/* Defines the application layout*/
:root{
    --side-menu:200px;
    --header-height: 5rem;
    --footer-height:5rem;
    --content-height: calc(100% - var(--header-height)) ;
    
}

#app {
    min-height: 100vh;
}
#content-grid {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas: "menu content";
    transition: all .2s ease-in-out;
    min-height: 100%;
    gap:20px;
}

#app-grid {
    height: 100%;
    display: grid;
    /* gap: 20px; */
    /* grid-template-columns: auto auto; */
    grid-template-rows: 
        var(--header-height) 
        var(--content-height) ;
        /* var(--footer-height); */
    grid-template-areas: 
    "header"
    "content"
    /* "menu alert" */
    /* "footer"; */

    
}
#content-grid.menuOpen {
    grid-template-columns: 200px auto;
}

#content-grid.menuClosed {
    grid-template-columns: 50px auto;
}
#header {
    grid-area: header;
    background: var(--color-surface);
    padding-inline: 20px;
}

#content {

    grid-area: content;
    padding-inline: 20px;
    width: calc(100% - var(--side-menu));
    min-height: 100%;
}

#menu {
    grid-area: menu;
    /* height: 100%; */
    /* padding-inline: 20px */
}

#footer {
    grid-area: footer;
    /* padding-inline: 20px; */
    display: flex;
    justify-content: center;
    align-items: center;

}


#app {
    /* padding-inline: 20px; */
    height: 100vh;
    container:app / inline-size;
    min-width: 300px;    
}

/* .deck {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
}
.card {
    border-radius: 2.5rem;
    flex-grow: 1;
    border: 1px solid var(--font-color);
    height: 100px;
    display: inline-block;
    padding: 20px;
    

} */
@container app (max-width: 600px){
    .app-grid {
        height: 100%;
        display: grid;
        overflow: hidden;
        grid-template-columns: 1fr;
        /* grid-template-rows: 50px 1fr 50px; */
        grid-template-areas: 
        "header"
        "content"
        /* "footer"; */
    }

    #alert.show-alert {
        /* display: block; */
        opacity: 100%;
        top: -300px;
        height: 100px;
    }
    
    /* #menu {
        flex-direction: row;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 60px;
      top: auto;
      background-color: #1e1e2f;
    } */
    
}
#context-menu {
    position: absolute;
    bottom: 60px;
    right: 60px;
    transform: rotateZ(.25turn);
    border-radius: 50%;
    background: var(--color-primary-dark);
    padding: 10px;
    

}
#context-menu>svg {
    display: block;
    margin:auto;
}
#content {
    /* position: relative; */

}
.loading-icon {
    position: absolute;
    top: 50%;
    translate: -50%;
    left:50%;
    /* animation: 
    3s rotation infinite linear,
    10s fade infinite linear alternate; */
}

@keyframes rotation {
    0% {
        transform:rotate(0deg);
    }

    100% {
        transform:rotate(360deg);
    }
}

@keyframes fade {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
/* grid.css */
.grid {
  display: grid;
  width: 100%;
  gap: 20px;
  margin: var(--spacing);
  perspective: 1000px;
}

.deck-1 {
    display: grid;
    gap: 1rem;
    /* grid-template-columns: 1fr; */
}

/* .card {
    border-radius: calc(2 * var(--border-rounding));
    flex-grow: 1;
    height: 100px;
    display: inline-block;
    padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
} */


.deck-widgets {
    display: flex;
    gap:1rem;
    justify-content: space-around;
    padding-inline: 1rem;
}

.widget {
    /* display: flex; */
    position: relative;
    align-items: center;
    border-radius: var(--border-rounding);
    /* flex-grow: 1; */
    width: 20%;
    border: 1px solid var(--font-color);
    /* height: 100px; */
    /* display: inline-block; */
    padding: 20px;
    background-color: var(--primary-color-200);
}

.widget-icon {
    font-size: 3rem;
    margin: auto;
}
.widget-badge {
    position: absolute;
    bottom: .25rem;
    right: 0.5rem;
    border-radius: 50%;
    background-color: var(--color-danger);
    padding: .5rem;
    aspect-ratio: 1;
    min-width:1rem;
    text-align:center;
}

/* .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  perspective: 1200px;
} */

/* Card styling */
.card {
    flex-grow: 1;
    height: 100px;
    display: inline-block;
    padding: 20px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  box-shadow: 
    0 6px 15px rgba(0,0,0,0.6),
    0 0 15px hsla(210, 100%, 45%, 0.3); /* primary accent glow */
  
  background: var(--color-surface); /* default card background */
  perspective: 1000px;
   /* transform-style: preserve-3d; */
}

/* Gradient blob overlay */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 0% 0%,
    var(--color-primary-dark) 0%,
    /* var(--color-primary) 70%, */
    var(--color-surface) 100%
  );
  clip-path: circle(0% at 0% 0%); /* start as tiny blob in top-left corner */
  transition: clip-path 0.6s ease;
  z-index: 0;
}

/* Header and body - transparent so gradient shows */
.card-header {
  padding: 16px;
  color: var(--color-text-primary);
  font-weight: bold;
  /* z-index: 2; */
  position: relative;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.card-body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  color: var(--color-text-primary);
  /* z-index: 1; */
  transform: translateY(100%) translateZ(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

/* Hover effects */
.card:hover {
  /* transform: 
  translateY(-8px) 
  scale(1.02) rotateX(2deg) rotateY(-2deg)
  ; */
  box-shadow: 
    0 12px 30px rgba(0,0,0,0.8),
    0 0 25px var(--color-primary),
    inset 0 0 20px var(--color-primary-dark);
  
}
.card:hover .card-inner{
transform: rotateY(180deg);
}

.card:hover::before {
  clip-path: circle(150% at 0% 0%); /* expand blob to fill card */
}

/* .card:hover .card-header {
  transform: translateY(-100%) translateZ(20px);
  opacity: 0;
}

.card:hover .card-body {
  transform: translateY(0) translateZ(20px);
  color: var(--color-text-primary);
  background-color: hsla(0, 0, 0, .5);
  opacity: 1;
} */

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d; /* Ensures children stay in 3D */
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* Hides "mirror" side */
  /* display: flex; */
  /* align-items: center; */
  /* justify-content: center; */
  /* border: 1px solid #ccc; */
  /* border-radius: 8px; */
  /* background: white; */
}

.card-front {
  /* front styling */
}

.card-back {
  transform: rotateY(180deg); 
  /* Position back side */
  background: #f8f8f8;
}

/* Base skeleton style */
.skeleton-base {
  background: linear-gradient(
    90deg,
    var(--primary-color-100) 25%,
    var(--primary-color-200) 50%,
    var(--primary-color-100) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2.2s infinite;
}

/* Shimmer animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.mb {
  margin-bottom: 0.75rem;
}

/* Optional utility styles */
.sk-card {
  background-color: var(--primary-color-100);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 320px;
  margin: 1rem;
}

/* Table Container */
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
}

.table-actions {
  display: flex;
  justify-content: space-evenly;
}
/* Table row */
tr {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Header row */
tr.headers {
  background: var(--color-primary-dark);
  color: var(--color-text-primary);
}

/* Table cells */
td, th {
  padding: 12px 16px;
  color: var(--color-text-primary);
}

/* Zebra stripes for body rows (subtle) */
tr:nth-child(odd):not(.headers) {
  background: hsla(210, 20%, 12%, 1); /* subtle dark variation */
}

/* Hover effect for rows */
tr:not(.headers):hover {
  /* transform: translateY(-2px); */
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); */
  background: var(--color-border);
  /* background: radial-gradient(
    circle at 10% 10%,
    var(--color-primary-dark) 0%,
    var(--color-primary) 50%,
    var(--color-secondary) 90%
  ); */
}

/* Bottom border removal for last row */
tr:last-child {
  border-bottom: none;
}

/* Rounded corners for table */
table tr:first-child th:first-child {
  border-top-left-radius: 12px;
}

table tr:first-child th:last-child {
  border-top-right-radius: 12px;
}

table tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

table tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/* Special row states */
tr.pending {
  background-color: var(--color-warning);
  color: var(--color-text-primary);
}


dialog {
  background: var(--color-surface);
  padding: var(--spacing);
  width: 80%;
  height: 60%;
  border: 1px solid var(--color-border);
  border-radius: calc(4 * var(--border-rounding));
}

.modal {
    border: none;
    border-radius: var(--border-rounding);
    padding: 20px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  }
  
  dialog::backdrop {
    background: rgba(0, 0, 0, 0.7);
  }
  
  .dialog-button {
    background: var(--color-bg);
    /* position: absolute; */
    /* top: 10px; */
    /* right: 10px; */
    /* background: none; */
    /* border: none; */
    /* font-size: 1.5rem; */
    /* cursor: pointer; */
    float: right;
  }
  
form.basic {
    background: var(--color-bg);
    padding: 20px;
    border-radius: 25px;
    color: var(--color-text);
    
}

input.basic, textarea.basic {
    color: var(--color-text);
    margin-block: 5px 20px;
    margin-inline-start: 10px;
    font-size: 20px;
    padding: 10px;
    background: var(--color-text-inverse);
    display: block;
    width:80%;
    outline: 3px solid var(--color-border);
}

form.basic input:focus textarea:focus {
    outline: 3px solid var(--color-primary);
    background: var(--color-primary-dark);

}

form.basic label {
    font-size: 20px;
    display: block;
    padding-left: 20px;
}


footer {
    background: var(--color-primary-dark);
    /* display: grid; */
    gap: 50px;
    /* padding: 10px; */
}


.btn-icon {
    height: 20px;
}

.menu-grid {
    display: grid;
    grid-auto-flow: column;
    grid-column: repeat(3, 1fr);
    gap: 1rem;
    padding:1rem;
}

.grid-item {
    outline: 1px solid white;
    border-radius: 1rem;
    height: 3rem;
    padding: .5rem;
    /* aspect-ratio: 1; */
}
#alert-container {
        /* position: absolute; */
        height: 0px;
}

#alert {
    background-color: var(--primary-color-100);
    /* position: absolute; */
    grid-area: alert;
    margin:20px;
    border: 1px solid white;
    border-radius: 15px;
    transition: all .1s ease-in;
    position: relative;
    height: 0px;
}
#alert:before {
    border-radius: 15px;
    content:"";
    position: absolute;
    background: var(--color-darker-200);
    height: 100%;
    width: 100%;
}
#alert-text-container{
    padding: 10px;

}


#alert.hide-alert {
    /* display:inline; */
    opacity: 0%;
    top:50px
}

#alert.show-alert {
    /* display: block; */
    opacity: 100%;
    top: -100px;
    height: 100px;
}
@container app (max-width: 600px){
    
    #alert.show-alert {
        /* display: block; */
        opacity: 100%;
        top: -300px;
        height: 100px;
    }    
}
#alert.show-alert#alert-text {
    width: 80%;
}

#alert>span {
    font-size: 20px;
    padding: 20px;
}

#alert.danger {
    background-color: var(--color-danger);
    /* color: var(--primary-color-100); */
}

#alert.warning {
    background-color: var(--color-warning);
}
#bottom-menu {
    position: fixed;
    display: inline-block;
    /* overflow: hidden; */
    /* height: 0px; */
    bottom: 0px;
    left:50%;
    translate: -50%;
    transition: .1s all ease-in-out;
    /* max-height: 0px; */
    height: 0px;
    background: var(--primary-color-200);
    width: 90%;
    margin: auto;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

#bottom-menu.open {
    padding-top: 20px;
    overflow: visible;
    /* height: auto; */
    height: 300px;
}

#bottom-menu>div {
    /* text-align: center; */
}

#bottom-menu-action-tray {
    display: flex;
    flex-direction: row;
    justify-content: end;
    padding-inline: 20px;
}

.bottom-menu-action {
    height: 20px;
    width: 30px;
    margin-inline-end: 10px;
    /* background-color: var(--primary-color-100); */
    border-radius: 50%;
    /* padding: 20px; */
}

.bottom-menu-item {
    display: flex;
    flex-direction: row;
    gap: 10px;
    height: 20px;
    margin:10px;
    padding: 10px;
    /* text-align: right; */
    justify-content: center;
    border-bottom: 1px solid var(--primary-color-100);
}
.bottom-menu-item>p {
    margin:0px;
    
    /* position: absolute; */
    /* top: 50%;
    translate: -50%; */
}
