*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: "Inter", arial, helvetica, sans-serif;
    -ms-font-feature-settings: "liga" 1;
    font-feature-settings: "liga" 1;
    font-size: 16px;
    color: #222427;
    overflow-x: hidden;
    background: #fff;
}

.hero {
    margin-top: 60px;
    height: 70vh;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;

    /* background: #fcfcfd; */
    /* border-left: 60px solid #fff; */
    /* border-right: 60px solid #fff; */
}

.button {
    color: #0f76db;
    text-decoration: none;
    border: 1px solid;
    padding: 1em 3.9em;
    border-radius: 3px;
    font-size: 0.8rem;
}

nav {
    /* height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.7rem; */
    /* position: fixed;
    top: 0;
    left: 0; */
    /* background: #fff; */
}

.app-title {
    font-size: 1.2rem;
    font-weight: 200;
}

.logo {
    /* background: #00284c; */
    /* border-radius: 50%; */
    width: 100px;
    height: 100px;
    margin-right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
}

.logo img {
    width: 50px;
    height: 50px;
}
/* .logo {
    width: 196px;
} */

.amorphous {
    /* width: 50vmin; */
    /* height: 50vmin; */
    width: 100vw;
    height: 100%;
    /* min-width: 380px; */
    min-height: 380px;
    margin: 0 auto;
    /* background-color: #eef1f4; */

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* animation: blobber 30s linear infinite; */
    border-radius: 10px;
    /* background-size: 24px; */
}

.body-content > div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

h1 {
    font-weight: bold;
    font-size: 2.5rem;
    /* color: #0f76db; */
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: -0.07em;
}

.beta {
    display: inline-block;
    font-weight: normal;
    font-size: 0.7rem;
    background: #0f76db;
    color: #fff;
    padding: 0.4em 0.9em;
    border-radius: 2em;
    vertical-align: sub;
    transform: translateY(-3.8rem);
    line-height: 1;
}

h2 {
    text-align: left;
    font-weight: 600;
    font-size: 1.4rem;
    /* color: #092748; */
    line-height: 1;
    margin: 0 0 0.5em 0;
}

.cta {
    border: none;
    -webkit-appearance: none;
    font-size: 0.9rem;
    display: inline-block;
    font-weight: normal;
    background: #009af9;
    color: #fff;
    padding: 1em 1.6em;
    border-radius: 10px;
    text-decoration: none;
    width: 100%;
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.1);
}

.secondary-link {
    font-size: 0.8em;
    position: relative;
}
.secondary-link:hover {
    text-decoration: none;
}
.secondary-link:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    border-bottom: 1px dotted;
}
@media (max-width: 800px) {
    html,
    body {
        font-size: 14px;
    }
}

@media (max-width: 580px) {
    h1 {
        font-size: 3.2rem;
    }
    h2 {
        font-size: 1.1rem;
    }
}

.pattern-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 90%;
    /* box-shadow: 0 1px 3px rgba(9, 39, 72, 0.05), 0 3px 20px rgba(9, 39, 72, 0.08); */
}

/* @supports (backdrop-filter: blur(3px)) or (-webkit-backdrop-filter: blur(3px)) {
    .pattern-box {
        box-shadow: none;
        background: rgba(255, 255, 255, 0.54);
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
    }
} */

.pattern-box.login {
    /* padding: 3rem; */
    /* width: 900px; */
    height: 640px;
    max-height: 100vh;
    /* background: url(../images/blob.svg); */
    /* background-size: contain;
    background-position: center;
    background-repeat: no-repeat; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    gap: 1rem;
}

.pattern-box.formless {
    padding: 1.5rem;
}

.action-link {
    margin: 1em 0 0;
    text-align: left;
    display: block;
}

.adminpage {
    position: relative;
    width: 100%;
    max-width: 700px;
}

.floating-form {
    font-size: 0.8rem;
    /* text-align: center; */
    margin-bottom: 0;
    width: 100%;
    /* padding: 1.5rem; */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-form {
    width: 360px;

    max-width: 100%;
    margin: 0 auto;
}

.session-error {
    margin-bottom: 1em;
    text-align: center;
    color: #9b0000;
}

.form-group {
    text-align: left;
    position: relative;
    /* margin-bottom: 1em; */
}

.form-group label {
    text-align: left;
    font-size: 0.8rem;
    color: #252525;
    /* margin-top: 1em; */
    display: inline-block;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"] {
    -webkit-appearance: none;
    font-size: 0.9rem;
    padding: 0.9rem 0.7rem;
    margin: 0.2rem 0;
    border-radius: 10px;
    border: 1px solid hsl(210, 8%, 90%);
    width: 100%;
    /* max-width: 330px; */
    background: #fff;
    font-family: inherit;
}

.form-group input:-webkit-autofill {
    background: #fff;
}

.form-group input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}
.form-group input[type="checkbox"] + label {
    color: #565656;
    font-size: 0.8rem;
}
.form-group input[type="checkbox"] + label:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.5em;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-top: -0.15em;
}
.form-group input[type="checkbox"]:checked + label:after {
    content: "";
    position: absolute;
    left: 0.55em;
    top: 1.05em;
    width: 0.45em;
    height: 0.9em;
    border-right: 0.15em solid #3c3b3b;
    border-bottom: 0.15em solid #3c3b3b;
    transform: rotate(45deg);
}

.form-group select {
    background: rgb(243, 243, 243);
    padding: 0.9rem 0.7rem;
    margin: 0.2rem 0;
    border-radius: 3px;
    border: 1px solid rgba(6, 32, 65, 0.04);
    width: 100%;
    font: inherit;
}
.form-group textarea {
    -webkit-appearance: none;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0.9rem 0.7rem;
    margin: 0.2rem 0;
    border-radius: 3px;
    border: 1px solid rgba(6, 32, 65, 0.04);
    width: 100%;
    resize: vertical;
    /* max-width: 330px; */
    background: rgb(243, 243, 243);
    min-height: 15em;
}

.form-group textarea:disabled,
.form-group select:disabled,
.form-group input:disabled {
    opacity: 0.4;
    color: #000;
}

button {
    font-family: inherit;
}
button:disabled {
    opacity: 0.4;
}

.login-message {
    padding: 1em;
    font-size: 0.8rem;
    text-align: center;
    background: rgba(232, 29, 29, 0.2);
    color: #942e2e;
    margin: 1rem 0 0.5rem;
    border-radius: 10px;
    /* font-weight: bold; */
}
.login-message.success {
    background: rgba(29, 232, 112, 0.2);
    color: #35774d;
}

.login-message:empty {
    display: none;
}
.dologin {
    margin-top: 0.8rem;
}

.dologin .forgot {
    margin-top: 1em;
    display: inline-block;
    float: right;
}

.gotobuilder-button {
    color: #fff;
    background: #0086ff;
    border: none;
}
.logout-button {
    margin-top: 1em;
}

.loader {
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: auto !important;
    padding: 110px;
    padding-top: 100px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transition: visibility 0.15s, opacity 0.15s;
    border-radius: 6px;
}

.loader.visible {
    visibility: visible;
    opacity: 1;
}

.validationmsg {
    color: #f00;
    font-weight: bold;
}

.appbartabs {
    width: 60px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #171b21;
    display: flex;
    flex-direction: column;
}

.appbartabs .app-icon {
    border: none;
    width: 60px;
    height: 60px;

    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.appbartabs a {
    width: 60px;
    height: 60px;
    color: hsla(214, 7%, 70%, 1);
    border-radius: 0;
    border: none;
    background-color: transparent;
    position: relative;

    transition: opacity 0.2s, background-color 0.15s;

    padding: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.appbartabs a:before {
    content: "";
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-left: 2px solid var(--theme-primary-color);
    transform: translateX(-3px);
    transition: transform 0.15s;
}

.appbartabs a .tab-label,
.appbartabs button .tab-label {
    font-size: 0.65rem;
    padding-top: 0.3em;
}

.appbartabs a:hover:not(.app-icon):not(.current) {
    background: #1f252d;
}
.appbartabs a.current {
    background: #1f252d;
    color: #009af9;
    color: var(--theme-primary-color);
}

.appbartabs a.current:before {
    transform: translateX(0px);
}
.appbartabs a:disabled {
    opacity: 0.2;
    cursor: default;
}
.appbartabs a.app-icon {
    cursor: default;
}

.profile-page hr {
    clear: both;
    border: none;
    background: transparent;
    height: 0;
    margin: 1rem 0;
}

.profile-page .user-details {
    margin: 0 0 0.5em 0;
    float: left;
}
.profile-page h1 {
    text-align: left;
    font-weight: 300;
    font-size: 1.8rem;
    /* color: #092748; */
    line-height: 1;

    text-transform: none;
    color: inherit;
}

.sub-detail {
    color: #ccc;
    margin-bottom: 0;
    line-height: 1.1;
    font-size: 0.9rem;
}

.sub-detail-label {
    text-transform: uppercase;
    font-size: 0.6rem;
    font-weight: bold;
}

.profile-banner {
    background: hsl(210, 21%, 96%) url(../images/topography.svg);
    background-size: cover;
    height: 200px;
    max-height: 50vh;
}

.profile-form {
    max-width: 850px;
    margin: 0 auto;
    padding: 1rem;
}

.user-avatar {
    position: relative;
    float: left;
    width: 150px;
    height: 150px;
    background: hsl(210, 21%, 96%);
    border: 2px solid #fff;
    border-radius: 200px;
    margin-top: -90px;
    margin-left: -22px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-right: 1rem;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-input {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

.avatar-upload-input input {
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    width: 0;
    height: 0;
    min-width: 0;
    min-height: 0;
}

.avatar-upload-input label {
    display: block;

    line-height: 1;
    width: 100%;

    padding: 0.7rem;
    color: #fff;
    fill: #fff;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 1));
}

.avatar-upload-input .instructions {
    opacity: 0;
    transition: opacity 0.15s;
    position: absolute;
    bottom: 100%;
    left: 50%;
    text-align: center;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    padding: 0.3em 0.5em;
    border-radius: 6px;
    transform: translateX(-50%);
}
.avatar-upload-input label:hover .instructions {
    opacity: 1;
}

.profile-name-input {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 0.5rem;
}

@media (max-width: 970px) {
    .profile-banner {
        height: 140px;
    }
    .user-avatar {
        margin: -90px auto 1rem;
        float: none;
    }

    .profile-page .user-details {
        margin: 0 auto;
        float: none;
        text-align: center;
    }

    .user-details h1 {
        display: inline;
    }
}
