/*
 * 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.
 *


 */

:root {
  /* Zokia theme extracted from Paper sign-in page */
  --zk-bg: #0B3D2E;
  --zk-sidebar: #072A1F;
  --zk-black: #E8E1D6; /* Ink / main text */
  --zk-gold: #B0FA21; /* Accent */
  --zk-link: #6B8F7B;
  --zk-link-dark: #B0FA21;
  --zk-stroke: rgba(255, 255, 255, 0.12);
  --zk-muted: #6B8F7B;
  --zk-dim: rgba(255, 255, 255, 0.60);
  --zk-input: #4A6B5A;
  --zk-surface: rgba(255, 255, 255, 0.04);
  --zk-success: #22C55E;
}

body {
  background-color: var(--zk-bg);
  color: var(--zk-black);
}

/* Fallback theme utilities when Tailwind build output is stale */
.bg-zk-bg { background-color: var(--zk-bg); }
.bg-zk-sidebar { background-color: var(--zk-sidebar); }
.bg-zk-black { background-color: var(--zk-black); }
.bg-zk-input { background-color: var(--zk-input); }
.bg-zk-gold { background-color: var(--zk-gold); }
.bg-zk-surface { background-color: var(--zk-surface); }
.text-zk-black { color: var(--zk-black); }
.text-zk-bg { color: var(--zk-bg); }
.text-zk-gold { color: var(--zk-gold); }
.text-zk-link { color: var(--zk-link); }
.text-zk-link-dark { color: var(--zk-link-dark); }
.text-zk-muted { color: var(--zk-muted); }
.text-zk-dim { color: var(--zk-dim); }
.text-zk-success { color: var(--zk-success); }
.border-zk-gold { border-color: var(--zk-gold); }
.border-zk-stroke { border-color: var(--zk-stroke); }

select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23339989' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
}

/* ──────────────────────────────────────────────────────────────────────── */
/* Zokia action buttons                                                    */
/* Shared toolkit for the admin toolbar + form actions so every Create /   */
/* Edit / Sync / Cancel control has the same bones, the same focus ring,   */
/* and a proper hover response instead of the flat inline-styled pills.    */
/* ──────────────────────────────────────────────────────────────────────── */

.zk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-family: var(--font-heading, "DM Sans"), "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  transition:
    background-color 150ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 150ms cubic-bezier(0.22, 1, 0.36, 1),
    color 150ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 120ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 150ms cubic-bezier(0.22, 1, 0.36, 1);
}

.zk-btn:focus { outline: none; }
.zk-btn:focus-visible {
  outline: 2px solid rgba(176, 250, 33, 0.55);
  outline-offset: 2px;
}
.zk-btn:active { transform: translateY(1px); }
.zk-btn[disabled],
.zk-btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

/* Primary — solid lime. The one button on the page that owns attention. */
.zk-btn-primary {
  background: #B0FA21;
  color: #072A1F;
  font-weight: 600;
  /* paired insets give the pill real depth without a fake drop shadow */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(11, 61, 46, 0.18);
}
.zk-btn-primary:hover {
  background: #C3FF3E;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(11, 61, 46, 0.22);
}

.zk-btn-primary--lg { height: 44px; padding: 0 24px; font-size: 14px; }

/* Ghost — neutral outline for Cancel / secondary destinations. */
.zk-btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  color: #A7BFA5;
}
.zk-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(176, 250, 33, 0.32);
  color: #D7E9A3;
}
.zk-btn-ghost--lg { height: 44px; padding: 0 24px; font-size: 14px; }

/* Chip — the compact 36px cluster buttons (Create / Sync / Reset). */
.zk-btn-chip {
  height: 36px;
  padding: 0 12px;
  gap: 6px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 500;
}

/* Filled accent — "Create account" when Fungura is not connected yet. */
.zk-btn-chip--accent {
  background: rgba(79, 161, 223, 0.14);
  border-color: rgba(79, 161, 223, 0.44);
  color: #A6D1EE;
}
.zk-btn-chip--accent:hover {
  background: rgba(79, 161, 223, 0.22);
  border-color: rgba(79, 161, 223, 0.62);
  color: #D6EAF6;
}

/* Outlined accent — "Sync profile" when the account already exists. */
.zk-btn-chip--accent-ghost {
  background: transparent;
  border-color: rgba(79, 161, 223, 0.32);
  color: #A6D1EE;
}
.zk-btn-chip--accent-ghost:hover {
  background: rgba(79, 161, 223, 0.10);
  border-color: rgba(79, 161, 223, 0.50);
  color: #D6EAF6;
}

/* Neutral ghost — "Reset password", an admin utility. */
.zk-btn-chip--neutral {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  color: #A7BFA5;
}
.zk-btn-chip--neutral:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(176, 250, 33, 0.32);
  color: #D7E9A3;
}

/* Back link — quietest, no box, chevron nudges left on hover. */
.zk-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  font-family: var(--font-heading, "DM Sans"), "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #A7BFA5;
  text-decoration: none;
  transition: color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.zk-btn-back:hover { color: #D7E9A3; }
.zk-btn-back:focus-visible {
  outline: 2px solid rgba(176, 250, 33, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}
.zk-btn-back__chev {
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.zk-btn-back:hover .zk-btn-back__chev { transform: translateX(-3px); }

/* Eyebrow + hairline used to group the Fungura cluster without a box. */
.zk-kicker {
  font-family: var(--font-heading, "DM Sans"), "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B8F7B;
  line-height: 1;
}
.zk-rule-v {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.12);
}

/* Button icons — consistent stroke, crisp at 14px. */
.zk-btn-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.zk-btn-primary .zk-btn-icon,
.zk-btn-primary--lg .zk-btn-icon { width: 15px; height: 15px; }

