/* Copyright (c) 2023 AnnotateIt, Inc. */


body {
    margin: 0;
    background: #0d0c14;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;

    font-size: 16px;
    line-height: normal;
}

.button {
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    box-sizing: border-box;

    border: none !important;
    border-radius: 10px;
    padding: 8px 20px;
}

.button.disabled {
    cursor: default;
}

.button-purple {
    background-size: 150% auto;
    background-image: linear-gradient(270deg, #9B8BFF 0%, #5D5492 100%);
    transition: 0.4s;
}

.button-purple.disabled, .button-purple.disabled:hover {
    background-position: left center !important;
    background-image: linear-gradient(270deg, #9b8bff88 0%, #5d549288 100%);
}

.button-purple:hover {
    background-position: right center;
    color: #ffffff;
}

.nav-bar {
    height: 80px;
    padding: 20px 40px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #393939;
    z-index: 20;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.nav-row-gap {
    gap: 32px;
}

.nav-panel {
    background: #171717;
    position: absolute;
    border-radius: 6px;

    padding: 12px 10px;

    z-index: 2;
}

.nav-panel.profile-menu {
    top: 60px;
    right: 40px;
}

.nav-panel > .flex-item {
    cursor: pointer;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 14px;
    padding: 4px 6px;
    border-radius: 4px;

    color: white;
    font-size: 14px;
    line-height: normal;

    margin-bottom: 10px;

    text-decoration: none !important;
}

.nav-panel > .flex-item:last-of-type {
    margin-bottom: 0 !important;
}

.nav-panel > .flex-item:hover {
    background: #393939;
}

.nav-panel > svg {
    max-height: 15px;
}

.gap-8 {
    gap: 8px;
}

.flex-sub-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
}

.logo-sub-type {
    display: flex;
    padding: 5px 10px;
    border: 1px solid #393939;
    border-radius: 68px;
    background: #191a1d;

    color: #ffffff;
    font-size: 10px;
    line-height: 10px;
    font-weight: 500;
}

.nav-button {
    font-size: 16px;
    line-height: 18px;
    text-decoration: none;

    border-radius: 4px;
    color: #cfddfd;
    padding: 12px 16px;
}

.nav-button.with-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.nav-button:hover {
    background: #222833;
}

.nav-button.selected {
    background: #222833;
    color: #99d5c9;
}

.nav-button.selected path {
    fill: #99d5c9;
}

.page {
    width: 100vw;
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.section-title {
    color: #ffffff;
    font-size: 20px;
    line-height: normal;
    font-weight: 700;
}

.section-subheading {
    color: #ffffff;
    font-size: 16px;
    line-height: normal;
    font-weight: 700;
    font-style: normal;
}

.dash-container {
    padding: 33px 44px;
}

.dash-container > .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-container .primary-action {
    font-size: 16px;
    line-height: 16px;
    padding: 8px 22px;
}

.center-cards {
    position: absolute;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    z-index: 1;

    gap: 60px;
}

.dash-card {
    position: relative;
    width: 260px;
    height: 300px;
    z-index: 2;
    background: #ffffff;
    box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;

    color: #000611;
}

.dash-card.active:hover {
    cursor: pointer;
    /*box-shadow: rgba(153, 213, 201, 0.4) 0 7px 29px 0;*/
    box-shadow: rgba(45, 3, 32, 0.4) 0 7px 29px 0;
}

.dash-card.disabled {
    opacity: 0.5;
}

.dash-card > .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(255, 255, 255, 0.7);
    z-index: 3;
}

.dash-card > img {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 40px;
}

.dash-card > .card-footer {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px 20px 14px;
    border-top: 1px solid #392b58;
    width: 100%;
    box-sizing: border-box;
}

.dash-card.active:hover h3 {
    font-weight: bold;
}

.dash-card h3 {
    color: #392b58;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-card h4 {
    color: #392b58;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumbs {
    list-style: none;
    color: #392b58;
    padding: 0;
    margin: 16px 0;
}

.breadcrumbs > li {
    display: inline;
    font-size: 14px;
    line-height: 20px;
}

.breadcrumbs li+li:before {
    padding: 8px;
    content: "/\00a0";
    font-weight: normal;
}

.breadcrumbs li:last-of-type {
    font-weight: bold;
}

.breadcrumbs li a {
    background: none !important;
    border: none;
    padding: 0 !important;
    text-decoration: none;

    color: #392b58;
}

.breadcrumbs li a:hover {
    color: #281a47;
}

.creations {
    gap: 30px;
}

.dash-card.creation {
    width: 260px;
    height: 320px;
    text-decoration: none;
}

.dash-card.creation > .card-footer {
    height: 60px;
    border-top: none;
}

.dash-card.creation > .thumbnail-area {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
}

.gallery-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 24px;
}

.gallery-card {
    background: #222833;
    border: 1px solid #444a55;
    padding: 12px;

    display: flex;
    flex-direction: row;
    gap: 18px;

    color: #a9b2c8;
    font-size: 16px;
    line-height: 22px;

    border-radius: 10px;
}

.gallery-card:hover {
    box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
}

.gallery-card > .generation-thumbnail {
    width: 180px;
    height: 180px;
}

.gallery-card > .generation-info {
    display: flex;
    flex-direction: column;

    width: 200px;
    height: 180px;
}

.generation-info > .generation-details {
    flex: 1;
}

.generation-info > .info-footer {
    border-top: 1px solid #98a1b7;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

.info-footer > .actions {
    height: 16px;
    line-height: 0;
}

.gallery-card .three-thumbnail {
    width: 180px;
    height: 180px;
}

.secondary-text {
    font-size: 14px;
    line-height: 18px;
    color: #98a1b7;
}

.primary-text {
    color: #cfddfd;
    white-space: nowrap;
    overflow: hidden;
    margin: 6px 0;
    box-sizing: border-box;
}

div:focus {
    outline: none;
}

.updated-text {
    color: #a9b2c8;
    font-size: 12px;
    line-height: 18px;
}


/* Empty and under construction pages */

.feature-promo, .empty-placeholder {
    display: flex;
    color: #a9b2c8;
}

.feature-promo {
    flex-direction: column;
    align-items: center;
}

.empty-placeholder {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.feature-promo > div {
    max-width: 500px;
}

.empty-placeholder > div {
    max-width: 330px;
}

.feature-promo .three-thumbnail, .empty-placeholder .three-thumbnail {
    width: 300px;
    height: 300px;
}


/* Forms, usually generated using utils/forms/render.html, can be safely moved to main.css */

.mb-14 {
    margin-bottom: 14px;
}

.form-field {
    margin-bottom: 14px;
}

.form-field > label {
    color: #d5d5d5;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: block;
    margin-bottom: 10px;
}

.form-field > input[type="text"], .form-field > textarea {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    border-radius: 8px;
    background: #222222;
    padding: 10px 14px;

    border: 1px solid transparent;

    margin-bottom: 10px;
}

.form-field > input.with-error {
    border: 1px solid #e197c4;
}

.form-field > input.with-success {
    border: 1px solid #09b089;
}

.form-field > input.with-submitting {
    border: 1px solid #039be5;
}

.form-field > input[type="file"] {
    margin-bottom: 10px;
}

.form-field.with-error > input[type="text"], .form-field.with-error > textarea {
    border: 1px solid #e197c4;
}

.auto-text-area {
    height: auto;
}

.error-list {
    font-size: 12px;
    line-height: normal;
    color: #e197c4;
    margin: 0;
}

ul.error-list {
    padding: 0 20px;
}

.form-field > .help-text {
    color: #a1a1a1;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.url-stub {
    display: inline-block;
    margin-right: 8px;
    font-size: 12px;
    color: #eceaf4;
}

hr {
    height: 1px;
    background: linear-gradient(to right, #5d5492, #9b8bff);
}

.text-width-widescreen {
    max-width: 512px;
}


.setup-icons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
}

.setup-icon {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    cursor: pointer;
}

.setup-icon:hover svg, .setup-icon.selected svg {
    fill: #ffffff;
}

.setup-icon:hover .setup-button, .setup-icon.selected .setup-button {
    border: 2px solid #ffffff;
}

.setup-icon:hover .setup-label, .setup-icon.selected .setup-label {
    color: #ffffff;
}

.setup-icon.completed .setup-button {
    border: 2px solid #09b089;
}

.setup-icon.completed svg {
    fill: #09b089;
}

.setup-button {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    position: relative;

    border: 2px solid #909090;
}

.setup-button > svg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;

    max-width: 30px;
    max-height: 30px;
    fill: #909090;
}

.setup-label {
    font-size: 14px;
    color: #909090;
    font-weight: 700;
}

.setup-step {
    margin-top: 24px;
    max-width: 512px;
}

.connection-info {
    max-width: 360px;
}
