/* SYNDi Online account pages, promoted from docs/mockups/m4/m4.css. Part 1 is the
   subset of iSYNDi's local Bootstrap 4.3.1 (Content/bootstrap.css) the pages use. Part 2
   is the iSYNDi overrides and account-page styles, moved out of the views' inline style
   blocks so the CSP needs no 'unsafe-inline'. The mock-up-only rules are left out. */

/*!
 * Bootstrap v4.3.1 (https://getbootstrap.com/)
 * Copyright 2011-2019 The Bootstrap Authors
 * Copyright 2011-2019 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
:root { --blue: #007bff; --indigo: #6610f2; --purple: #6f42c1; --pink: #e83e8c; --red: #dc3545; --orange: #fd7e14; --yellow: #ffc107; --green: #28a745; --teal: #20c997; --cyan: #17a2b8; --white: #fff; --gray: #6c757d; --gray-dark: #343a40; --primary: #007bff; --secondary: #6c757d; --success: #28a745; --info: #17a2b8; --warning: #ffc107; --danger: #dc3545; --light: #f8f9fa; --dark: #343a40; --breakpoint-xs: 0; --breakpoint-sm: 576px; --breakpoint-md: 768px; --breakpoint-lg: 992px; --breakpoint-xl: 1200px; --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
*, *::before, *::after { box-sizing: border-box; }
html { font-family: sans-serif; line-height: 1.15; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { display: block; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; text-align: left; background-color: #fff; }
[tabindex="-1"]:focus { outline: 0 !important; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0.5rem; }
p { margin-top: 0; margin-bottom: 1rem; }
abbr[title], abbr[data-original-title] { text-decoration: underline; -webkit-text-decoration: underline dotted; text-decoration: underline dotted; cursor: help; border-bottom: 0; -webkit-text-decoration-skip-ink: none; text-decoration-skip-ink: none; }
address { margin-bottom: 1rem; font-style: normal; line-height: inherit; }
ol, ul, dl { margin-top: 0; margin-bottom: 1rem; }
ol ol, ul ul, ol ul, ul ol { margin-bottom: 0; }
dt { font-weight: 700; }
dd { margin-bottom: .5rem; margin-left: 0; }
blockquote { margin: 0 0 1rem; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; }
sub { bottom: -.25em; }
sup { top: -.5em; }
a { color: #007bff; text-decoration: none; background-color: transparent; }
a:hover { color: #0056b3; text-decoration: underline; }
a:not([href]):not([tabindex]) { color: inherit; text-decoration: none; }
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus { color: inherit; text-decoration: none; }
a:not([href]):not([tabindex]):focus { outline: 0; }
pre, code, kbd, samp { font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1em; }
pre { margin-top: 0; margin-bottom: 1rem; overflow: auto; }
figure { margin: 0 0 1rem; }
img { vertical-align: middle; border-style: none; }
svg { overflow: hidden; vertical-align: middle; }
table { border-collapse: collapse; }
caption { padding-top: 0.75rem; padding-bottom: 0.75rem; color: #6c757d; text-align: left; caption-side: bottom; }
th { text-align: inherit; }
label { display: inline-block; margin-bottom: 0.5rem; }
button { border-radius: 0; }
button:focus { outline: 1px dotted; outline: 5px auto -webkit-focus-ring-color; }
input, button, select, optgroup, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; }
button, input { overflow: visible; }
button, select { text-transform: none; }
select { word-wrap: normal; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button:not(:disabled), [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled) { cursor: pointer; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { padding: 0; border-style: none; }
input[type="radio"], input[type="checkbox"] { box-sizing: border-box; padding: 0; }
input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"] { -webkit-appearance: listbox; }
textarea { overflow: auto; resize: vertical; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
legend { display: block; width: 100%; max-width: 100%; padding: 0; margin-bottom: .5rem; font-size: 1.5rem; line-height: inherit; color: inherit; white-space: normal; }
progress { vertical-align: baseline; }
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"] { outline-offset: -2px; -webkit-appearance: none; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { font: inherit; -webkit-appearance: button; }
output { display: inline-block; }
summary { display: list-item; cursor: pointer; }
template { display: none; }
[hidden] { display: none !important; }
h1, h2, h3, h4, h5, h6 { margin-bottom: 0.5rem; font-weight: 500; line-height: 1.2; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
hr { margin-top: 1rem; margin-bottom: 1rem; border: 0; border-top: 1px solid rgba(0, 0, 0, 0.1); }
small, .small { font-size: 80%; font-weight: 400; }
mark { padding: 0.2em; background-color: #fcf8e3; }
code { font-size: 87.5%; color: #e83e8c; word-break: break-word; }
a > code { color: inherit; }
kbd { padding: 0.2rem 0.4rem; font-size: 87.5%; color: #fff; background-color: #212529; border-radius: 0.2rem; }
kbd kbd { padding: 0; font-size: 100%; font-weight: 700; }
pre { display: block; font-size: 87.5%; color: #212529; }
pre code { font-size: inherit; color: inherit; word-break: normal; }
.container { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
@media (min-width: 576px) {
  .container { max-width: 540px; }
}
@media (min-width: 768px) {
  .container { max-width: 720px; }
}
@media (min-width: 992px) {
  .container { max-width: 960px; }
}
@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}
.container-fluid { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
.row { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.col-12, .col, .col-sm-6, .col-md-6, .col-lg-5, .col-xl-4 { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; }
.col { -ms-flex-preferred-size: 0; flex-basis: 0; -ms-flex-positive: 1; flex-grow: 1; max-width: 100%; }
.col-12 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; }
@media (min-width: 576px) {
  .col-sm-6 { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 768px) {
  .col-md-6 { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 992px) {
  .col-lg-5 { -ms-flex: 0 0 41.666667%; flex: 0 0 41.666667%; max-width: 41.666667%; }
}
@media (min-width: 1200px) {
  .col-xl-4 { -ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%; }
}
.table { width: 100%; margin-bottom: 1rem; color: #212529; }
.table th, .table td { padding: 0.75rem; vertical-align: top; border-top: 1px solid #dee2e6; }
.table thead th { vertical-align: bottom; border-bottom: 2px solid #dee2e6; }
.table tbody + tbody { border-top: 2px solid #dee2e6; }
.table-sm th, .table-sm td { padding: 0.3rem; }
.table-striped tbody tr:nth-of-type(odd) { background-color: rgba(0, 0, 0, 0.05); }
.table-hover tbody tr:hover { color: #212529; background-color: rgba(0, 0, 0, 0.075); }
.table-responsive { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.form-control { display: block; width: 100%; height: calc(1.5em + 0.75rem + 2px); padding: 0.375rem 0.75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #495057; background-color: #fff; background-clip: padding-box; border: 1px solid #ced4da; border-radius: 0.25rem; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
@media (prefers-reduced-motion: reduce) {
  .form-control { transition: none; }
}
.form-control::-ms-expand { background-color: transparent; border: 0; }
.form-control:focus { color: #495057; background-color: #fff; border-color: #80bdff; outline: 0; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
.form-control::-webkit-input-placeholder { color: #6c757d; opacity: 1; }
.form-control::-moz-placeholder { color: #6c757d; opacity: 1; }
.form-control:-ms-input-placeholder { color: #6c757d; opacity: 1; }
.form-control::-ms-input-placeholder { color: #6c757d; opacity: 1; }
.form-control::placeholder { color: #6c757d; opacity: 1; }
.form-control:disabled, .form-control[readonly] { background-color: #e9ecef; opacity: 1; }
select.form-control:focus::-ms-value { color: #495057; background-color: #fff; }
select.form-control[size], select.form-control[multiple] { height: auto; }
textarea.form-control { height: auto; }
.form-group { margin-bottom: 1rem; }
.form-text { display: block; margin-top: 0.25rem; }
.form-row { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-right: -5px; margin-left: -5px; }
.form-row > .col, .form-row > [class*="col-"] { padding-right: 5px; padding-left: 5px; }
.btn { display: inline-block; font-weight: 400; color: #212529; text-align: center; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background-color: transparent; border: 1px solid transparent; padding: 0.375rem 0.75rem; font-size: 1rem; line-height: 1.5; border-radius: 0.25rem; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
.btn:hover { color: #212529; text-decoration: none; }
.btn:focus { outline: 0; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
.btn:disabled { opacity: 0.65; }
fieldset:disabled a.btn { pointer-events: none; }
.btn-primary { color: #fff; background-color: #007bff; border-color: #007bff; }
.btn-primary:hover { color: #fff; background-color: #0069d9; border-color: #0062cc; }
.btn-primary:focus { box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5); }
.btn-primary:disabled { color: #fff; background-color: #007bff; border-color: #007bff; }
.btn-secondary { color: #fff; background-color: #6c757d; border-color: #6c757d; }
.btn-secondary:hover { color: #fff; background-color: #5a6268; border-color: #545b62; }
.btn-secondary:focus { box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5); }
.btn-secondary:disabled { color: #fff; background-color: #6c757d; border-color: #6c757d; }
.btn-success { color: #fff; background-color: #28a745; border-color: #28a745; }
.btn-success:hover { color: #fff; background-color: #218838; border-color: #1e7e34; }
.btn-success:focus { box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5); }
.btn-success:disabled { color: #fff; background-color: #28a745; border-color: #28a745; }
.btn-danger { color: #fff; background-color: #dc3545; border-color: #dc3545; }
.btn-danger:hover { color: #fff; background-color: #c82333; border-color: #bd2130; }
.btn-danger:focus { box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5); }
.btn-danger:disabled { color: #fff; background-color: #dc3545; border-color: #dc3545; }
.btn-outline-primary { color: #007bff; border-color: #007bff; }
.btn-outline-primary:hover { color: #fff; background-color: #007bff; border-color: #007bff; }
.btn-outline-primary:focus { box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); }
.btn-outline-primary:disabled { color: #007bff; background-color: transparent; }
.btn-outline-secondary { color: #6c757d; border-color: #6c757d; }
.btn-outline-secondary:hover { color: #fff; background-color: #6c757d; border-color: #6c757d; }
.btn-outline-secondary:focus { box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); }
.btn-outline-secondary:disabled { color: #6c757d; background-color: transparent; }
.btn-outline-danger { color: #dc3545; border-color: #dc3545; }
.btn-outline-danger:hover { color: #fff; background-color: #dc3545; border-color: #dc3545; }
.btn-outline-danger:focus { box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); }
.btn-outline-danger:disabled { color: #dc3545; background-color: transparent; }
.btn-link { font-weight: 400; color: #007bff; text-decoration: none; }
.btn-link:hover { color: #0056b3; text-decoration: underline; }
.btn-link:focus { text-decoration: underline; box-shadow: none; }
.btn-link:disabled { color: #6c757d; pointer-events: none; }
.btn-lg { padding: 0.5rem 1rem; font-size: 1.25rem; line-height: 1.5; border-radius: 0.3rem; }
.btn-sm { padding: 0.25rem 0.5rem; font-size: 0.875rem; line-height: 1.5; border-radius: 0.2rem; }
.btn-block { display: block; width: 100%; }
.btn-block + .btn-block { margin-top: 0.5rem; }
input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="button"].btn-block { width: 100%; }
.btn-group { position: relative; display: -ms-inline-flexbox; display: inline-flex; vertical-align: middle; }
.btn-group > .btn { position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; }
.btn-group > .btn:hover { z-index: 1; }
.btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active { z-index: 1; }
.btn-group > .btn:not(:first-child), .btn-group > .btn-group:not(:first-child) { margin-left: -1px; }
.btn-group > .btn-group:not(:last-child) > .btn { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.btn-group > .btn:not(:first-child), .btn-group > .btn-group:not(:first-child) > .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group { position: relative; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-align: stretch; align-items: stretch; width: 100%; }
.input-group > .form-control { position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; width: 1%; margin-bottom: 0; }
.input-group > .form-control + .form-control { margin-left: -1px; }
.input-group > .form-control:focus { z-index: 3; }
.input-group > .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .form-control:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group-append { display: -ms-flexbox; display: flex; }
.input-group-append .btn { position: relative; z-index: 2; }
.input-group-append .btn:focus { z-index: 3; }
.input-group-append .btn + .btn { margin-left: -1px; }
.input-group-append { margin-left: -1px; }
.input-group > .input-group-append:not(:last-child) > .btn { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .input-group-append > .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.nav-link { display: block; padding: 0.5rem 1rem; }
.nav-link:hover, .nav-link:focus { text-decoration: none; }
.navbar { position: relative; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-align: center; align-items: center; -ms-flex-pack: justify; justify-content: space-between; padding: 0.5rem 1rem; }
.navbar > .container, .navbar > .container-fluid { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-align: center; align-items: center; -ms-flex-pack: justify; justify-content: space-between; }
.navbar-brand { display: inline-block; padding-top: 0.3125rem; padding-bottom: 0.3125rem; margin-right: 1rem; font-size: 1.25rem; line-height: inherit; white-space: nowrap; }
.navbar-brand:hover, .navbar-brand:focus { text-decoration: none; }
.navbar-nav { display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; padding-left: 0; margin-bottom: 0; list-style: none; }
.navbar-nav .nav-link { padding-right: 0; padding-left: 0; }
@media (max-width: 575.98px) {
  .navbar-expand-sm > .container, .navbar-expand-sm > .container-fluid { padding-right: 0; padding-left: 0; }
}
@media (min-width: 576px) {
  .navbar-expand-sm { -ms-flex-flow: row nowrap; flex-flow: row nowrap; -ms-flex-pack: start; justify-content: flex-start; }
  .navbar-expand-sm .navbar-nav { -ms-flex-direction: row; flex-direction: row; }
  .navbar-expand-sm .navbar-nav .nav-link { padding-right: 0.5rem; padding-left: 0.5rem; }
  .navbar-expand-sm > .container, .navbar-expand-sm > .container-fluid { -ms-flex-wrap: nowrap; flex-wrap: nowrap; }
}
.navbar-light .navbar-brand { color: rgba(0, 0, 0, 0.9); }
.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus { color: rgba(0, 0, 0, 0.9); }
.navbar-light .navbar-nav .nav-link { color: rgba(0, 0, 0, 0.5); }
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus { color: rgba(0, 0, 0, 0.7); }
.navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active { color: rgba(0, 0, 0, 0.9); }
.card { position: relative; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; min-width: 0; word-wrap: break-word; background-color: #fff; background-clip: border-box; border: 1px solid rgba(0, 0, 0, 0.125); border-radius: 0.25rem; }
.card > hr { margin-right: 0; margin-left: 0; }
.card > .list-group:first-child .list-group-item:first-child { border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; }
.card > .list-group:last-child .list-group-item:last-child { border-bottom-right-radius: 0.25rem; border-bottom-left-radius: 0.25rem; }
.card-body { -ms-flex: 1 1 auto; flex: 1 1 auto; padding: 1.25rem; }
.card-title { margin-bottom: 0.75rem; }
.card-text:last-child { margin-bottom: 0; }
.card-img-top { width: 100%; border-top-left-radius: calc(0.25rem - 1px); border-top-right-radius: calc(0.25rem - 1px); }
.badge { display: inline-block; padding: 0.25em 0.4em; font-size: 75%; font-weight: 700; line-height: 1; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: 0.25rem; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
@media (prefers-reduced-motion: reduce) {
  .badge { transition: none; }
}
a.badge:hover, a.badge:focus { text-decoration: none; }
.badge:empty { display: none; }
.btn .badge { position: relative; top: -1px; }
.badge-success { color: #fff; background-color: #28a745; }
a.badge-success:hover, a.badge-success:focus { color: #fff; background-color: #1e7e34; }
a.badge-success:focus { outline: 0; box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); }
.badge-info { color: #fff; background-color: #17a2b8; }
a.badge-info:hover, a.badge-info:focus { color: #fff; background-color: #117a8b; }
a.badge-info:focus { outline: 0; box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); }
.badge-warning { color: #212529; background-color: #ffc107; }
a.badge-warning:hover, a.badge-warning:focus { color: #212529; background-color: #d39e00; }
a.badge-warning:focus { outline: 0; box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); }
.alert { position: relative; padding: 0.75rem 1.25rem; margin-bottom: 1rem; border: 1px solid transparent; border-radius: 0.25rem; }
.alert-warning { color: #856404; background-color: #fff3cd; border-color: #ffeeba; }
.alert-warning hr { border-top-color: #ffe8a1; }
.alert-danger { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }
.alert-danger hr { border-top-color: #f1b0b7; }
.list-group { display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; padding-left: 0; margin-bottom: 0; }
.list-group-item-action { width: 100%; color: #495057; text-align: inherit; }
.list-group-item-action:hover, .list-group-item-action:focus { z-index: 1; color: #495057; text-decoration: none; background-color: #f8f9fa; }
.list-group-item-action:active { color: #212529; background-color: #e9ecef; }
.list-group-item { position: relative; display: block; padding: 0.75rem 1.25rem; margin-bottom: -1px; background-color: #fff; border: 1px solid rgba(0, 0, 0, 0.125); }
.list-group-item:first-child { border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; }
.list-group-item:last-child { margin-bottom: 0; border-bottom-right-radius: 0.25rem; border-bottom-left-radius: 0.25rem; }
.list-group-item:disabled { color: #6c757d; pointer-events: none; background-color: #fff; }
.list-group-item.active { z-index: 2; color: #fff; background-color: #007bff; border-color: #007bff; }
.modal-content { position: relative; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; width: 100%; pointer-events: auto; background-color: #fff; background-clip: padding-box; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 0.3rem; outline: 0; }
.modal-header { display: -ms-flexbox; display: flex; -ms-flex-align: start; align-items: flex-start; -ms-flex-pack: justify; justify-content: space-between; padding: 1rem 1rem; border-bottom: 1px solid #dee2e6; border-top-left-radius: 0.3rem; border-top-right-radius: 0.3rem; }
.modal-title { margin-bottom: 0; line-height: 1.5; }
.modal-body { position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; padding: 1rem; }
.modal-footer { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: end; justify-content: flex-end; padding: 1rem; border-top: 1px solid #dee2e6; border-bottom-right-radius: 0.3rem; border-bottom-left-radius: 0.3rem; }
.modal-footer > :not(:first-child) { margin-left: .25rem; }
.modal-footer > :not(:last-child) { margin-right: .25rem; }
.bg-primary { background-color: #007bff !important; }
a.bg-primary:hover, a.bg-primary:focus, button.bg-primary:hover, button.bg-primary:focus { background-color: #0062cc !important; }
.bg-light { background-color: #f8f9fa !important; }
a.bg-light:hover, a.bg-light:focus, button.bg-light:hover, button.bg-light:focus { background-color: #dae0e5 !important; }
.border-danger { border-color: #dc3545 !important; }
.d-flex { display: -ms-flexbox !important; display: flex !important; }
.flex-fill { -ms-flex: 1 1 auto !important; flex: 1 1 auto !important; }
.align-items-center { -ms-flex-align: center !important; align-items: center !important; }
.float-right { float: right !important; }
.w-75 { width: 75% !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.p-2 { padding: 0.5rem !important; }
.py-2 { padding-top: 0.5rem !important; }
.py-2 { padding-bottom: 0.5rem !important; }
.mr-auto, .mx-auto { margin-right: auto !important; }
.mx-auto { margin-left: auto !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }
.font-weight-bolder { font-weight: bolder !important; }
.text-white { color: #fff !important; }
.text-danger { color: #dc3545 !important; }
a.text-danger:hover, a.text-danger:focus { color: #a71d2a !important; }
.text-muted { color: #6c757d !important; }

/* ---------- Part 2: iSYNDi overrides and account-page styles ---------- */

/* Shared/_Layout.cshtml: contrast fixes (fast-follow item 6 and its follow-up). */
a { color: #0062cc; }
.text-primary { color: #0062cc !important; }
.btn-primary, .btn-primary.disabled, .btn-primary:disabled { background-color: #0062cc; border-color: #0062cc; }
.badge-primary { background-color: #0062cc; }
.bg-primary { background-color: #0062cc !important; }
.btn-outline-primary { color: #0062cc; }
.btn-outline-primary:hover { background-color: #0062cc; border-color: #0062cc; }
.badge-success { background-color: #1e7e34; }

/* Login.cshtml, MFAChallenge.cshtml, ResetPassword.cshtml: the sign-in panel. */
body.auth-page {
    min-height: 100%;
    margin: 0;
    background-image: url("img/white-textured-background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}
body.auth-page::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: -1;
}
.auth-container { overflow-x: hidden; }
.auth-container > .row { min-height: 100vh; align-items: center; }
.auth-panel {
    background-color: #ffffff !important;
    margin-top: 50px;
    margin-bottom: 50px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.auth-panel .card-body { background-color: #ffffff !important; }
.logo-image {
    display: block;
    margin: 5vh auto 2vh auto;
    width: 70%;
    max-width: 280px;
}
.field-title {
    display: block;
    font-size: 1rem;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
}
.product-link {
    display: inline-block;
    margin-top: 0.9rem;
    font-size: 0.9rem;
    color: #6c757d;
}
.product-link:hover { color: #1A6FA3; text-decoration: none; }
.mfa-code-input {
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    text-align: center;
}
.toggle-link { color: #1a73e8; }
.toggle-link:hover { text-decoration: underline; }
@media (max-width: 767.98px) {
    .logo-image { width: 60%; max-width: 200px; }
    .form-control, .btn { font-size: 0.95rem; }
}

/* CheckEmail.cshtml and VerifyEmail.cshtml: the message card. */
body.ce-page {
    margin: 0;
    background-image: url("img/white-textured-background.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.ce-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ce-card {
    max-width: 480px; width: 100%; background: #fff; border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08); padding: 40px 36px; text-align: center;
}
.ce-card img { max-width: 180px; height: auto; margin-bottom: 24px; }
.ce-email { font-weight: 600; word-break: break-all; }

/* _LayoutPortal and _Navigation. */
body.portal-page { background-color: #fff; }
#main { padding-top: 0; padding-left: 5px; padding-bottom: 60px; }

/* UserProfile.cshtml */
.portal-page .card-title { text-align: center; font-weight: 500; margin-top: 0.5rem; }
.portal-page .field-title { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* MFASetup.cshtml */
.mfa-card { max-width: 600px; margin: 0 auto; }
.qr-code-container { text-align: center; margin: 1.5rem 0; }
.qr-placeholder {
    display: inline-flex; align-items: center; justify-content: center;
    width: 250px; height: 250px;
    border: 2px solid #ddd; border-radius: 8px; padding: 8px; background: #fff;
    background-image: repeating-linear-gradient(45deg, #f1f3f5 0, #f1f3f5 10px, #fff 10px, #fff 20px);
    color: #6c757d; font-weight: 500;
}
.secret-key-container {
    background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 4px; padding: 0.75rem;
    font-family: monospace; font-size: 0.9rem; word-break: break-all; letter-spacing: 0.1rem;
}
.recovery-codes-container {
    background: #fff3cd; border: 1px solid #ffc107; border-radius: 4px; padding: 1rem; margin: 1rem 0;
}
.recovery-codes-container .code-list {
    columns: 2; font-family: monospace; font-size: 1rem; letter-spacing: 0.15rem;
    list-style: none; padding-left: 0; margin-bottom: 0;
}
.recovery-codes-container .code-list li { margin-bottom: 0.5rem; }
.step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background-color: #0062cc; color: white; font-weight: 600; font-size: 0.85rem; margin-right: 0.5rem;
}
.setup-code-input { font-size: 1.3rem; letter-spacing: 0.4rem; text-align: center; }

/* PasskeySetup.cshtml */
.passkey-card { max-width: 700px; margin: 0 auto; }
.passkey-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem 1rem; border: 1px solid #dee2e6; border-radius: 6px; margin-bottom: 0.5rem; background: #fff;
}
.passkey-info { flex: 1; }
.passkey-name { font-weight: 600; font-size: 1rem; }
.passkey-meta { font-size: 0.85rem; color: #6c757d; }
.passkey-actions { display: flex; gap: 0.5rem; }
.btn-add-passkey { margin-top: 1rem; }
.passkey-toggle {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem; border: 1px solid #dee2e6; border-radius: 6px; margin-bottom: 1rem; background: #f8f9fa;
}
.toggle-switch { position: relative; display: inline-block; width: 50px; height: 24px; margin: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc; transition: .3s; border-radius: 24px;
}
.toggle-slider:before {
    position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px;
    background-color: white; transition: .3s; border-radius: 50%;
}
input:checked + .toggle-slider { background-color: #0062cc; }
input:checked + .toggle-slider:before { transform: translateX(26px); }
.rename-input { width: auto; display: inline-block; max-width: 200px; }

/* Login.cshtml: the "New to SYNDi Online?" prompt. */
.account-prompt { font-size: 0.95rem; color: #555; margin-bottom: 0.5rem; }

/* Register.cshtml */
html.reg-html { font-size: 20px; }
.reg-page { margin: 0; overflow-x: hidden; }
.reg-shell { min-height: 100vh; }
.reg-row { display: flex; flex-wrap: wrap; min-height: 100vh; }
.reg-brand {
    flex: 1 1 55%;
    background: linear-gradient(135deg, #0b2545 0%, #13315c 60%, #1a73e8 140%);
    color: #fff; display: flex; align-items: center; padding: 6vh 5vw;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .55); position: relative; overflow: hidden;
}
.reg-brand::before {
    content: ""; position: absolute; top: -10%; left: -10%; width: 75%; height: 70%;
    background: radial-gradient(ellipse at 25% 20%, rgba(11, 37, 69, .88) 0%, rgba(11, 37, 69, .45) 45%, transparent 72%);
    pointer-events: none; z-index: 1;
}
.reg-brand-inner { position: relative; z-index: 2; max-width: 560px; }
.reg-brand img { max-width: 240px; height: auto; margin-bottom: 32px; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .55)); }
.reg-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.reg-eyebrow {
    display: inline-block; background: rgba(255, 255, 255, .15); color: #fff; font-weight: 600; font-size: .8rem;
    letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.reg-nocc {
    display: inline-block; background: rgba(140, 199, 89, .2); color: #d6f5c0; font-weight: 600; font-size: .8rem;
    letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
    border: 1px solid rgba(140, 199, 89, .5);
}
.reg-brand h1 { font-size: 2.2rem; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.reg-sub { font-size: 1.1rem; opacity: .9; margin-bottom: 28px; }
.reg-bullets { list-style: none; padding: 0; margin: 0 0 28px; }
.reg-bullets li { position: relative; padding-left: 30px; margin-bottom: 14px; font-size: 1.02rem; }
.reg-bullets li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #8cc759; font-weight: 700; font-size: 1.1rem; }
.reg-tagline { font-style: italic; opacity: .8; }
.reg-learnmore { margin-top: 18px; }
.reg-learnmore a { color: #cfe2ff; font-weight: 600; text-decoration: underline; }
.reg-learnmore a:hover { color: #ffffff; }
.reg-form-col { flex: 1 1 45%; display: flex; align-items: center; justify-content: center; background: #f7f8fa; padding: 5vh 5vw; }
.reg-form-card { width: 100%; max-width: 420px; }
.reg-form-card h2 { font-weight: 700; margin-bottom: 4px; }
.reg-form-card .reg-lead { color: #6c757d; margin-bottom: 22px; }
.reg-form-card label { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.reg-form-card .form-control { height: 58px; }
.reg-form-card .btn-primary { height: 62px; font-weight: 600; }
.reg-optional { font-weight: 400; color: #9aa0a6; font-size: .8rem; }
.pwd-wrap { position: relative; }
.pwd-toggle {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none;
    color: #1a73e8; font-size: .85rem; cursor: pointer; padding: 4px 8px; min-height: 44px;
}
.pwd-meter { height: 6px; border-radius: 3px; background: #e3e6ea; margin-top: 8px; overflow: hidden; }
.pwd-meter > span { display: block; height: 100%; width: 0; }
.pwd-meter > .pwd-meter-weak { width: 30%; background: #dc3545; }
.pwd-hint { font-size: .8rem; color: #6c757d; margin-top: 4px; }
.reg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reg-consent { font-size: .8rem; color: #6c757d; margin: 14px 0 18px; }
.reg-consent a { color: #1a73e8; }
.reg-signin { text-align: center; margin-top: 16px; font-size: .9rem; }
@media (max-width: 991px) {
    .reg-row { flex-direction: column; }
    .reg-brand { flex-basis: auto; padding: 7vh 8vw 5vh; min-height: auto; }
    .reg-brand h1 { font-size: 1.4rem; }
    .reg-brand img { max-width: 200px; }
    .reg-form-col { flex-basis: auto; padding: 6vh 8vw; min-height: auto; }
}

/* _LayoutPortal.cshtml: the first-sign-in welcome dialog. */
.welcome-modal { border: none; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.welcome-header { background: linear-gradient(135deg, #0b2545 0%, #13315c 60%, #1a73e8 140%); color: #fff; border-bottom: none; padding: 22px 28px; }
.welcome-brand { display: flex; align-items: center; gap: 14px; }
.welcome-logo { max-height: 36px; width: auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
.welcome-title { margin: 0; font-weight: 700; font-size: 1.25rem; letter-spacing: .01em; }
.welcome-body { text-align: center; padding: 36px 32px 28px; }
.welcome-headline { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; color: #0b2545; }
.welcome-sub { font-size: 1.05rem; color: #555; max-width: 480px; margin: 0 auto 26px; line-height: 1.6; }
.welcome-btn { padding: 13px 28px; font-weight: 600; border-radius: 8px; }
.welcome-footer { justify-content: center; border-top: none; padding: 0 28px 28px; background: #f8f9fa; }
.welcome-footer .btn-outline-secondary { border-color: #ced4da; color: #495057; font-weight: 600; padding: 10px 24px; border-radius: 8px; }
.welcome-footer .btn-outline-secondary:hover { background: #e9ecef; color: #212529; }

/* The embedded SVG icons that replace iSYNDi's Font Awesome. */
.icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; }
.ce-icon { display: block; width: 48px; height: 48px; margin: 0 auto 16px; }
.ce-icon-mail { color: #0062cc; }
.ce-icon-warning { color: #dc3545; }

/* Sign out is a form post, styled like the navbar link it replaces. */
.nav-form { display: inline; margin: 0; }
.nav-form .nav-link { background: none; border: 0; cursor: pointer; }
