/* Carta-inspired flat design overrides */

/* Flat cards and papers — border instead of shadow */
.mud-card,
.mud-paper {
    box-shadow: none !important;
    border: 1px solid #e5e7eb;
}

/* Flat app bar with bottom border */
.mud-appbar {
    box-shadow: none !important;
    border-bottom: 1px solid #e5e7eb;
}

/* Flat drawer with right border */
.mud-drawer {
    box-shadow: none !important;
    border-right: 1px solid #e5e7eb;
}

/* Squared-off chips */
.mud-chip {
    border-radius: 4px;
}

/* Dialog: subtle shadow + border */
.mud-dialog {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e5e7eb;
}

/* Table header styling */
.mud-table-head th {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: #6b7280;
}

/* Nav link hover and active states */
.mud-nav-link:hover {
    background-color: #f3f4f6 !important;
}

.mud-nav-link.active {
    background-color: #f3f4f6 !important;
}

/* Input outline border colors */
.mud-input-outlined .mud-input-outlined-border {
    border-color: #d1d5db;
}

.mud-input-outlined:hover .mud-input-outlined-border {
    border-color: #9ca3af;
}
