* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7f9;
    color: #263238;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.topbar {
    background: #172b4d;
    color: white;
    padding: 18px 0;
    border-bottom: 1px solid #0f203b;
}

.container {
    width: 96%;
    max-width: 1600px;
    margin: 0 auto;
}

.brand {
    font-size: 22px;
    font-weight: bold;
}

.subtitle {
    margin-top: 4px;
    color: #cbd5e1;
}

.summary {
    margin-top: 24px;
    padding: 15px 18px;
    background: white;
    border: 1px solid #dfe3e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.archive-label {
    background: #eef2f6;
    padding: 6px 10px;
    border-radius: 4px;
    color: #52616b;
    font-size: 12px;
    text-transform: uppercase;
}

.filters {
    margin: 16px 0;
    display: flex;
    gap: 10px;
}

.filters input {
    width: 420px;
    padding: 10px 12px;
    border: 1px solid #cbd2d9;
    border-radius: 4px;
}

.filters select {
    min-width: 180px;
    padding: 10px;
    border: 1px solid #cbd2d9;
    border-radius: 4px;
    background: white;
}

.filters button,
.clear-button {
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

.filters button {
    background: #174ea6;
    border: 1px solid #174ea6;
    color: white;
}

.clear-button {
    background: white;
    border: 1px solid #cbd2d9;
    color: #37474f;
}

.pagination-info {
    margin: 12px 0;
    color: #667580;
}

.table-wrapper {
    background: white;
    border: 1px solid #dfe3e8;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: #f0f3f5;
    color: #455a64;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    padding: 11px 10px;
    border-bottom: 1px solid #d7dde2;
    white-space: nowrap;
}

td {
    padding: 11px 10px;
    border-bottom: 1px solid #edf0f2;
    vertical-align: top;
}

tbody tr:hover {
    background: #f8fbff;
}

.ticket-id {
    font-weight: bold;
    white-space: nowrap;
}

.subject {
    min-width: 260px;
    max-width: 460px;
}

.requester-name {
    font-weight: bold;
}

.requester-email {
    margin-top: 3px;
    color: #788892;
    font-size: 12px;
}

.status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    background: #e8edf2;
    font-size: 12px;
}

.status-open,
.status-pending {
    background: #fff3cd;
}

.status-solved,
.status-closed {
    background: #d9f2e6;
}

.status-new {
    background: #dcecff;
}

.center {
    text-align: center;
}

.date {
    white-space: nowrap;
    color: #5f6f78;
    font-size: 12px;
}

.open-button {
    display: inline-block;
    background: white;
    border: 1px solid #174ea6;
    color: #174ea6;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
}

.open-button:hover {
    background: #174ea6;
    color: white;
}

.pagination {
    margin: 20px 0 40px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.pagination a,
.pagination span {
    background: white;
    border: 1px solid #d5dce1;
    padding: 8px 12px;
    text-decoration: none;
    color: #37474f;
}

.pagination a:hover {
    border-color: #174ea6;
    color: #174ea6;
}

.empty {
    padding: 40px;
    text-align: center;
    color: #788892;
}