/* === Global Design Tokens === */
:root {
  --bg-page: #f7fafd;
  --bg-card: #ffffff;
  --border-color: #cfe4f7;
  --accent-blue: #001a57;
  --accent-hover: #274a67;
  --text-body: #274a67;
  --text-heading: #001a57;
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.07);
  --radius-large: 14px;
  --radius-medium: 8px;
  --radius-small: 4px;
  --spacing: 1.5rem;
}

/* === Base Layout === */
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  background-color: var(--bg-page);
  color: var(--text-body);
  margin: 0;
  padding: 0;
}

.container {
  max-width: 720px;
  margin: 2rem auto;
  padding: 2.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

label {
  display: block;
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.96rem;
  /*margin-bottom: 0.4rem;*/
}

/* === Form Elements === */
input,
select,
textarea,
button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: var(--radius-medium);
  border: 1px solid var(--border-color);
  background: #f6f9fd;
  padding: 0.6rem 0.9rem;
  margin-bottom: 1.2rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: var(--accent-blue);
  outline: none;
}

/* === Buttons === */
.btn-primary {
  background-color: var(--accent-blue);
  color: #fff;
  border: none;
  padding: 0.75rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-medium);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-outline {
  background-color: #fff;
  color: var(--accent-blue);
  border: 2px solid var(--accent-blue);
  padding: 0.7rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-medium);
  cursor: pointer;
}

.btn-outline:hover {
  background-color: #eaf3fb;
  border-color: var(--accent-hover);
}

/* === Utility === */
.flex {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  margin-bottom: 2rem;
}
.input-mismatch {
    background-color: #ffd6db !important; /* very soft pinkish red */
    transition: background 0.3s;
}

/* Toast container */
.toast {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 180px;
  max-width: 420px;
  padding: 0.55rem 1.6rem;
  border-radius: 8px;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  font-weight: 600;
  font-size: 1.1em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s;
  text-align: center;
}


/* Green (success) */
.toast-success {
  background: #24be63;
  color: #fff;
}

/* Red (error) */
.toast-error {
  background: #d72631;
  color: #fff;
}

/* Yellow (warn) */
.toast-warn {
  background: #ffc72c;
  color: #333;
}
/* ==== Sitewide Info Bubble ==== */
.ll-info-bubble {
  position: relative;
  display: inline-block;
  cursor: pointer;
  font-family: 'Nunito', 'Nunito Sans', Arial, sans-serif;
}

.ll-info-bubble-icon {
  font-size: 1.13em;
  font-weight: 700;
  color: #2b799d;              /* Site light blue */
  background: #fdfae5;         /* Pastel yellow */
  border-radius: 50%;
  border: 1.2px solid #a8bfff; /* Subtle navy-blue offset */
  padding: 0 7px;
  margin-left: 0.25em;
  transition: background 0.2s;
}

.ll-info-bubble-icon:hover {
  background: #f6f0ce;         /* Slightly deeper yellow on hover */
}

.ll-info-bubble-text {
  visibility: hidden;
  width: 270px;
  background: #fdfae5;         /* Pastel yellow */
  color: #2b799d;              /* Friendly site blue */
  font-family: 'Nunito', 'Nunito Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.35;
  border: 1.5px solid #425387; /* Subtle navy-blue border */
  border-radius: 16px 16px 16px 0;
  box-shadow: 1px 4px 15px #9cbee955;
  padding: 0.85em 1.1em 0.9em 1.1em;
  position: absolute;
  z-index: 101;
  left: 130%;                  /* Appear to right of icon */
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}

.ll-info-bubble:hover .ll-info-bubble-text,
.ll-info-bubble:focus .ll-info-bubble-text {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.standard-container {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
@font-face {
  font-family: 'Nunito';
  src: url('/assets/fonts/Nunito/Nunito-Light.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('/assets/fonts/Nunito/Nunito-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.page-title {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #44485b;
  margin-bottom: 1.1em;
  margin-top: 0.2em;
  padding-bottom: 0.25em;
  border-bottom: 2.5px solid #ffe066;    /* LLL yellow accent */
  border-radius: 1.5px;
  background: none;
  box-shadow: none;
  letter-spacing: 0.01em;
  display: inline-block;
}

@media (max-width: 600px) {
  .page-title {
    font-size: 1.3rem;
    margin-bottom: 0.7em;
    border-bottom-width: 2px;
  }
}