@font-face {
    font-family: 'Proxima Nova';
    src: url('https://pingcopilotstorage.blob.core.windows.net/copilot-custom-oauth-ui/assets/fonts/ProximaNova-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

:root {
    --primary-color: #5057FF;
    --primary-opposite: white;
    --primary-bright: #AEB7F5;
    --background-color: #F5F6FA;
    --palette-gray: #728598;
    --palette-light-gray: #c5c5c5;
    --palette-darkgray: #454c54;
}

* {
    margin: 0;
}

body {
    background-color: var(--background-color);
    min-height: 100vh;
    align-items: center;
    display: flex;
    flex-direction: column;
    font-family: Proxima Nova, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
        'Helvetica Neue', 'Arial', sans-serif;
    margin: 0;
    opacity: 1;
    transition: opacity 2s;
    /* used to help reduce content flickering on page load*/
}

header {
    width: 100%;
    padding: 16px 0px;
    background-color: white;
    display: flex;
    justify-content: center;
}

section {
    display: flex;
    flex-grow: 1;
    padding-top: 12px;
    max-width: 100%;
}

li {
    list-style: none;
}

ul {
    padding: 0;
}

#api {
    min-width: 320px;
    max-width: 500px;
}

.helpLink {
    display: none;
}

.buttons {
    display: flex;
    padding: 12px;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

fieldset input,
fieldset label {
    cursor: pointer;
}

#api>.buttons {
    padding: 0px;
}

.attrEntry .buttons {
    padding: 12px 0px;
}

button {
    border-radius: 4px;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 1em;
    padding: 14px;
    min-width: 120px;
    background: linear-gradient(180deg, var(--primary-color) 50%, black 300%);
}

[aria-disabled="true"] {
    display: none;
}

.attrEntry:has([aria-disabled="true"]) {
    display: none;
}

.verificationSuccessText {
    color: green;
}

fieldset {
    display: flex;
    border: none;
    align-items: center;
}

fieldset input {
    height: 14px;
    width: 14px;
}

#cancel,
#emailVerificationControl_but_send_new_code {
    background: transparent;
    color: var(--primary-color);
}

@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }

    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

.VerificationControl .working {
    display: flex;
    justify-content: center;
}

.VerificationControl .working::before {
    animation: 1.5s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 5px #cfd0d1;
    border-bottom-color: #1c87c9;
    border-radius: 50%;
    content: "";
    height: 40px;
    position: relative;
    top: 26px;
    left: 26px;
    transform: translate3d(-50%, -50%, 0);
    width: 40px;
    will-change: transform;
}

.disclaimer-container {
    text-align: center;
    margin-bottom: 24px;
}

.sendCode {
    flex-grow: 0;
}

.customHelpText {
    text-align: left;
    line-height: 1;
    color: #766262;
    font-style: italic;
    margin: 4px 0px 0px 4px;
}

#next {
    flex-grow: 1;
}

.error {
    color: red;
    text-align: right;
}

.intro {
    display: none;
}

.entry-item,
.attrEntry {
    display: flex;
    padding: 12px;
    flex-direction: column;
}

.entry-item input,
.attrEntry input,
.attrEntry select {
    padding: 16px;
    border-radius: 4px;
    border: 1px solid var(--palette-light-gray);
    font-size: 1em;
}

.attrEntry .attrEntry {
    padding: 12px 0px;
}

.attrEntry a {
    align-self: end;
}

.entry-item label,
.attrEntry label,
.password-label a {
    padding: 2px 4px;
}

.heading {
    text-align: center;
    padding: 12px;
}

.heading h1 {
    margin: 0;
}

.password-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rememberMe {
    padding: 12px 12px 0px;
    display: flex;
    align-items: center;
}

.rememberMe input {
    margin: 4px;
}

.create {
    padding: 12px;
}

.create p {
    display: flex;
    margin: 0;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 16px;
    font-size: 1.4rem;
}

.create a {
    margin-right: 4px;
    font-weight: 600;
}

.divider {
    padding: 12px;
}

.divider h2 {
    text-align: center;
}

.disclaimer-container {
    display: flex;
    justify-content: space-evenly;
}

fieldset input {
    margin-right: 4px;
}