.kelverse-ticket-status {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
	background: #f0f0f1;
	color: #50575e;
	vertical-align: middle;
}

.kelverse-ticket-status-new {
	background: #e5e7fb;
	color: #3b3f8c;
}

.kelverse-ticket-status-todo {
	background: #fef3d8;
	color: #8a6116;
}

.kelverse-ticket-status-in_progress {
	background: #d6e9fb;
	color: #135e96;
}

.kelverse-ticket-status-done {
	background: #d4f4dd;
	color: #00663d;
}

.kelverse-ticket-status-rejected {
	background: #fcdcdc;
	color: #8c2323;
}

.kelverse-ticket-panel {
	border: 1px solid #dcdcde;
	border-radius: 6px;
	padding: 12px 16px;
	margin: 0 0 20px;
	background: rgba(0, 0, 0, 0.02);
}

.kelverse-ticket-panel dl {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 32px;
	margin: 0;
}

.kelverse-ticket-panel dt {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.7;
	margin: 0;
}

.kelverse-ticket-panel dd {
	margin: 0;
	font-weight: 600;
}

.kelverse-ticket-notice {
	padding: 10px 14px;
	border-left: 4px solid #3b3f8c;
	background: rgba(59, 63, 140, 0.07);
	margin: 0 0 16px;
}

.kelverse-ticket-notice-success {
	border-left-color: #00663d;
	background: rgba(0, 102, 61, 0.07);
}

.kelverse-ticket-notice-error {
	border-left-color: #8c2323;
	background: rgba(140, 35, 35, 0.07);
}

.kelverse-ticket-cta {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 4px;
	background: #2271b1;
	color: #fff !important;
	text-decoration: none;
	font-weight: 600;
}

.kelverse-ticket-cta:hover {
	background: #135e96;
}

.kelverse-ticket-form label {
	font-weight: 600;
}

.kelverse-ticket-form input[type="text"],
.kelverse-ticket-form textarea {
	width: 100%;
	max-width: 640px;
}

.kelverse-ticket-submit {
	padding: 8px 18px;
	border: 0;
	border-radius: 4px;
	background: #2271b1;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.kelverse-ticket-submit:hover {
	background: #135e96;
}

.kelverse-internal-checkbox {
	padding: 8px 12px;
	background: rgba(214, 54, 56, 0.07);
	border-left: 3px solid #d63638;
}

/* Honeypot: visually removed, still present for bots. */
.kelverse-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.kelverse-ticket-attachments ul,
.kelverse-ticket-history ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.kelverse-ticket-attachments ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.kelverse-attachment-image img {
	display: block;
	border-radius: 4px;
	border: 1px solid #dcdcde;
}

.kelverse-ticket-history li {
	padding: 6px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	font-size: 14px;
}

.kelverse-history-when,
.kelverse-history-who {
	opacity: 0.65;
	font-size: 12px;
}

.kelverse-tickets-page {
	max-width: 960px;
	margin: 0 auto;
	padding: 24px 16px 48px;
}

.kelverse-tickets-filter {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
}

.kelverse-tickets-table {
	width: 100%;
	border-collapse: collapse;
}

.kelverse-tickets-table th,
.kelverse-tickets-table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	vertical-align: top;
}

.kelverse-tickets-table th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.7;
}

.kelverse-col-number {
	white-space: nowrap;
	width: 1%;
	font-weight: 700;
}

.kelverse-col-replies {
	text-align: center;
	width: 1%;
}

.kelverse-tickets-topic {
	font-weight: 600;
	text-decoration: none;
}

.kelverse-tickets-category {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 8px;
	border-radius: 9px;
	font-size: 11px;
	background: rgba(0, 0, 0, 0.06);
}

.kelverse-tickets-date {
	font-size: 12px;
	opacity: 0.65;
	margin-top: 2px;
}

.kelverse-tickets-pagination {
	margin-top: 16px;
}

.kelverse-tickets-back {
	margin-top: 24px;
}

.kelverse-portal-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.kelverse-portal-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.kelverse-attachment-size {
	color: #787c82;
	font-size: 12px;
}
