:root {
    --background-default: #f8fafc;
    --background-table: white;
    --text-body: #1e293b;
    --good-color: #148a03;
    --bad-color: #dc2626;
    --check-color: #64748b;
    --group-color: #e2e8f0;
    --text-group: #334155;
    --text-default: #0f172a;
}

/* Reset and base styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
	background-color: var(--background-default);
	color: var(--text-body);
	line-height: 1.6;
	height: 100vh;
	display: flex;
	flex-direction: column;
	padding: 20px;
}

.title-good{
	color: var(--good-color);
}

.title-bad{
	color: var(--bad-color);
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

@media (max-width: 768px) {
	.container {
		padding: 12px;
	}
}

header {
	text-align: center;
	margin-bottom: 20px;
	padding: 20px 0;
}

h1 {
	font-size: 1.75rem;
	font-weight: 600;
	margin-bottom: 8px;
}

@media (max-width: 768px) {
	h1 {
		font-size: 1.5rem;
	}
}

.status-cell {
	position: relative;
}

/* Status indicators */
.last-checked {
	color: var(--check-color);
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.status-indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}

.status-up {
	background-color: var(--good-color);
}

.status-down, .status-timeout {
	background-color: var(--bad-color);
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

/* Table container */
.table-container {
	background: white;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	margin-bottom: 30px;
}

table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

thead tr{
	background-color: var(--group-color);
	padding: 12px 20px;
	font-weight: 600;
	color: var(--text-group);
	border-bottom: 1px solid var(--group-color);
	font-size: 1.1rem;
}

th, td {
	padding: 12px 20px;
	border-bottom: 1px solid var(--group-color);
	vertical-align: middle;
}

tr:last-child td {
	border-bottom: none;
}

tbody tr:hover {
	background-color: var(--background-default);
}

.model-name {
	width: 40%;
	font-weight: 500;
	color: var(--text-default);
}

.status-cell {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.status-text {
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
}

@media (max-width: 768px) {
	table {
		display: block;
		overflow-x: auto;
		min-width: 100%;
	}
	
	td {
		padding: 12px 16px;
		font-size: 0.875rem;
		white-space: nowrap;
	}
	
	.status-cell {
		flex-wrap: wrap;
	}
}

.model-group {
	background-color: var(--group-color);
	padding: 12px 20px;
	font-weight: 600;
	color: var(--text-group);
	font-size: 1.1rem;
	border-bottom: 2px solid var(--background-default);
	width: 13%;
}

.first-element-of-group {
	border-top: 2px solid var(--group-color);
}

.model-max-tokens {
	font-family: monospace;
	font-size: 0.875rem;
	text-align: right;
}

.model-reasoning, .model-vision, .model-tools {
	text-align: center;
}

.time-cell {
	font-family: monospace;
	font-size: 0.875rem;
}

.time-value {
	display: inline-block;
	min-width: 40px;
	text-align: right;
}

.time-success {
	color: var(--good-color);
}

.time-error {
	color: var(--bad-color);
}

.copyright {
    text-align: center;
}

.symbol {
	width: 10%;
}
