*,
*::before,
*::after {
    box-sizing: border-box;
}

body.execed-auth {
    margin: 0;
    background: #fff;
    color: #333f48;
    font-family: Arial, "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

#loginSpinner .slds-spinner::before,
#loginSpinner .slds-spinner::after,
#loginSpinner .slds-spinner__dot-a::before,
#loginSpinner .slds-spinner__dot-a::after,
#loginSpinner .slds-spinner__dot-b::before,
#loginSpinner .slds-spinner__dot-b::after,
#registrationSpinner .slds-spinner::before,
#registrationSpinner .slds-spinner::after,
#registrationSpinner .slds-spinner__dot-a::before,
#registrationSpinner .slds-spinner__dot-a::after,
#registrationSpinner .slds-spinner__dot-b::before,
#registrationSpinner .slds-spinner__dot-b::after,
#resetSpinner .slds-spinner::before,
#resetSpinner .slds-spinner::after,
#resetSpinner .slds-spinner__dot-a::before,
#resetSpinner .slds-spinner__dot-a::after,
#resetSpinner .slds-spinner__dot-b::before,
#resetSpinner .slds-spinner__dot-b::after {
    background-color: #bf5700;
}

.auth-header {
    background: #bf5700;
    padding: 14px 16px;
}

.auth-header a {
    display: inline-block;
    max-width: 100%;
}

.auth-header img {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
}

.auth-main {
    width: 100%;
    max-width: 480px;
    margin: 48px auto;
    padding: 0 24px;
}

.auth-main h1 {
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.auth-main .auth-login-heading,
.auth-main .auth-register-heading,
.auth-main .auth-reset-heading {
    font-size: 24px;
    font-weight: 600;
}

.auth-main p {
    margin: 0 0 16px;
}

.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: inline-block;
    margin-bottom: 4px;
}

.auth-required {
    color: #ba0517;
    margin-left: 3px;
}

.auth-main input[type="text"],
.auth-main input[type="password"],
.auth-main select,
.auth-main textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #747474;
    border-radius: 4px;
    background: #fff;
    color: #333f48;
    font: inherit;
    font-size: 16px;
}

.auth-main textarea {
    min-height: 88px;
    resize: vertical;
}

.auth-main input:disabled {
    background: #f3f3f3;
}

.auth-main .requiredInput {
    display: block;
}

.auth-main .requiredBlock {
    display: none;
}

.auth-main input[type="submit"],
.auth-main .auth-button {
    display: block;
    width: 100%;
    min-height: 40px;
    margin: 8px 0;
    padding: 8px 16px;
    border: 1px solid #bf5700;
    border-radius: 4px;
    background: #bf5700;
    color: #fff;
    font: inherit;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    white-space: normal;
}

.auth-main input[type="submit"]:hover,
.auth-main .auth-button:hover {
    background: #9d4700;
}

.auth-main input.auth-secondary,
.auth-main a.auth-secondary {
    background: #fff;
    color: #bf5700;
}

.auth-main input.auth-secondary:hover,
.auth-main a.auth-secondary:hover {
    background: #f8f4f0;
    color: #bf5700;
}

.auth-main input:disabled[type="submit"],
.auth-main .auth-button:disabled {
    background: #747474;
    border-color: #747474;
    cursor: wait;
}

.auth-main a {
    color: #a64b00;
    overflow-wrap: anywhere;
}

.auth-main a:hover {
    text-decoration: underline;
}

.auth-main :focus-visible {
    outline: 2px solid #bf5700;
    outline-offset: 3px;
}

.auth-actions {
    margin-top: 24px;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 16px;
}

.auth-links > a {
    flex: 1 1 160px;
    min-height: 40px;
    padding: 8px 0;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
}

.auth-main .auth-links > a:hover,
.auth-main .auth-links > a:focus {
    text-decoration: none;
}

.auth-alert,
.auth-main .message {
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid #ba0517;
    border-radius: 4px;
    background: #fef1ee;
    color: #8e030f;
    overflow-wrap: anywhere;
}

.auth-main .message h4 {
    margin: 0;
}

.auth-main .message ul {
    margin: 0;
    padding-left: 20px;
}

.auth-main .messageTable {
    width: 100%;
}

.auth-main .errorMsg {
    color: #ba0517;
}

.auth-main .auth-search-heading {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: #5c6670;
}

.auth-company-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    background: #fff;
}

.auth-company-list li + li {
    border-top: 1px solid #e5e5e5;
}

.auth-main .auth-company-list a {
    display: block;
    min-height: 44px;
    padding: 12px 16px;
    color: #333f48;
    text-decoration: none;
    border-radius: 3px;
}

.auth-main .auth-company-list a:hover,
.auth-main .auth-company-list a:focus-visible {
    background: #f8f4f0;
    color: #a64b00;
    text-decoration: none;
}

.auth-main .auth-company-list a:focus-visible {
    outline-offset: -2px;
}

.auth-search-results {
    margin-bottom: 16px;
}

.btn-row {
    margin-top: 30px;
}

@media (max-width: 600px) {
    .auth-main {
        margin: 32px auto;
        padding: 0 16px;
    }
}
