* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	padding: 20px;
	color: #333;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
}

.header {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 30px 40px;
	margin-bottom: 30px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.header h1 {
	font-size: 2.5rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 15px;
}

.header h1 i {
	-webkit-text-fill-color: #667eea;
}

.totp-card {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	padding: 20px 30px;
	border-radius: 15px;
	display: flex;
	align-items: center;
	gap: 15px;
	box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
	transition: transform 0.3s ease;
}

.totp-card:hover {
	transform: translateY(-5px);
}

.totp-card button {
	background: rgba(255, 255, 255, 0.3);
	border: 2px solid rgba(255, 255, 255, 0.5);
	color: white;
	padding: 12px 24px;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.totp-card button:hover {
	background: rgba(255, 255, 255, 0.5);
	transform: scale(1.05);
}

.totp-display {
	background: rgba(255, 255, 255, 0.95);
	color: #f5576c;
	padding: 12px 24px;
	border-radius: 10px;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 3px;
	font-family: 'Courier New', monospace;
	min-width: 150px;
	text-align: center;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
}

.totp-display:hover {
	background: rgba(255, 255, 255, 1);
	transform: scale(1.05);
}

.totp-display::after {
	content: 'Click to copy';
	position: absolute;
	bottom: -25px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.7rem;
	color: rgba(255, 255, 255, 0.8);
	opacity: 0;
	transition: opacity 0.3s ease;
	white-space: nowrap;
}

.totp-display:hover::after {
	opacity: 1;
}

.totp-display.copied::after {
	content: 'Copied!';
	opacity: 1;
	color: #4ade80;
}

.section-title {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 15px 15px 0 0;
	padding: 20px 30px;
	margin-bottom: 0;
	font-size: 1.3rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-title i {
	color: #667eea;
	font-size: 1.5rem;
}

.table-container {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 0 0 15px 15px;
	padding: 0;
	margin-bottom: 30px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

.tabulator {
	background: transparent;
	border: none;
	font-size: 0.95rem;
}

.tabulator .description-cell {
	max-width: 400px;
	max-height: 80px;
	overflow-y: auto;
	overflow-x: hidden;
	word-wrap: break-word;
}

.tabulator .description-cell::-webkit-scrollbar {
	width: 6px;
}

.tabulator .description-cell::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.05);
	border-radius: 3px;
}

.tabulator .description-cell::-webkit-scrollbar-thumb {
	background: rgba(102, 126, 234, 0.5);
	border-radius: 3px;
}

.tabulator .description-cell::-webkit-scrollbar-thumb:hover {
	background: rgba(102, 126, 234, 0.7);
}

.tabulator .description-cell p {
	margin: 0.5em 0;
}

.tabulator .description-cell a {
	color: #667eea;
	text-decoration: none;
}

.tabulator .description-cell a:hover {
	text-decoration: underline;
}

.tabulator .copyable-cell {
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 8px;
	border-radius: 5px;
}

.tabulator .copyable-cell:hover {
	background: rgba(102, 126, 234, 0.2);
	transform: scale(1.05);
}

.tabulator .copyable-cell.copied {
	background: rgba(74, 222, 128, 0.3);
}

.loading-container {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 40px;
	flex-direction: column;
	gap: 15px;
}

.loading-spinner {
	font-size: 2.5rem;
	color: #667eea;
	animation: spin 1s linear infinite;
}

.loading-text {
	color: #666;
	font-size: 1rem;
	font-weight: 500;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.hidden {
	display: none;
}

.tabulator .tabulator-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
}

.tabulator .tabulator-header .tabulator-col {
	background: transparent;
	border: none;
	color: white;
}

.tabulator .tabulator-row {
	background: rgba(255, 255, 255, 0.5);
	transition: all 0.2s ease;
}

.tabulator .tabulator-row:hover {
	background: rgba(102, 126, 234, 0.1);
}

.tabulator .tabulator-row.tabulator-row-even {
	background: rgba(255, 255, 255, 0.7);
}

.tabulator .tabulator-row.tabulator-row-even:hover {
	background: rgba(102, 126, 234, 0.15);
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.header, .table-container {
	animation: fadeInUp 0.6s ease-out forwards;
}

.table-container:nth-child(2) {
	animation-delay: 0.1s;
}

.table-container:nth-child(3) {
	animation-delay: 0.2s;
}

.table-container:nth-child(4) {
	animation-delay: 0.3s;
}

@media (max-width: 768px) {
	body {
		padding: 10px;
	}

	.container {
		width: 100%;
	}

	.header {
		flex-direction: column;
		text-align: center;
		padding: 20px;
	}

	.header h1 {
		font-size: 1.8rem;
		justify-content: center;
	}

	.totp-card {
		flex-direction: column;
		width: 100%;
		padding: 15px 20px;
	}

	.totp-display {
		font-size: 1.3rem;
		min-width: 130px;
	}

	.section-title {
		font-size: 1.1rem;
		padding: 15px 20px;
	}

	.tabulator {
		font-size: 0.85rem;
	}
}
