body {
    background: #f5f7fb;
}

.app-navbar .navbar-brand {
    font-weight: 600;
}

.card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.06);
}

.login-wrapper {
    min-height: 100vh;
}

.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.login-card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    background: #0d6efd;
    margin-right: 8px;
}

.timer-value {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ticket-title {
    font-weight: 600;
}

.priority-low {
    color: #212529;
    font-weight: 600;
}

.priority-normal {
    color: #0d6efd;
    font-weight: 600;
}

.priority-high {
    color: #dc3545;
    font-weight: 700;
}

.table td,
.table th {
    vertical-align: middle;
}

div.dataTables_filter {
    margin-bottom: 1rem;
}

div.dataTables_filter input {
    margin-left: 0.5rem !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 0.85rem;
}

.article-html {
    line-height: 1.5;
    word-break: break-word;
}

.article-html img {
    max-width: 100%;
    height: auto;
}

.article-html blockquote {
    border-left: 4px solid #dee2e6;
    padding-left: 1rem;
    color: #6c757d;
    margin: 1rem 0;
}

.article-html pre,
.article-html code {
    white-space: pre-wrap;
}

.timer-empty-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 260px;
    padding: 1rem 0 0.5rem;
}

.timer-empty-card {
    width: 100%;
    max-width: 760px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.04);
}

.timer-empty-kicker {
    color: #6c757d;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.timer-empty-card .form-control-lg,
.timer-empty-card .btn-lg {
    border-radius: 0.9rem;
    min-height: 56px;
}

.timer-preview-box {
    border-radius: 1rem;
}

.user-token-preview {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    word-break: break-all;
}

.page-title-row {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .page-title-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

.metric-box {
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
}

.metric-positive {
    border-color: rgba(25, 135, 84, 0.35);
    background: rgba(25, 135, 84, 0.05);
}

.metric-negative {
    border-color: rgba(220, 53, 69, 0.35);
    background: rgba(220, 53, 69, 0.05);
}

.table .small {
    line-height: 1.25;
}
