﻿:root {
    --success-color: #107c10;
    --warning-color: #ca5010;
}

.editor-menu {
    background-color: var(--neutral-layer-2);
    height: 46px;
}

.editor-main {
    min-height: calc(100dvh - 134px);
    color: var(--neutral-foreground-rest);
    align-items: stretch !important;
    overflow-y:hidden;
    overflow-x:auto;
    width:100%;
    
}

.editor-body-content {
    align-self: stretch;
    max-height: calc(100dvh - 86px) !important;
    display: block;
    overflow: hidden !important;
}

.scenario-editor-content-height {
    height: calc(100dvh - 228px);
    overflow-y:auto;
}

.scenario-editor-table {
    max-height: calc(100dvh - 228px);
}

.commit-hash {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 0.8em;
    color: #888;
    margin-left: auto;
    padding: 0 10px;
}

a.build-with {
    color: #888;
    text-decoration: none;
}

a.build-with:hover {
    text-decoration: none;
}

a.build-with:active {
    text-decoration: none;
}

a.build-with.visited {
    color:#888;
    text-decoration: none;
}

.overflow-column {
    overflow: visible !important;
}

#tenant-accounts-grid {
    height: calc(100dvh - 360px);
    min-height: 8rem;
    overflow-x: auto;
    overflow-y: hidden;
}

.scenario-card {
    height: 200px;
    display: flex;
}

.scenario-card .card-stack {
    height: 100%;
    width: 100%;
}

.scenario-card .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.scenario-card .content-area {
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
}

.scenario-card .content-area .content-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.scenario-card .footer-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.scenario-card .content-area:hover {
    overflow-y: auto;
}   
        
.scenario-card .content-area:hover .content-text {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.dashboard-container {
    padding: 40px 60px;
    max-height: calc(100dvh - 86px) !important;
    min-height: 100%;
    /*background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
}

.dashboard-header {
    margin-bottom: 48px;
}

.dashboard-card {
    height: 280px;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dashboard-card-clickable {
    cursor: pointer;
}

.dashboard-card-clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.dashboard-card-disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.dashboard-card-disabled:hover {
    transform: none;
}