/* Verb Root Management System Styles */

body {
	font-family: 'Sarabun', sans-serif;
}

/* Card View Styles */
.card {
	transition: transform 0.2s, box-shadow 0.2s;
	border: none;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.card .card-header {
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
	border-bottom: none;
	padding: 1rem;
}

.card .card-header h6 {
	font-size: 1.5rem;
	font-weight: 600;
	color: #2c3e50;
}

.card .card-body {
	padding: 1.5rem;
}

.card .card-text {
	font-size: 1.2rem;
	color: #34495e;
	line-height: 1.6;
}

.card .badge {
	font-size: 1rem;
	padding: 0.5rem 1rem;
	margin: 0.25rem;
}

.card .card-footer {
	background: none;
	border-top: 1px solid rgba(0,0,0,0.1);
	padding: 1rem;
}

.card .btn {
	font-size: 1.1rem;
	padding: 0.5rem 1rem;
}

/* Category Cards */
.category-card {
	border-left: 4px solid;
	transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Verb Root Items */
.verb-root-item {
	background: #f8f9fa;
	border-radius: 8px;
	transition: background-color 0.2s;
}

.verb-root-item:hover {
	background: #e9ecef;
}

/* Selection States */
.selected {
	background: #d1ecf1 !important;
	border: 1px solid #bee5eb;
}

/* Search Highlighting */
.search-highlight {
	background-color: #ffeb3b;
	color: #333;
	padding: 1px 2px;
	border-radius: 2px;
}

/* Tab Content */
.tab-content {
	min-height: 500px;
}

/* Root Manager Specific Styles */
.editable {
	cursor: pointer;
	transition: background-color 0.2s;
}

.editable:hover {
	background-color: #f8f9fa;
	border-radius: 4px;
}

.cursor-pointer {
	cursor: pointer;
}

.cursor-pointer:hover {
	transform: scale(1.05);
	transition: transform 0.2s;
}

.editing {
	background-color: #fff3cd !important;
}

.merge-candidate {
	background-color: #e3f2fd !important;
}

.merge-selected {
	background-color: #bbdefb !important;
}

.similar-highlight {
	background-color: #fff3e0;
}