/* Стили для выделенных строк в таблицах */
.selected {
    background-color: #1E88E5 !important;
}

.selected > td {
    color: white !important;
}

.selected > td .mud-input {
    color: white !important;
    font-weight: bold;
}

/* Дополнительные стили для оформления таблиц */
.table-head-bordered th {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.table-foot-bordered td {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

/* Стили для карточек на главной странице */
.home-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.home-card .mud-card-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.home-card .mud-card-content .mud-typography {
    flex: 1 !important;
}

/* Альтернативный подход - принудительная высота для MudItem */
.mud-grid .mud-item {
    display: flex !important;
}

.mud-grid .mud-item .mud-card {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.mud-grid .mud-item .mud-card .mud-card-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.mud-grid .mud-item .mud-card .mud-card-content .mud-typography {
    flex: 1 !important;
}

/* Стили для OpenLayers карты */
.ol-map {
    min-width: 600px;
    min-height: 400px;
    height: 100%;
    width: 100%;
}

.ol-control {
    position: absolute;
    background-color: rgba(255,255,255,0.4);
    border-radius: 4px;
    padding: 2px;
}

.ol-full-screen {
    top: .5em;
    right: .5em;
}

.ol-zoom {
    top: .5em;
    left: .5em;
}

.ol-attribution {
    bottom: .5em;
    right: .5em;
    max-width: calc(100% - 1.3em);
}

.ol-attribution ul {
    margin: 0;
    padding: 0 .5em;
    font-size: .7em;
    line-height: 1.375em;
}

.ol-attribution li {
    display: inline;
    list-style: none;
}

.ol-attribution a {
    color: rgba(0,0,0,0.7);
    text-decoration: none;
}

.ol-attribution a:hover {
    text-decoration: underline;
}