:root {
  --font-inter: "Inter", sans-serif;
  --font-inter-style: normal;
  --font-size: 1rem;
  --primary-color: #0f4b9f;
  --secondary-color: #182628;
  --neutral-color: #333333;
  --neutral-light-color: #555555;
  --disabled-color: #eeeeee;
  --black: #000000;
  --white: #ffffff;
  --error-color: #f62537;
  --neutral-medium-color: #666666;
  --border-color: #e0e0e0;
  --background-light: #f8f9fa;
  --tertiary-color: #e4c580;
  --link-hover-color: #2e51a3;
  --overlay-background: rgba(60, 60, 60, 0.95);
  --shadow-color: rgba(171, 171, 171, 0.15);
  --alert--success-background: #d1e7dd;
  --alert--success-border: #badbcc;
  --alert--success-color: #0f5132;
  --success-background: #d4edda;
  --success-color: #155724;
  --alert--error-background: #f8d7da;
  --alert--error-border: #f5c2c7;
  --alert--error-color: #842029;
  --alert--warning-background: #fff3cd;
  --alert--warning-border: #ffecb5;
  --alert--warning-color: #664d03;
  --alert--warning-text: #856404;
  --alert--warning-accent: #ffc107;
  --alert--info-background: #f0f0f0;
  --alert--info-border: #f0f0f0;
  --alert--info-color: #666666;
  --message--info-color: #f0f0f0;
  --info-background: #e3f2fd;
  --info-border: #bbdefb;
  --info-color: #1976d2;
  --info-light-background: #cce5ff;
  --info-light-color: #004085;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-inter);
  font-size: var(--font-size);
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-inter);
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 6rem;
}

h2 {
  font-size: 3.75rem;
}

h3 {
  font-size: 3rem;
}

h4 {
  font-size: 2.125rem;
}

h5 {
  font-size: 1.5rem;
}

h6 {
  font-size: 1.25rem;
}

.inter-regular,
.inter-medium,
.inter-semibold {
  font-family: var(--font-inter);
  font-style: var(--font-inter-style);
}

.inter-regular {
  font-family: var(--font-inter) !important;
  font-style: var(--font-inter-style);
  font-weight: 400 !important;
}

.inter-medium {
  font-family: var(--font-inter) !important;
  font-style: var(--font-inter-style);
  font-weight: 500 !important;
}

.inter-semibold {
  font-family: var(--font-inter) !important;
  font-style: var(--font-inter-style);
  font-weight: 600 !important;
}

@font-face {
  font-family: "Cambon Bold";
  src: url("../fonts/Cambon-Bold.ttf") format("truetype");
}

.flex-container {
  display: flex;
  gap: 0.5rem;
}

#special-ownership-fields .flex-container {
  display: flex;
  flex-wrap: wrap;
}

.full-width {
  width: 100%;
}

.margin-left-1rem {
  margin-left: 1rem;
}

.margin-bottom-1rem {
  margin-bottom: 1rem;
}

.main-with-margin {
  margin: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile__header {
  text-align: center;
  margin-bottom: 1rem;
}

.profile__body__profile__form {
  margin-bottom: 2rem;
}

.profile__body__profile__password__title {
  margin-bottom: 2rem;
}

.profile__footer {
  margin-top: 5rem;
}

.obscured {
  -webkit-text-security: disc;
  text-security: disc;
}

.profile__body__profile__bank__paragraph {
  display: flex;
  align-items: center;
}

.toggle-eye {
  cursor: pointer;
}

.title {
  font-size: 1.5em;
  font-weight: bold;
}

.breadcrumb_section{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

#document_template_tags_search {
  max-width: 20rem;
}

#document_template_tags {
  max-height: 400px;
  overflow-y: scroll;
  border: 1px solid var(--black);
  border-radius: 10px;
  padding: 10px;
}

/*
 * Names the amount a template tag carries, e.g. "{ordinary_income} Income".
 * Unselectable so selecting a row to copy the tag yields the tag alone — a
 * label pasted into a document template would render beside the amount.
 */
.tag-list__label {
  opacity: 0.65;
  font-style: italic;
  -webkit-user-select: none;
  user-select: none;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}



/* Info Box */
.info-message {
    background-color: var(--message--info-color);
    border-radius: 4px;
    padding: 0 15px;
    margin: 10px 0;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-message__text {
    margin: 0;
    width: 100%;
}

.info-message__text--strong {
    font-weight: 600;
    color: var(--neutral-color);
}



input:disabled,
select:disabled {
  background-color: var(--disabled-color);
  color: var(--neutral-color);
  border: none;
  cursor: not-allowed;
  opacity: 1;
}

/* Site settings: program document rows */
.site-settings__doc-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.site-settings__doc-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border: 0.0625rem solid #e0e0e0;
  border-radius: 0.375rem;
  background-color: #ffffff;
}

.site-settings__doc-label {
  min-width: 11.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-settings__doc-file-input {
  flex: 1;
  padding: 0.3rem 0.5rem;
  border: 0.06rem solid #ccc;
  border-radius: 0.3125rem;
  font-size: 0.9rem;
}

.site-settings__doc-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
