:root {
    --prestige-blue: #2d8ee8;
    --prestige-blue-light: #eaf4ff;
    --prestige-blue-soft: #f4f9ff;
    --prestige-blue-header: #d8ecff;
    --prestige-dark: #222;
    --page-bg: #07324a;
    --content-bg: #f4f9ff;
    --card-bg: #ffffff;
    --border-light: #d7e6f5;
}
body::before {
    content: "";
     display: none;
    height: 4px;
    background: var(--prestige-blue);
    margin: -30px -30px 25px -30px;
}
body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    background: var(--page-bg);
    color: var(--prestige-dark);
}

h1 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #1c4f7f;
    font-weight: 700;
    letter-spacing: -0.03em;
}

a {
    color: var(--prestige-blue);
}

.subtitle {
    color: #666;
    margin-bottom: 25px;
}

.card {
    background: white;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
}

.label {
    font-weight: bold;
    color: #555;
}

table {
    border-collapse: collapse;
    width: 100%;
    background: white;
}

th,
td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background: var(--prestige-dark);
    color: white;
}

tr:nth-child(even) {
    background: #f9f9f9;
}
tbody tr:hover {
    background: var(--prestige-blue-light);
}
.status {
    font-weight: bold;
}

.comment {
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
}

.comment p {
    line-height: 1.5;
}

.internal {
    border-left: 5px solid #444;
}

.customer {
    border-left: 5px solid var(--prestige-blue);
}

.customer-update {
    border-left: 5px solid var(--prestige-blue);
}

.visibility {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #666;
}

textarea,
select,
button {
    font: inherit;
}

button {
    cursor: pointer;
}
.filter-summary {
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--prestige-blue);
}

details {
    margin-bottom: 20px;
}
.site-navigation {
    position: relative;
    background: #d8ecff;
    border-bottom: 1px solid #b8d9f6;
    box-shadow: 0 2px 5px rgba(30, 79, 127, 0.12);
    margin: 0;
}

.site-navigation__logo {
    position: absolute;
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
    max-height: 88px;
    max-width: 260px;
    object-fit: contain;
    background: transparent;
    border: none;
    pointer-events: none;
    z-index: 5;
}

.site-navigation {
    position: relative;
    background: #d8ecff;
    border-bottom: 1px solid #b8d9f6;
    box-shadow: 0 2px 5px rgba(30, 79, 127, 0.12);
    margin: 0;
}

.site-navigation__logo {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    max-height: 88px;
    max-width: 260px;
    object-fit: contain;
    background: transparent;
    border: none;
    pointer-events: none;
    z-index: 5;
}

.site-navigation__primary {
    display: flex;
    gap: 0.25rem;
    padding: 0.75rem 310px 0 0.75rem;
}

.site-navigation__secondary {
    display: flex;
    gap: 0.35rem;
    padding: 0.65rem 310px 0.65rem 0.75rem;
    background: #e6f3ff;
    border-top: 1px solid #b8d9f6;
}

.site-navigation__primary-link {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1rem;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 0.6rem 0.6rem 0 0;
    color: var(--prestige-dark);
    font-weight: 600;
    text-decoration: none;
}

.site-navigation__primary-link:hover {
    background: #cbe5ff;
    color: var(--prestige-dark);
}

.site-navigation__primary-link.is-active {
    background: var(--content-bg);
    border-color: #b8d9f6;
    color: var(--prestige-dark);
}

.site-navigation__secondary-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    color: var(--prestige-dark);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
}

.site-navigation__secondary-link:hover {
    background: #d8ecff;
    color: var(--prestige-blue);
}

.site-navigation__secondary-link.is-active {
    background: var(--prestige-blue);
    color: #ffffff;
}

.site-navigation__user {
    position: absolute;
    top: 10px;
    right: 285px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #1c4f7f;
}

.site-navigation__user button {
    border: 1px solid #b8d9f6;
    border-radius: 999px;
    background: #ffffff;
    color: #1c4f7f;
    padding: 4px 10px;
    font-size: 0.8rem;
}

.site-navigation__user a {
    color: #1c4f7f;
    font-weight: 700;
    text-decoration: none;
}


.record-toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.record-toolbar button {
    margin: 0;
}

.record-toolbar__spacer {
    flex: 1;
}

.record-toolbar__danger {
    border-color: #b00020;
    color: #b00020;
    background: #fff;
}

.record-toolbar__danger:hover {
    background: #fbe9ec;
}
.ticket-table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 10px;
    background: white;
    border: 1px solid var(--border-light);
}

.ticket-table th {
    background: var(--prestige-blue-header);
    color: #1c4f7f;
    border-bottom: 1px solid #b8d9f6;
    font-weight: 700;
}

.ticket-table td {
    vertical-align: middle;
    background: white;
    padding: 4px 10px;
    font-size: 0.90rem;
}

.ticket-table tbody tr:nth-child(even) td {
    background: #f7fbff;
}

.ticket-table tbody tr:hover td {
    background: var(--prestige-blue-light);
}
.ticket-number-link {
    font-weight: 700;
    color: var(--prestige-blue);
    text-decoration: none;
}

.ticket-number-link:hover {
    text-decoration: underline;
}

.ticket-subject {
    font-weight: 600;
}

.ticket-muted {
    color: #667085;
    font-size: 0.92rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-status-new {
    background: #e8f3ff;
    color: #1264a3;
}

.badge-status-progress {
    background: #fff4db;
    color: #8a5a00;
}

.badge-status-waiting {
    background: #f3e8ff;
    color: #6b21a8;
}

.badge-status-closed {
    background: #e8f5ee;
    color: #17663a;
}

.badge-priority-p1 {
    background: #fde8e8;
    color: #b42318;
}

.badge-priority-p2 {
    background: #fff1e6;
    color: #b54708;
}

.badge-priority-p3 {
    background: #eef4ff;
    color: #3538cd;
}

.badge-priority-p4 {
    background: #f2f4f7;
    color: #475467;
}
.ticket-actions-cell {
    width: 42px;
    text-align: center;
}

.ticket-cancel-button {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 7px;
    background: #d92d20;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.ticket-cancel-button:hover {
    background: #b42318;
}
.login-page {
    min-height: 100vh;
    margin: 0;
    background: #07324a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--prestige-dark);
}

.login-page::before {
    display: none;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 10px;
    padding: 34px 38px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.login-logo {
    display: block;
    max-width: 150px;
    margin: 0 auto 22px;
}

.login-title {
    margin: 0;
    color: #1c4f7f;
    font-size: 1.7rem;
    text-align: center;
}

.login-subtitle {
    margin: 6px 0 26px;
    color: #667085;
    text-align: center;
}

.login-input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    font: inherit;
}

.login-input:focus {
    outline: none;
    border-color: var(--prestige-blue);
    box-shadow: 0 0 0 3px rgba(45, 142, 232, 0.16);
}

.login-options {
    color: #475467;
}

.login-button {
    width: 100%;
    border: none;
    border-radius: 6px;
    background: var(--prestige-blue);
    color: #ffffff;
    padding: 12px;
    font-weight: 700;
}

.login-button:hover {
    background: #1f78c8;
}

.login-message {
    min-height: 22px;
    margin-top: 14px;
    color: #b42318;
    text-align: center;
}
.app-shell {
    min-height: 100vh;
    background: var(--page-bg);
}

.app-content {
    margin: 24px 30px 30px;
    padding: 22px 30px 30px;
    background: var(--content-bg);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}
.service-queue-table {
    table-layout: fixed;
}

.service-queue-table .col-ticket {
    width: 100px;
}

.service-queue-table .col-requester {
    width: 220px;
}

.service-queue-table .col-customer {
    width: 240px;
}

.service-queue-table .col-updated {
    width: 170px;
}

.service-queue-table .col-actions {
    width: 42px;
}

.service-queue-table .col-subject {
    width: auto;
}