/* Block: auth-modal */
:root {
    --auth-modal-active-background: #F5F5F5;
    --auth-modal-advanced-link-color: #1A7282;
    --auth-modal-divider-grey: #666666;
    --auth-modal-divider-grey-light: #AEB2B6;
}

.auth-modal__step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.auth-modal__step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--theme-default-text-description);
}

.auth-modal__step-item--active {
    color: var(--theme-default-primary);
}

.auth-modal__step-separator {
    width: 11.5rem;
    height: 1px;
    background-color: var(--theme-default-disabled);
    margin: 0 2.5rem;
}

.auth-modal__step-container {
    margin: 2rem 0;
}

.auth-modal__step-container h1 {
    text-transform: uppercase;
    font-size: 2.625rem;
    font-weight: bold;
    margin-top: 2.5rem;
    margin-bottom: 2.25rem;
    text-align: center;
}

.auth-modal__subheading {
    margin-bottom: 2.5rem;
    text-align: center;
}

.auth-modal__button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.auth-modal__button-container > div {
    display: flex;
    flex-direction: column;
}

.auth-modal__back-button {
    align-self: center;
}

.auth-modal__button-container-right {
    display: flex;
    flex-direction: column;
}

.auth-modal__save-button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.save-button-info {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.auth-modal__button {
    padding-top: 0.9rem;
    padding-bottom: 0.625rem;
}

.auth-modal__button-wide.eop-bg-secondary {
    background: transparent;
    width: 100%;
}

.auth-modal__divider-or {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--auth-modal-divider-grey);
}

.auth-modal__divider-or::before,
.auth-modal__divider-or::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--auth-modal-divider-grey-light);
}

.auth-modal__divider-or span {
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 400;
}

/* Block: tabs-layout */
.auth-modal__tabs-layout {
    display: flex;
    line-height: normal;
}

.auth-modal__tabs {
    flex-shrink: 0;
    user-select: none;
}

.auth-modal__tab-content {
    flex: 1;
    background: var(--auth-modal-active-background);
    padding: 2.15rem 2.46875rem;
    border-radius: 10px;
    max-height: 40vh;
    overflow-y: auto;
}

/* Remove top-left radius only when first option is selected */
.auth-modal__tabs-layout:has(.radio-group__option:first-child input[type="radio"]:checked) .auth-modal__tab-content {
    border-top-left-radius: 0;
}

/* Remove bottom-left radius only when last option is selected */
.auth-modal__tabs-layout:has(.radio-group__option:last-child input[type="radio"]:checked) .auth-modal__tab-content {
    border-bottom-left-radius: 0;
}

/* Block: radio-group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-group--vertical {
    width: 30.9375rem;
}

.radio-group__option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 6.25rem;
    padding: 1rem;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 0.25rem;
}

.radio-group__option:has(input[type="radio"]:checked) {
    background: var(--auth-modal-active-background);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.radio-group__radio-wrapper {
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.radio-group__radio-wrapper input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-group__radio-wrapper .check-icon {
    flex-shrink: 0;
    position: absolute;
    top: -1px;
    left: 0;
    width: 13px;
    height: 13px;
    border: 2px solid white;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #67696D;
    cursor: pointer;
}

.radio-group__radio-wrapper:hover input[type="radio"] ~ .check-icon {
    box-shadow: 0 0 0 1px #019CB6;
}

.radio-group__radio-wrapper:hover input[type="radio"]:checked ~ .check-icon {
    background-color: #019CB6;
    box-shadow: 0 0 0 1px #019CB6;
}

.radio-group__radio-wrapper input[type="radio"]:checked ~ .check-icon {
    background-color: #019CB6;
    box-shadow: 0 0 0 1px #019CB6;
}

.radio-group__radio-wrapper input[type="radio"]:disabled ~ .check-icon {
    box-shadow: 0 0 0 1px #ccc;
    cursor: default;
}

.radio-group__radio-wrapper input[type="radio"]:disabled:checked ~ .check-icon {
    background-color: #ccc;
}

.radio-group__option span {
    position: relative;
    bottom: -1px;
    font-weight: 600;
}

.radio-group__option label {
    cursor: pointer;
    margin: 0;
    flex: 1;
    font-weight: 600;
}

.radio-group__option-arrow {
    display: none;
    margin-left: auto;
}

.radio-group__option:has(input[type="radio"]:checked) .radio-group__option-arrow {
    display: block;
}

/* Block: auth-method */
.auth-method__feedback:has(ul) {
    margin-bottom: 1rem;
}

.auth-method__feedback .feedbackPanel {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-method__feedback .feedbackPanelERROR {
    background-color: #FDE9EC;
    border: 0.0625rem solid #EB9393;
    border-radius: 0.25rem;
    padding: 1rem;
    color: var(--theme-red-primary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.auth-method__toggle-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--auth-modal-advanced-link-color);
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1.25rem;
    text-decoration: none;
}

.auth-method__toggle-arrow {
    width: 7px;
    height: auto;
    position: relative;
    right: -3px;
    top: -3px;
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.auth-method__toggle-button--open .auth-method__toggle-arrow {
    transform: rotate(-90deg);
}

.auth-method__domain-section {
    margin-bottom: 1rem;
}

.auth-method__domain-section .eop-floating-input__field {
    max-width: 100%;
}

.auth-method__local-text p {
    margin-top: 3px;
}

.auth-method__local-text ol {
    margin: 0;
    padding-left: 1rem;
}

.auth-method__local-text ol li {
    margin-bottom: 21px;
}

/* Block: printing-login */
.printing-login__divider {
    margin: 1.5rem 0;
    border: none;
    border-top: 1px solid var(--theme-default-disabled);
}

/* Block: secure-queue */
.secure-queue__section {
    margin-top: 0;
}

.secure-queue__name-input {
    width: 100%;
}

span.bold {
    font-weight: 600;
}

/* Hint tooltip font-size override for this modal */
.secure-queue__section .hint,
.auth-modal__subheading .hint,
.auth-modal__tip-box .hint,
.save-button-info .hint {
    font-size: 1rem;
}

.auth-method__text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-modal__subheading h4, .auth-modal__tip-box .hint h4 {
    font-weight: 600;
}

.auth-method__text .hint,
.save-button-info .hint {
    position: fixed;
    left: unset;
    top: unset;
}

.auth-method__arrow-left {
    margin-right: 10px;
}

.auth-method__arrow-right {
    margin-top: -4px;
    margin-left: 10px;
}

.printing-login__requirement-description p {
    margin-top: 0;
}

.printing-login__requirement-description strong, .auth-modal__subheading strong {
    font-weight: 600;
}

.printing-login__requirement-description ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.printing-login__requirement-description ul li {
    margin-bottom: 1rem;
}

.printing-login__requirement-description ul li::marker {
    font-size: 1.4rem; /* Makes the bullet larger */
}

.printing-login__badge {
    padding: 0.1rem 0.6rem;
    border-radius: 0.8rem;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.printing-login__badge--strict {
    background-color: var(--theme-default-palette-button-background);
    color: var(--auth-modal-advanced-link-color);
    border: 1px solid var(--auth-modal-advanced-link-color);
}

.radio-group__option span.badge {
    font-weight: 400;
}

.queue-renames-list,
.queue-renames-list .eop-floating-input,
.queue-renames-list .eop-floating-input__field {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
