:root {
    --accent: #000000;
    --accent-contrast: #ffffff;
    --green: #00FA9A;
    --red: #FF4500;
    --yellow: #F6C62AFF;

    --box-shadow-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --box-shadow-2: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --box-shadow-3: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    --box-shadow-4: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    --box-shadow-5: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

/*
html, body {
    margin: 0;
    font-family: 'sans-serif';
}

#wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

main {
    width: 100%;
    max-width: 900px;
}*/

@keyframes pulse {
    0% {
        opacity: 100%;
    }
    50% {
        opacity: 75%;
    }
    100% {
        opacity: 100%;
    }
}

div.side-by-side {
    display: flex;
    gap: 6px;
}

.bucket-migrations .migration {
    --status-color: var(--green);
    --status-color-contrast: #000000;
    margin: 12px 0;
    padding: 12px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    box-shadow: var(--box-shadow-1);
    border: 1px solid #ccc;
    border-left: 4px solid var(--status-color);
    background-color: color-mix(in srgb, var(--status-color) 5%, white);
}

.bucket-migrations .migration.has-issues {
    --status-color: var(--red);
    --status-color-contrast: #FFFFFF;
}

.bucket-migrations .migration > div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bucket-migrations .migration .status i {
    font-size: 1.2rem;
    color: var(--status-color);
}

.bucket-migrations .migration .left {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.bucket-migrations .migration .name {
    font-weight: bold;
}

.bucket-migrations .migration .uuid {
    font-size: 0.7rem;
    color: #333333;
}

.issue {
    --status-color: var(--red);
    font-size: 0.9rem;
    border-radius: 4px;
    margin: 12px 0;
    box-shadow: var(--box-shadow-1);
    border: 1px solid #cccccc;
    border-left: 4px solid var(--status-color);
    padding: 16px;
    background-color: color-mix(in srgb, var(--status-color) 5%, white);
}

.issue.resolved {
    --status-color: var(--green);
}

.issue-head {
    display: flex;
    justify-content: space-between;
}

.issue-name {
    font-weight: bold;
}

.issue-code {
    font-size: 0.8rem;
    color: #ccc;
}

/*.issue-head i {
    font-size: 1.3rem;
}

.issue-head .issue-name::before {
    content: 'ISSUE';
    font-weight: bold;
    margin-right: 8px;
}*/

.issue-body {
    background-color: color-mix(in srgb, var(--status-color) 5%, white);
}

.issue-count {
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--status-color-contrast);
    background-color: var(--status-color);
}

.issues .option-box {
    width: auto;
    flex-direction: row;
    justify-content: start;
    padding: 16px;
}

.issue .no-resolution {
    background-color: #ddd;
    cursor: default;
    color: black;
    border: none;
}

.app-import {

}

.app-import .app {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
    padding: 12px;
    box-shadow: var(--box-shadow-1);
    border: 1px solid #ccc;
    border-left: 4px solid var(--accent);
}

.app-import .app .left {
    display: flex;
    flex-direction: column;
}

.app-import .app .name {
    font-weight: bold;
}

.app-import .app .code {
    font-size: 0.7rem;
    color: #333333;
}

.app-import .app .scopes {
    font-size: 0.8rem;
}

#import-log {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background-color: #cccccc;
    height: 500px;
    overflow: scroll;
}

#import-log .log-entry {
    font-family: monospace, sans-serif;
    white-space: nowrap;
}

#import-log .log-entry .level {
    --level-color: black;
    font-weight: bold;
    color: var(--level-color);
}

#import-log .log-entry .level.info {
    --level-color: royalblue;
}

#import-log .log-entry .level.error {
    --level-color: var(--red);
}

#import-log .log-entry .level.warn {
    --level-color: darkorange;
}

#import-log .log-entry .level.debug {
    --level-color: darkcyan;
}

#import-log .log-entry .level.trace {
    --level-color: hotpink;
}

#environment-selection {
    min-height: 174px;
}

#environment-selection.htmx-added {
    /**/
}

div.preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    border: 2px solid #cccccc;
    border-radius: 6px;
}

div.preview img {
    width: 100%;
}

div.preview.bg {
    padding: 0;
}

/* form */

/*dl[id$=_field] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-bottom: 12px;
}

dl[id$=_field] dd {
    margin: 0;
    width: 100%;
}

dl[id$=_field] dd.info {

}*/