@charset "UTF-8";

/* Typography & Base Styles */
:root {
  --font-family-base: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  --font-size-base: 1.125rem;

  --color-text: #1b1b1b;
  --color-bg: #ffffff;

  /* Updated core colors */
  --color-primary: rgb(66,175,73);   /* Green */
  --color-secondary: rgb(21,72,127); /* Blue */
  --color-accent: rgb(21,72,127);    /* Using secondary as accent */

  --color-gray-light: #f5f5f5;
  --color-gray-mid: #e6e6e6;
  --color-gray-dark: #999999;

  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;

  --font-weight-regular: 400;
  --font-weight-semi-bold: 600;
  --font-weight-bold: 700;

  /* More rounded edges */
  --border-radius: 0.5rem;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

/* Remove borders/shadows from main containers to eliminate side lines */
.orbeon,
.orbeon form,
.orbeon .fr-form,
.orbeon .xforms-dialog,
.orbeon .fr-layout-grid,
.orbeon .xbl-fr-layout-grid {
  border: none !important;
  box-shadow: none !important;
  background: none !important;
}

/* Navbar */
.navbar,
.orbeon .navbar-inverse .navbar-inner {
  background-color: var(--color-secondary);
  border-bottom: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.orbeon .navbar-inverse .navbar-inner .container h1 {
  background-color: var(--color-secondary);
  color: #fff;
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-bold);
  font-size: 1.35rem;
  margin: 0;
  padding: var(--spacing-sm) 0;
}

/* Headers & Footers */
.custom-header,
.custom-footer {
  font-family: var(--font-family-base);
  margin-bottom: var(--spacing-md);
}

.custom-header {
  font-size: 1.15rem;
  font-weight: var(--font-weight-semi-bold);
  line-height: 1.5;
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--color-gray-mid);
}

.custom-header a {
  border-bottom: none;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.custom-header a:hover {
  color: var(--color-primary);
}

.custom-header p {
  font-size: 1rem;
  color: var(--color-gray-dark);
  margin: var(--spacing-xs) 0;
}

.custom-footer p {
  font-size: 0.95rem;
  color: var(--color-gray-dark);
}

.custom-footer h2 {
  color: var(--color-accent);
  font-size: 1.6rem;
  line-height: 1.15;
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-semi-bold);
  margin: var(--spacing-md) 0 var(--spacing-sm) 0;
}

/* Buttons */
.orbeon button.btn {
  font-family: var(--font-family-base);
  font-size: 1.15rem;
  line-height: 1;
  color: #fff;
  background-color: var(--color-primary);
  border: 0;
  border-radius: var(--border-radius);
  cursor: pointer;
  display: inline-block;
  font-weight: var(--font-weight-bold);
  margin-right: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.orbeon button.btn:hover {
  background-color: rgba(66,175,73, 0.8);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Headings */
.orbeon h2 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-semi-bold);
  margin: var(--spacing-md) 0 var(--spacing-sm) 0;
}

/* Links hover */
a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Form elements - larger, rounded inputs */
.orbeon input[type="text"], 
.orbeon select, 
.orbeon textarea {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  border: 1px solid var(--color-gray-mid);
  border-radius: var(--border-radius);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.orbeon input[type="text"]:focus, 
.orbeon select:focus, 
.orbeon textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(66,175,73,0.25);
  outline: none;
}

/* Each section as a card */
.orbeon .xbl-fr-section {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-md);
}

/* Section titles */
.orbeon .xbl-fr-section h2.fr-section-title, 
.orbeon .xbl-fr-section h3.fr-section-title, 
.orbeon .xbl-fr-section h4.fr-section-title, 
.orbeon .xbl-fr-section h5.fr-section-title, 
.orbeon .xbl-fr-section h6.fr-section-title {
  background-color: #f0f0f0; 
  margin: 0 0 var(--spacing-sm) 0;
  font-weight: var(--font-weight-semi-bold);
  padding: var(--spacing-sm) var(--spacing-md);
  color: #555;
  font-size: 1.75rem;
  line-height: 1.4;
  border-radius: var(--border-radius);
}

/* Tables */
.orbeon table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: none;
  box-shadow: none;
  background: #fff; /* Ensure the table has a white background */
  margin: var(--spacing-md) 0;
}

.orbeon .table th {
  font-family: var(--font-family-base);
  font-size: 1.05rem;
  font-weight: var(--font-weight-semi-bold);
  padding: var(--spacing-sm);
  background-color: var(--color-gray-mid);
  text-align: left;
  border: none;
}

.orbeon .table td {
  font-family: var(--font-family-base);
  font-size: 1.05rem;
  padding: var(--spacing-sm);
  border: none;
}

/* Utility Classes */
.no-max-width {
  max-width: none;
  margin-right: 3rem;
  padding-right: 5rem;
}

/* Remove any default styling from the navbar-fixed-top if needed */
.orbeon .navbar-fixed-top .navbar-inner {
  box-shadow: none;
}

.orbeon .fr-mode-new .fr-view-appearance-full, .orbeon .fr-mode-edit .fr-view-appearance-full, .orbeon .fr-mode-view .fr-view-appearance-full, .orbeon .fr-mode-test .fr-view-appearance-full {
    display: inline;
    border: 0px solid #e3e3e3;
    border-radius: 4px;
    background-color: white;
}