:root {
	--primary-color: #0095f6;
	--bg-color: #fafafa;
	--text-color: #262626;
	--border-color: #dbdbdb;
	--white: #ffffff;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
		Arial, sans-serif;
	background-color: var(--bg-color);
	color: var(--text-color);
	line-height: 1.6;
}

.container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px 20px;
}

header {
	text-align: center;
	margin-bottom: 40px;
}

h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
}

.search-box {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

input[type="text"] {
	padding: 12px 20px;
	font-size: 16px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	width: 300px;
	outline: none;
}

input[type="text"]:focus {
	border-color: var(--primary-color);
}

button {
	padding: 12px 24px;
	font-size: 16px;
	background-color: var(--primary-color);
	color: var(--white);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
	transition: background-color 0.2s;
}

button:hover {
	background-color: #0086e0;
}

button:disabled {
	background-color: #b2dffc;
	cursor: not-allowed;
}

.secondary {
	background-color: transparent;
	color: var(--text-color);
	border: 1px solid var(--border-color);
}

.secondary:not(:disabled):hover {
	background-color: #f1f1f1;
}

.secondary:disabled {
	color: #b8b8b8;
	border-color: #e0e0e0;
}

.status {
	text-align: center;
	margin-bottom: 20px;
	min-height: 24px;
	font-weight: 500;
}

.loading-indicator {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px dashed var(--border-color);
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 24px;
}

.loading-indicator p {
	color: #666;
	margin-top: 4px;
}

.spinner {
	width: 36px;
	height: 36px;
	border: 3px solid #e0e0e0;
	border-top-color: var(--primary-color);
	border-radius: 50%;
	animation: spin 0.9s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.how-to {
	background: #fff;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	padding: 20px;
	margin-bottom: 30px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.how-to h2 {
	font-size: 1.1rem;
	margin-bottom: 10px;
}

.how-to ol {
	margin-left: 20px;
	color: #555;
	line-height: 1.5;
}

.how-to li + li {
	margin-top: 6px;
}

.error {
	color: #ed4956;
}

table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 3px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

th,
td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid var(--border-color);
}

th {
	background-color: #f8f9fa;
	font-weight: 600;
}

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

.user-cell {
	display: flex;
	align-items: center;
	gap: 12px;
}

.avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid var(--border-color);
}

.user-info {
	display: flex;
	flex-direction: column;
}

.username {
	font-weight: 600;
	color: var(--text-color);
	text-decoration: none;
}

.username:hover {
	text-decoration: underline;
}

.full-name {
	font-size: 0.85rem;
	color: #8e8e8e;
}

.bio-cell {
	max-width: 300px;
	font-size: 0.9rem;
	color: #555;
}

.verified-badge {
	color: #0095f6;
}

@media (max-width: 768px) {
	.bio-cell {
		display: none;
	}

	input[type="text"] {
		width: 100%;
	}

	.search-box {
		flex-direction: column;
	}
}
