/* Styling follows build.apptrix.ai so the sites feel like one product. */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 400;
    font-style: normal;
    font-family: 'Poppins', sans-serif;
    background-color: white;
    color: black;
}

.header {
    background-color: #04101b;
    box-sizing: border-box;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    padding-bottom: 56px;
    overflow: visible;
}

.header-logo {
    flex-shrink: 0;
    width: 144px;
    height: 60px;
}

.header-logo a {
    text-decoration: none;
}

.logo {
    width: 92px;
    text-decoration: none;
}

/* full pages: the title sits in white on the bar with the content below */
.content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

.maintitle {
    margin-top: -60px;
    margin-bottom: 48px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.maintitle h1 {
    white-space: pre;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.6;
    color: white !important;
    margin: 0;
}

.title-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
}

.title-button:hover {
    text-decoration: underline;
}

.content h2 {
    font-size: 14px;
    font-weight: 600;
    color: #52495d;
    margin: 32px 0 8px;
}

.panel {
    border: 1px solid #d6d3d8;
    border-radius: 8px;
    padding: 4px 20px;
}

.field {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #d6d3d8;
    font-size: 15px;
}

.field:last-child {
    border-bottom: none;
}

.field-label {
    flex: 0 0 120px;
    color: #52495d;
    font-size: 13px;
    font-weight: 500;
}

.field-value code {
    font-size: 13px;
}

.field-value em {
    color: #52495d;
}

.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 1px 8px;
    border-radius: 999px;
    background: #ece9ef;
    color: #52495d;
    vertical-align: middle;
}

.tag.ok {
    background: #e3f3e8;
    color: #2f8a4a;
}

.identities {
    list-style: none;
    padding: 0;
    margin: 0;
}

.identities li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #d6d3d8;
    font-size: 15px;
}

.identities li:last-child {
    border-bottom: none;
}

.identities .provider-name {
    font-weight: 500;
}

.identities .login {
    color: #52495d;
}

.identities .when {
    margin-left: auto;
    color: #52495d;
    font-size: 13px;
}

/* dialogs: sign in, sign up and errors are a centred 320px stack */
.login-wrap {
    min-height: calc(100vh - 140px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: safe center;
    align-items: center;
    padding: 32px 16px 48px;
}

.login-form {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #ffffff;
    overflow: visible;
    border-radius: 12px;
    border: 1px solid #d6d3d8;
    box-shadow: 0 8px 24px rgba(10, 5, 17, 0.06);
    padding: 32px;
    box-sizing: border-box;
    max-width: 100%;
}

.login-stack {
    flex-shrink: 0;
    width: 320px;
    max-width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: visible;
}

.login-title-stack {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: visible;
}

.login-title {
    flex-shrink: 0;
    width: auto;
    height: auto;
    white-space: pre;
    overflow: visible;
    font-weight: 500;
    font-style: normal;
    font-family: "Poppins", serif;
    color: #0a0511;
    font-size: 36px;
    letter-spacing: 0px;
    line-height: 1.6;
}

.login-text {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
    font-weight: 400;
    font-style: normal;
    font-family: "Open Sans", sans-serif;
    color: #000000;
    font-size: 16px;
    letter-spacing: 0px;
    line-height: 1.6;
}

.login-text.small {
    font-size: 14px;
    color: #52495d;
    text-align: center;
    margin: 12px 0 0;
}

.login-text.small a {
    color: #0a0511;
}

.login-or {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    color: #52495d;
}

.login-or::before, .login-or::after {
    content: "";
    flex: 1;
    border-top: 1px solid #d6d3d8;
}

.login-button {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 22px 10px 22px;
    background-color: #24292f;
    overflow: visible;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font: inherit;
    transition: background-color 0.3s;
}

.login-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    padding-right: 8px;
    color: #ffffff;
}

.login-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.login-icon.dark {
    color: #0a0511;
    padding-right: 0;
}

.sign-in-with {
    flex-shrink: 0;
    width: auto;
    height: auto;
    white-space: pre;
    overflow: visible;
    font-weight: 600;
    font-style: normal;
    font-family: "Open Sans", sans-serif;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 0px;
    line-height: 1.6;
    text-align: center;
    transition: color 0.5s;
}

.action-button {
    background-color: #ff8500;
}

.login-button:hover, .action-button:hover {
    border: 1px solid rgba(255, 133, 0, 1);
    background-color: #ffffff;
}

.login-button:hover .sign-in-with, .login-button:hover .login-icon {
    color: rgba(36, 41, 47, 1);
}

.login-fields {
    width: 100%;
    margin: 0;
}

.info-field {
    pointer-events: auto;
    border: none;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    margin: 0 0 12px;
    font-family: 'Open Sans', sans-serif;
    appearance: none;
    color: rgb(82, 73, 93);
    background-color: rgb(243, 243, 244);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    caret-color: #ff8500;
}

.info-field:focus {
    box-shadow: 0 0 0 1px #ff8500 inset;
}

.error {
    color: #D8000C;
    background-color: #FFBABA;
    border: 1px solid #D8000C;
    border-radius: 8px;
    padding: 8px;
    margin: 0 0 16px;
    width: 100%;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
}

@media (max-width: 480px) {
    .login-form { padding: 24px 20px; }
    .header { padding: 16px; padding-bottom: 48px; }
    .header-logo { width: auto; }
    .content { padding: 0 16px 32px; }
    .field { flex-direction: column; gap: 2px; }
    .identities .when { display: none; }
}
