@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --bg-0: #0a0e1a;
    --bg-1: #0f1626;
    --bg-2: #161f33;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(255, 255, 255, 0.07);
    --surface-edge: rgba(255, 255, 255, 0.08);
    --ink: #f8fafc;
    --ink-soft: #cbd5e1;
    --ink-muted: #94a3b8;
    --accent: #22d3ee;
    --accent-2: #a78bfa;
    --accent-3: #f59e0b;
    --accent-glow: rgba(34, 211, 238, 0.32);
    --ok: #34d399;
    --danger: #f87171;
    --page-max-width: 1180px;
    --page-padding-x: 24px;
    --section-gap: 96px;
    --card-padding: 24px;
    --drawer-width: min(440px, 92vw);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --radius-button: 14px;
    --radius-input: 11px;
    --t-fast: 160ms cubic-bezier(.32, .72, 0, 1);
    --t-med: 280ms cubic-bezier(.32, .72, 0, 1);
    --t-slow: 520ms cubic-bezier(.16, 1, .3, 1);
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.theme-hc24 {
    --theme-page: #f4f7fb;
    --theme-panel: #ffffff;
    --theme-ink: #0f1626;
    --theme-muted: #64748b;
    --theme-border: #d2dae7;
    --theme-accent: #22d3ee;
    --theme-accent-strong: #0e7490;
    --theme-accent-2: #a78bfa;
    --theme-warning: #f59e0b;
    --theme-ok: #34d399;
    --theme-danger: #f87171;
    --theme-soft: rgba(34, 211, 238, 0.10);
    --theme-soft-strong: #eefbfe;
    --theme-focus: rgba(34, 211, 238, 0.22);
    --theme-primary: #0f1626;
    --theme-primary-ink: #ffffff;
    --theme-table-head: #edf7fb;
    --theme-row-alt: #fbfdff;
}

.theme-graphite {
    --theme-page: #f6f7f9;
    --theme-panel: #ffffff;
    --theme-ink: #111827;
    --theme-muted: #667085;
    --theme-border: #cdd5df;
    --theme-accent: #38bdf8;
    --theme-accent-strong: #0369a1;
    --theme-accent-2: #818cf8;
    --theme-warning: #fbbf24;
    --theme-ok: #22c55e;
    --theme-danger: #ef4444;
    --theme-soft: rgba(56, 189, 248, 0.11);
    --theme-soft-strong: #e8f6fd;
    --theme-focus: rgba(3, 105, 161, 0.22);
    --theme-primary: #111827;
    --theme-primary-ink: #ffffff;
    --theme-table-head: #eef2f7;
    --theme-row-alt: #fbfcfe;
}

.theme-focus {
    --theme-page: #f7fbf9;
    --theme-panel: #ffffff;
    --theme-ink: #10201d;
    --theme-muted: #5f746e;
    --theme-border: #bdd8d1;
    --theme-accent: #14b8a6;
    --theme-accent-strong: #0f766e;
    --theme-accent-2: #2563eb;
    --theme-warning: #f97316;
    --theme-ok: #16a34a;
    --theme-danger: #dc2626;
    --theme-soft: rgba(20, 184, 166, 0.12);
    --theme-soft-strong: #e5f7f4;
    --theme-focus: rgba(15, 118, 110, 0.23);
    --theme-primary: #0f766e;
    --theme-primary-ink: #ffffff;
    --theme-table-head: #e7f7f4;
    --theme-row-alt: #fbfefd;
}

.theme-warm {
    --theme-page: #fbf8fa;
    --theme-panel: #ffffff;
    --theme-ink: #1f1720;
    --theme-muted: #756575;
    --theme-border: #dbc9d5;
    --theme-accent: #e11d48;
    --theme-accent-strong: #9f1239;
    --theme-accent-2: #0ea5e9;
    --theme-warning: #f59e0b;
    --theme-ok: #22c55e;
    --theme-danger: #b91c1c;
    --theme-soft: rgba(225, 29, 72, 0.10);
    --theme-soft-strong: #fde8ee;
    --theme-focus: rgba(159, 18, 57, 0.22);
    --theme-primary: #9f1239;
    --theme-primary-ink: #ffffff;
    --theme-table-head: #fbeaf0;
    --theme-row-alt: #fffbfd;
}

html, body {
    font-family: var(--font-family);
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}


.dxbl-grid {
    height: 522px;
}

.iconPlay {
    width: 16px;
    height: 16px;
    background-image: url('/images/media_play.svg'); 
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(43%) sepia(90%) saturate(435%) hue-rotate(90deg) brightness(92%) contrast(88%);
}

.iconAdd {
    width: 16px;
    height: 16px;
    background-image: url('/images/plus.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(43%) sepia(90%) saturate(435%) hue-rotate(90deg) brightness(92%) contrast(88%);
}

.iconDelete {
    width: 16px;
    height: 16px;
    background-image: url('/images/minus.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(29%) sepia(89%) saturate(7481%) hue-rotate(0deg) brightness(95%) contrast(109%);
}

.iconDetails {
    width: 16px;
    height: 16px;
    background-image: url('/images/document_text.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.iconBranch {
    width: 16px;
    height: 16px;
    background-image: url('/images/element_branch2.svg');
    background-size: contain;
    background-repeat: no-repeat;
}


.dx-datagrid-rowsview .dx-row > .dx-master-detail-cell {
    padding: 10px;
}  
