:root {
    --lk-accent: #0d6efd;
}

body {
    background: #f4f6f9;
}

/* --- Вход --- */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.login-card {
    width: 100%;
    max-width: 420px;
    border: 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand .bi {
    font-size: 2.2rem;
    color: var(--lk-accent);
}
.brand-name {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.1;
}

/* --- Таблица --- */
#tickets thead th {
    white-space: nowrap;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #6c757d;
}
#tickets td {
    font-size: .9rem;
}
#tickets td.col-text {
    min-width: 220px;
    max-width: 360px;
}

.clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-line;
    cursor: pointer;
}
.clamp.open {
    -webkit-line-clamp: unset;
    display: block;
}

/* В раскрывающейся строке (мобильный вид) текст всегда целиком */
table.dataTable > tbody > tr.child .clamp {
    -webkit-line-clamp: unset;
    display: block;
}
table.dataTable > tbody > tr.child ul.dtr-details > li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
table.dataTable > tbody > tr.child span.dtr-title {
    font-size: .75rem;
    color: #6c757d;
    text-transform: uppercase;
}

.badge {
    font-weight: 500;
}

div.dt-container .dt-search input {
    min-width: 220px;
}

@media (max-width: 575.98px) {
    div.dt-container .dt-search input {
        min-width: 0;
        width: 100%;
        margin-left: 0;
    }
    div.dt-container .dt-layout-row {
        gap: .5rem;
    }
}
