:root {
    color-scheme: light;
    --color-bg: #ffffff;
    --color-fg: #0a0a0a;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --color-surface: #f9fafb;
    --color-surface-strong: #f3f4f6;
    --color-primary: #000000;
    --color-primary-contrast: #ffffff;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
}

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

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    font-feature-settings: "cv11";
    background: var(--color-bg);
    color: var(--color-fg);
}

.az-header {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    height: 64px;
    padding: 0 24px;
}

.az-header img {
    height: 40px;
    width: auto;
}

.az-header svg {
    height: 32px;
    width: 32px;
}

.az-img-user img {
    border-radius: 999px;
    height: 36px;
    width: 36px;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 14px;
}

button {
    border: 1px solid var(--color-border);
    background: var(--color-primary);
    color: var(--color-primary-contrast);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

button:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

input,
select,
textarea {
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    padding: 8px 10px;
    background: #ffffff;
    color: var(--color-fg);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.1);
}

.layout-row {
    display: flex;
    flex-direction: row;
    gap: var(--space-2);
}

.layout-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.layout-spacer {
    flex-grow: 1;
}

.spacer {
    flex-grow: 1;
}

progress::-moz-progress-bar {
    background: var(--color-fg);
}

progress::-webkit-progress-value {
    background: var(--color-fg);
}

progress {
    color: var(--color-fg);
}

.tw_Groups-Container {
    background-color: var(--color-surface);
    color: var(--color-fg);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    font-feature-settings: "cv11";
    padding: 10px;
    gap: 10px;
}

.tw_Ctrl-Group {
    background-color: #ffffff;
    color: var(--color-fg);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    font-family: "Inter", sans-serif;
    font-feature-settings: "cv11";
    border: 1px solid var(--color-border);
}

.tw_tabs-container {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0;
    font-weight: 600;
    font-size: 16px;
    gap: 20px;
}

.tw_tabs-button,
.tw_tabs-button-selected {
    background-color: transparent;
    border: none;
    outline: none;
    color: var(--color-fg);
    padding-bottom: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.tw_tabs-button-selected {
    border-bottom: 2px solid var(--color-fg);
}

.tw_ToolTip {
    background-color: var(--color-fg);
    color: var(--color-primary-contrast);
    border-radius: 16px;
    padding: 20px;
    font-family: "Inter", sans-serif;
    font-feature-settings: "cv11";
}

.tw_h3 {
    font-weight: 600;
    font-size: 14px;
}

.tw_h3_5 {
    color: var(--color-fg);
    font-size: 12px;
    font-family: "Inter", sans-serif;
}

.tw_h4 {
    color: var(--color-muted);
    font-size: 12px;
    font-family: "Inter", sans-serif;
}

.tw_List-Item-Container {
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0 10px 0;
    display: flex;
    font-family: "Inter", sans-serif;
    font-feature-settings: "cv11";
    gap: 6px;
    margin-right: 20px;
}

.tw_List-Item-Label {
    margin-top: 10px;
}

.tw_Icon-Clickable {
    border-radius: 4px;
    padding: 10px 6px 6px 6px;
    cursor: pointer;
}

.tw_icon-clickable {
    cursor: pointer;
}

.tw_Icon-Clickable:hover {
    background-color: var(--color-surface-strong);
}

.tw_icon-clickable:hover {
    color: var(--color-fg);
}

.tw_button,
.tw_button-alt {
    border: 1px solid var(--color-border);
    outline: none;
    border-radius: var(--radius-sm);
    padding: 6px 20px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    font-feature-settings: "cv11";
    height: 34px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.tw_button {
    background-color: var(--color-primary);
    color: var(--color-primary-contrast);
}

.tw_button:hover {
    background-color: #1f2937;
}

.tw_button-alt {
    background-color: #ffffff;
    color: var(--color-fg);
}

.tw_button-alt:hover {
    background-color: var(--color-surface-strong);
}

.tw_dialog-container {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(80, 80, 80, 0.3);
    display: none;
}

.tw_dialog {
    margin: auto;
}

.tw_input,
.tw_select {
    background-color: #ffffff;
    color: var(--color-muted);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    height: 34px;
    outline: none;
    box-shadow: var(--shadow-sm);
    font-family: "Inter", sans-serif;
    font-feature-settings: "cv11";
    padding: 6px 6px 6px 20px;
}

.tw_input:focus,
.tw_select:focus {
    outline: none;
    border-color: var(--color-fg);
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.1);
}

.tw_icon-very-large {
    vertical-align: -0.125em;
    width: 6em;
    height: 6em;
}

.tw_icon-large {
    vertical-align: -0.125em;
    width: 3em;
    height: 3em;
}

.tw_icon-small {
    vertical-align: -0.125em;
    width: 1em;
    height: 1em;
    color: var(--color-muted);
    fill: currentColor;
}

.DASHBOARD_tailwind-button {
    background-color: var(--color-surface-strong);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-sizing: border-box;
    color: var(--color-fg);
    font-family: "Inter", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    padding: 0 12px;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.DASHBOARD_tailwind-button:hover {
    background-color: #ffffff;
}

.DASHBOARD_page-tile {
    background-color: var(--color-fg);
    color: var(--color-primary-contrast);
}

.DASHBOARD_User {
    margin-top: 18px;
    margin-right: 30px;
}

.DASHBOARD_Breadcrumb {
    margin-bottom: 30px;
    margin-left: 10px;
    color: var(--color-fg);
    text-transform: uppercase;
    font-family: "Inter", sans-serif;
    font-feature-settings: "cv11";
    font-size: 12px;
    display: flex;
    align-items: center;
}

.DASHBOARD_Breadcrumb span + span::before {
    content: ">";
    margin: 0 6px;
    color: var(--color-muted);
}

.DASHBOARD_BarAndContentContainer {
    display: flex;
    height: 100%;
    width: 100%;
    padding: 0 0 20px 0;
}

.DASHBOARD_Toobar {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-left: 20px;
    gap: 0;
    margin-top: 80px;
    width: 200px;
}

.DASHBOARD_Toobar h3 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 6px;
}

.DASHBOARD_Toobar-Button,
.DASHBOARD_Toobar-Button-Selected {
    border: none;
    width: 100%;
    padding-left: 2px;
    margin-left: 0;
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 0;
    margin-top: 0;
    background-color: transparent;
    font-size: 13px;
    font-weight: 500;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 8px;
}

.DASHBOARD_Toobar-Button-Selected {
    background-color: var(--color-surface-strong);
    border-radius: var(--radius-sm);
}

.DASHBOARD_Toobar-Button.tw_button-alt,
.DASHBOARD_Toobar-Button-Selected.tw_button-alt {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.DASHBOARD_Toobar-Button i,
.DASHBOARD_Toobar-Button-Selected i {
    font-size: 14px;
    margin-top: 0;
}

.DASHBOARD_ContentBase {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-surface);
    padding-top: 20px;
}

.DASHBOARD_Content {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    overflow-y: auto;
}

.DASHBOARD_ClicableText {
    color: var(--color-fg);
    cursor: pointer;
    font-size: 14px;
}

.DASHBOARD_ClicableText:hover {
    text-decoration: underline;
}

.DASHBOARD_Noaccess {
    color: #b91c1c;
}

.DASHBOARD_Button {
    height: 38px;
}

.DASHBOARD_icon-large,
.DASHBOARD_icon-yes-small,
.DASHBOARD_icon-yes-medium,
.DASHBOARD_icon-no-small,
.DASHBOARD_icon,
.DASHBOARD_icon-medium,
.DASHBOARD_icon-small,
.DASHBOARD_icon-very-small,
.DASHBOARD_icon-small-disabled {
    vertical-align: -0.125em;
    fill: currentColor;
}

.DASHBOARD_icon-large {
    width: 6em;
    height: 6em;
}

.DASHBOARD_icon-yes-small {
    color: #16a34a;
    width: 1em;
    height: 1em;
}

.DASHBOARD_icon-yes-medium {
    color: #16a34a;
    width: 1.6em;
    height: 1.6em;
}

.DASHBOARD_icon-no-small {
    color: #b91c1c;
    width: 1em;
    height: 1em;
}

.DASHBOARD_icon {
    color: var(--color-muted);
    width: 2em;
    height: 2em;
}

.DASHBOARD_icon-medium {
    color: var(--color-muted);
    width: 1.5em;
    height: 1.5em;
}

.DASHBOARD_icon-small {
    color: var(--color-muted);
    width: 1em;
    height: 1em;
}

.DASHBOARD_icon-very-small {
    color: var(--color-muted);
    width: 0.5em;
    height: 0.5em;
}

.DASHBOARD_icon-small-disabled {
    color: var(--color-muted);
    width: 1em;
    height: 1em;
}

.DASHBOARD_icon:hover,
.DASHBOARD_icon-small:hover,
.DASHBOARD_icon-medium:hover {
    color: var(--color-fg);
}

.DASHBOARD_ubuntu-console {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: monospace;
    border-radius: var(--radius-lg);
    margin: 10px;
    padding: 12px;
}

.DASHBOARD_ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.DASHBOARD_client-exception-diag {
    position: absolute;
    z-index: 5;
    bottom: 30%;
    width: 30%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-surface-strong);
    margin-top: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 10px;
    overflow: auto;
    display: none;
}

.DASHBOARD_client-exception-diag .close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.ckbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ckbox input[type="checkbox"] {
    margin: 0 6px 0 0 !important;
}

.ckbox span {
    line-height: 1.3;
}

.app-tooltip {
    position: fixed;
    z-index: 2000;
    display: none;
    max-width: 280px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.35;
    box-shadow: var(--shadow-md);
    pointer-events: none;
}

.app-tooltip p {
    margin: 0;
}

.file-dialog {
    margin: 30px;
    gap: 30px;
}

.file-dialog__list {
    background-color: var(--color-surface-strong);
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.file-dialog__new {
    gap: 4px;
}

.file-dialog__input-row {
    background-color: var(--color-surface-strong);
    padding: 10px;
    border-radius: var(--radius-sm);
    gap: 10px;
}

.file-dialog__actions {
    justify-content: flex-end;
}
