/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.form-group {
	margin-bottom: 1.5rem;
}
.form-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	color: #374151;
	margin-bottom: 0.5rem;
}
.value-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.75rem;
	padding: 0.75rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.375rem;
	transition: border-left 0.2s ease;
	background-color: #f9fafb;
}
.value-row .form-select, .value-row .value-select {
	flex: 2;
	min-width: 200px;
	border: 1px solid #d1d5db;
	border-radius: 0.375rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
}
.value-row .form-select:focus, .value-row .value-select:focus {
	outline: none;
	ring: 2px;
	ring-color: #3b82f6;
	border-color: transparent;
}
.value-row .weight-container {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: 1;
	min-width: 120px;
}
.value-row .weight-container .weight-label {
	font-size: 0.75rem;
	color: #6b7280;
	margin: 0;
	white-space: nowrap;
}
.value-row .weight-container .weight-slider {
	flex: 1;
	min-width: 60px;
	height: 0.375rem;
	background: #e5e7eb;
	border-radius: 0.375rem;
	outline: none;
}
.value-row .weight-container .weight-slider::-webkit-slider-thumb {
	appearance: none;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	background: #3b82f6;
	cursor: pointer;
}
.value-row .weight-container .weight-slider::-moz-range-thumb {
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	background: #3b82f6;
	cursor: pointer;
	border: none;
}
.value-row .weight-container .weight-display {
	font-weight: 600;
	color: #3b82f6;
	min-width: 20px;
	text-align: center;
	font-size: 0.875rem;
}
.value-row .btn {
	flex-shrink: 0;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	font-size: 0.75rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}
.value-row .btn.btn-outline-danger {
	color: #dc2626;
	border: 1px solid #dc2626;
	background: transparent;
}
.value-row .btn.btn-outline-danger:hover {
	background: #dc2626;
	color: white;
}
.value-row[data-weight="5"] {
	border-left: 10px solid #10b981;
}
.value-row[data-weight="4"] {
	border-left: 8px solid #3b82f6;
}
.value-row[data-weight="3"] {
	border-left: 6px solid #f59e0b;
}
.value-row[data-weight="2"] {
	border-left: 4px solid #6b7280;
}
.value-row[data-weight="1"] {
	border-left: 2px solid #d1d5db;
}
@media (max-width: 768px) {
	.value-row {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}
	.value-row .form-select, .value-row .value-select {
		min-width: auto;
	}
	.value-row .weight-container {
		justify-content: space-between;
		min-width: auto;
	}
}
 