/*
'gray': {  DEFAULT: '#808080',  '50': '#FAFAFA',  '100': '#F0F0F0',  '200': '#D4D4D4',  '300': '#B8B8B8',  '400': '#9C9C9C',  
'500': '#808080',  '600': '#676767',  '700': '#4D4D4D',  '800': '#343434',  '900': '#1A1A1A'},

'blue': {  DEFAULT: '#006C93',  '50': '#DDF0F7',  '100': '#C0E4F1',  '200': '#A5D7E9',  '300': '#58ACCA',  '400': '#288DB2',  
'500': '#006C93', '600': '#005674',  '700': '#003F56',  '800': '#002937',  '900': '#001219'},
*/

@font-face {
    font-family: 'Poppins';
    src: url('./Poppins-Bold.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: 'Poppins';
    src: url('./Poppins-SemiBold.woff2') format('woff2');
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: 'Poppins';
    src: url('./Poppins-Medium.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: 'Poppins';
    src: url('./Poppins-Regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
}

/* General page layout styles  */
html {
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    background-color: #F0F0F0;
}

body {
    margin: auto;
    background-color: white;
}

*:focus-visible {
    outline-color: #33A6B0;
    outline-width: 2px;
}

h1 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    line-height: 140%;
}

.hidden {
    display: none;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

/* Screen reader only styles */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0.5rem;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only:focus {
    position: absolute;
    width: auto;
    height: auto;
    padding: 0.25rem;
    margin: 0.5rem;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background-color: white;
    font-size: 0.875rem;
}

/* Header and page header styles */
#announcement {
    padding: 0.5rem 2rem;
    background-color: #CCDD9B;
    font-size: 0.875rem;
}

#announcement .container {
    display: flex;
    justify-content: space-between;
}

#announcement a, #announcement-mobile a {
    color: black;
}

#announcement a:hover, #announcement-mobile a:hover {
    color: black;
}

#announcement-mobile {
    display: none;
    font-size: 0.875rem;
    background-color: #CCDD9B;
}

#header {
    padding: 1.5rem 2rem;
}

.crest {
    display: flex;
    gap: 2rem;
}

.crest p {
    font-weight: 500;
    font-size: 1.25rem;
    padding-top: 0.5rem;
}

#page-header {
    padding: 0.75rem 2rem;
    background-color: #F0F0F0;
    color: black;
}

#page-header p {
    max-width: 650px;
}

.intro {
    display: none;
}

section {
    padding: 1.5rem;
}

main {
    margin: 1.5rem auto;
}

/* Form and form input styles */
.entry {
    display: flex;
    flex-direction: column;
}

.entry-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.entry-item label {
    font-weight: 500;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.entry-item input {
    border-radius: 4px;
    border: 2px solid #9C9C9C;
    height: 1.75rem;
    padding-left: 0.5rem;
    font-size: 1rem;
}

.entry-item input::placeholder {
    visibility: hidden;
}

.create {
    margin-top: 2rem;
    font-size: 0.875rem;
}

.create a {
    margin-left: 0.5rem;
}

#api {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: auto;
    max-width: 650px;
}

#api label {
    font-weight: 500;
    font-size: 1rem;
}

#api > div.heading {
    display: none;
}

.attrEntry {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

#api input {
    border-radius: 4px;
    border: 2px solid #9C9C9C;
    height: 1.75rem;
    padding-left: 0.5rem;
    font-size: 1rem;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
}

#api select {
    border-radius: 4px;
    border: 2px solid #9C9C9C;
    height: 2.125rem;
    padding-left: 0.25rem;
    font-size: 1rem;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
}

#api input:focus-visible,
#api select:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgb(51, 166, 176, 0.3);
    border-color: rgb(38, 125, 132);
}

#api input::placeholder {
    visibility: hidden;
}

#email_intro, #email_info,
#readOnlyEmail_intro, #readOnlyEmail_info {
    font-size: 0.875rem;
}

.buttons.verify {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.verify :not(button) {
    width: 100%;
}

.Readonly .buttons.verify {
    margin-bottom: 2.5rem;
}

li, ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Form section for MFA page   */
.RadioSingleSelect .attrEntry {
    display: block;
    margin-bottom: 2rem;
}

#api input[type=radio] {
    width: 1.25rem;
    display: inline;
    vertical-align: bottom;
    accent-color: #006C93;
    margin-right: 0.5rem;
}

#phone_option,
#email_option {
    font-weight: 400 !important;
}

#api .RadioSingleSelect .attrEntry label:focus {
    box-shadow: none;
}

.RadioSingleSelect .attrEntry label::after {
    content: "\a";
    white-space: pre;
}

#extension_mfaByPhoneOrEmail_label {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}

#attributeList li.Paragraph {
    display: none !important;
}

#readOnlyEmail_intro {
    display: none !important;
}

.phoneEntry .code,
.phoneEntry .number {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.phoneEntry .input {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input#verificationCode {
    margin-top: 0.5rem;
    width: 95%;
}

/* Callout styles  */
.callout {
    max-width: 615px;
    background-color: #DDF0F7;
    border-left: solid 5px #006C93;
    padding: 1rem;
    font-size: 0.875rem;
    font-weight: 400;
}

/*·reCaptcha·*/
#captcha_container {
    padding-bottom: 1rem;
}

#g-recaptcha-response-toms_label {
    display: none;
}

#g-recaptcha-response-toms {
    display: none;
}

.g-recaptcha-response-toms_li > .attrEntry > div.error {
    margin-top: 0;
}

.g-recaptcha-response-toms_li > .attrEntry {
    margin-top: 0;
}

/* Button styles  */
button {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    cursor: pointer !important;
}

button:disabled {
    cursor: default !important;
}

button:focus {
    outline-color: #33A6B0;
    outline-width: 2px;
    outline-offset: 1px;
}

.primary-button:enabled {
    background-color: #006C93;
    color: white;
}

.primary-button:enabled:hover {
    background-color: #003F56;
    text-decoration: underline;
}

.primary-button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: default
}

.secondary-button {
    background-color: #D4D4D4;
    color: black;
}

.secondary-button:hover {
    background-color: #B8B8B8;
    text-decoration: underline;
}

.buttons {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 1rem;
    margin: 0rem 0rem;
}

#cancel {
    color: #005674;
    background-color: transparent;
    font-weight: 500;
    text-decoration: underline;
}

#cancel:hover {
    color: #006C93;
    text-decoration: none;
}

/* Link styles */
a {
    color: #005674;
    font-weight: 500;
    text-decoration: underline;
}

a:hover {
    color: #006C93;
    text-decoration: none;
}

#forgotPassword {
    font-size: 0.875rem;
    width: fit-content;
}

.helpLink {
    display: none;
}

/* Validation styles  */
.error {
    color: black;
    background-color: #F8E7E4;
    border-left: 5px solid #C44D32;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    font-weight: 400;
    font-size: 0.875rem;
    height: auto;
    display: none;
}

.error p {
    margin: auto;
}

.error p ul {
    list-style-type: disc;
}

.verificationSuccessText {
    background-color: #F2F5E9;
    border-left: solid 5px #739F4F;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 400;
}

.show {
    display: block !important;
}

.hide {
    display: none !important;
}

/* Loader styles */
.verifying-modal {
    text-align: center;
}

#verifying_blurb {
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.login-loader::after {
    content: "";
    display: inline-flex;
    border-radius: 100%;
    width: 10px;
    height: 10px;
    margin-top: 3px;
    margin-left: 8px;
    border: 4px solid white; /* Light grey */
    border-top: 4px solid #005674; /* Blue */
    animation: loading-spin 2s linear infinite;
}

@keyframes loading-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Footer styles */
footer {
    background-color: #F0F0F0;
    border-top: 2px solid #D4D4D4;
    margin: 0;
    padding-top: 0.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 1rem;
    font-size: 16px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

footer p {
    line-height: 2;
    color: #4c4c4c;
    margin-top: 0.75rem;
}

footer hr {
    border-top: 1px solid #9C9C9C;
}

/* footer a {
  color: white;
  text-decoration: underline;
}
footer a:hover {
  color: #DFEAA4;
  text-decoration: none;
} */

/* Mobile responsive styles (md tailwind breakpoint) */
@media only screen and (max-width: 768px) {
    #announcement {
        display: none;
    }

    #announcement-mobile {
        padding: 0.35rem 2rem;
        display: flex;
    }

    #announcement-mobile .container {
        display: flex;
        justify-content: space-between;
    }

    .crest {
        gap: 1rem;
    }

    .crest img {
        max-width: 150px;
    }

    .crest p {
        font-size: 1rem;
    }

    main {
        margin: auto 2rem;
    }

    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 0.125rem;
    }

    /* #header {
      padding-left: 1rem;
      padding-right: 1rem;
    } */
    #page-header {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    section {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0;
    }
}

/* Print styles */
@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    .navbar {
        display: none;
    }

    .btn > .caret,
    .dropup > .btn > .caret {
        border-top-color: #000 !important;
    }

    .label {
        border: 1px solid #000;
    }

    .table {
        border-collapse: collapse !important;
    }

    .table td,
    .table th {
        background-color: #fff !important;
    }

    .table-bordered th,
    .table-bordered td {
        border: 1px solid #ddd !important;
    }
}
