/* assets/apps.css */

:root {
    --green: #678b43;
    --orange: #ffb530;
    --bg: #fff;
    --muted: #6b7280;
}

* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.card {
    width: min(420px, 92vw);
    background: var(--bg);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    border: 1px solid rgba(0, 0, 0, .06);
}

h1 {
    margin: 0 0 6px 0;
    font-size: 22px;
    color: #111827;
}

.muted {
    color: var(--muted);
    margin: 0 0 16px 0;
}

label {
    display: block;
    margin: 10px 0 6px 0;
    font-size: 13px;
    color: #111827;
}

input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .18);
    outline: none;
}

input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(103, 139, 67, .18);
}

.btn {
    margin-top: 14px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 0;
    background: var(--green);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(.95);
}

.alert {
    background: rgba(255, 181, 48, .22);
    border: 1px solid rgba(255, 181, 48, .5);
    padding: 10px 12px;
    border-radius: 12px;
    margin: 10px 0;
    color: #111827;
}



.overlay{
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(2px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  z-index: 9999;
}

.overlay.hidden{ display:none; }

.spinner{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 4px solid rgba(0,0,0,.12);
  border-top-color: #678b43;
  animation: spin 0.9s linear infinite;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

@keyframes spin { to { transform: rotate(360deg); } }

.overlay-text{
  font-weight: 700;
  color: #2b2b2b;
}


.tageditor{ display:flex; flex-direction:column; gap:8px; }
.tagrow{ display:flex; flex-wrap:wrap; gap:8px; }
.tagchip{
  background:#eef4e8;
  border:1px solid rgba(103,139,67,.25);
  border-radius:999px;
  padding:6px 10px;
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-weight:600;
}
.tagx{
  border:0;
  background:transparent;
  font-size:16px;
  line-height:1;
  cursor:pointer;
  color:#678b43;
}
.tagadd{ display:flex; gap:10px; align-items:center; }
.tagadd .tagbtn{ padding:10px 14px; }
.app-footer{
  position: fixed;
  left: 0; right: 0;
  bottom: 6px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;

  z-index: 999;           /* garantiert über Table/Card */
  pointer-events: none;

  padding: 4px 10px;
  background: rgba(246,247,246,.85); /* dein bg leicht transparent */
  backdrop-filter: blur(2px);
}


/* damit der Footer nicht über dem Table-Ende liegt */
.app-body{
  padding-bottom: 34px;
}
