﻿
/* Root Kanban layout */
.kanban-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* Collapse to 1 column on tablets/phones */
@media (max-width: 900px) {
    .kanban-container {
        grid-template-columns: 1fr;
    }
}


/* Column wrapper (each status) */
.kanban-column {
    padding: 8px;
}

/* Drop zone fills the column */
.kanban-dropzone {
    min-height: 80px; /* so empty columns still show a target area */
    padding: 4px;
}

/* Task card */
.kanban-card {
    padding: 8px 12px;
    margin-bottom: 6px;
    cursor: grab;
}

/* Footer inside card */
.kanban-card-footer {
    margin-top: 6px;
}
.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px; /* adjust to your layout */
    display: inline-block;
}

/* Mobile typography + component tweaks: screens <= 600px */
@media (max-width: 600px) {
    /* Global rem downscale */
    html {
        font-size: 14px;
    }

    /* Core typography */
    .mud-typography-body1 {
        font-size: 0.9rem;
    }

    .mud-typography-body2 {
        font-size: 0.8rem;
    }
    

    .mud-typography-h5 {
        font-size: 1rem;
    }

    /* Optional: other common typo variants */
    .mud-typography-h6 {
        font-size: 0.95rem;
    }

    .mud-typography-subtitle1 {
        font-size: 0.9rem;
    }

    .mud-typography-subtitle2 {
        font-size: 0.85rem;
    }

    .mud-typography-caption {
        font-size: 0.7rem;
    }

    /* Optional: table and list items often feel big on mobile */
    .mud-table-cell,
    .mud-list-item-text {
        font-size: 0.8rem;
    }

    /* Optional: buttons slightly smaller */
    .mud-button-label {
        font-size: 0.8rem !important;
    }
    
}

