/* Mermaid and Task Management Styles */

/* Mermaid Chart Styles */
.mermaid {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-color: white;
    padding: 1rem;
    border-radius: 4px;
}

.mermaid svg {
    width: 100% !important;
    height: 100% !important;
    min-height: 300px;
}

/* Task Management Styles */
.columns-container {
    height: calc(100vh - 180px); /* Adjust height as needed, subtracting header space */
    margin-top: 20px;
}

.scrollable-column {
    height: 100%;
    overflow-y: auto;
    padding: 1rem;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
}

.task-column {
    margin-right: 10px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.chart-column {
    margin-left: 10px;
}

.mermaid-container {
    min-height: 300px;
    height: calc(100% - 3rem); /* Subtract margin and padding */
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.mermaid-subtitle {
    margin-bottom: 0.5rem;
}

.mermaid-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.task-column .box {
    margin-bottom: 1.5rem;
}

.box {
    overflow-x: hidden;
}

/* Circular Progress Styles */
.circular-progress {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 60px;
}

.circular-progress-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circular-progress-background {
    fill: none;
    stroke: #e6e6e6;
    stroke-width: 2;
}

.circular-progress-value {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s ease;
}

.circular-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
}

/* Bulma color classes for circular progress */
.circular-progress.is-primary .circular-progress-value {
    stroke: #00d1b2;
}

.circular-progress.is-link .circular-progress-value {
    stroke: #3273dc;
}

.circular-progress.is-info .circular-progress-value {
    stroke: #209cee;
}

.circular-progress.is-success .circular-progress-value {
    stroke: #23d160;
}

.circular-progress.is-warning .circular-progress-value {
    stroke: #ffdd57;
}

.circular-progress.is-danger .circular-progress-value {
    stroke: #ff3860;
}