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


 */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --page-bg: #f3f5f8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-muted: #eef3f8;
  --surface-strong: #e7edf5;
  --text: #23314d;
  --text-muted: #6a7894;
  --accent: #2f7de1;
  --accent-strong: #1b5cb2;
  --accent-soft: #e8f1ff;
  --border: rgba(111, 132, 168, 0.18);
  --border-strong: rgba(111, 132, 168, 0.32);
  --shadow-lg: 0 24px 60px rgba(35, 49, 77, 0.12);
  --shadow-md: 0 14px 32px rgba(35, 49, 77, 0.09);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --content-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(47, 125, 225, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(74, 160, 124, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #f1f4f8 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background: transparent;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

.app-shell {
  min-height: 100vh;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(243, 245, 248, 0.76);
  border-bottom: 1px solid rgba(111, 132, 168, 0.12);
}

.app-topbar__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-brand__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #1d2a46 0%, #2f7de1 100%);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: var(--shadow-md);
}

.app-brand__eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.app-brand__title {
  font-size: 18px;
  font-weight: 800;
}

.app-topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-user-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.app-main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 28px;
}

.page-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(47, 125, 225, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 252, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
}

.page-hero__eyebrow {
  margin-bottom: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
}

.page-hero__title {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.96;
  max-width: 12ch;
}

.page-hero__subtitle {
  margin-top: 12px;
  max-width: 70ch;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.surface-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.panel {
  padding: 24px;
}

.button,
button,
input[type="submit"] {
  appearance: none;
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, color 120ms ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

.button--primary,
input[type="submit"] {
  background: linear-gradient(135deg, #2f7de1 0%, #1f63bd 100%);
  color: #fff;
  box-shadow: 0 12px 22px rgba(47, 125, 225, 0.26);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border: 1px solid var(--border);
}

.inline-form {
  display: inline;
}

input[type="text"],
input[type="number"],
input[type="date"] {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  padding: 0 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus {
  outline: none;
  border-color: rgba(47, 125, 225, 0.45);
  box-shadow: 0 0 0 4px rgba(47, 125, 225, 0.12);
  background: #fff;
}

label {
  color: var(--text);
  font-weight: 700;
}

.eyebrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
}

@media (max-width: 1000px) {
  .app-topbar__inner,
  .app-main {
    padding: 18px;
  }

  .app-topbar__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 24px 22px;
  }
}
