	* {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}

	:root {
		--primary: #d97706;
		--primary-dark: #b45309;
		--secondary: #0f172a;
		--accent: #22c55e;
		--bg-dark: #1e293b;
		--bg-card: #334155;
		--text-light: #f1f5f9;
		--text-muted: #94a3b8;
		--danger: #ef4444;
	}

	body {
		font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
		background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark) 100%);
		color: var(--text-light);
		min-height: 100vh;
	}

	.sidebar {
		position: fixed;
		left: 0;
		top: 0;
		height: 100vh;
		width: 260px;
		background: var(--secondary);
		padding: 2rem 0;
		box-shadow: 4px 0 10px rgba(0, 0, 0, 0.3);
		z-index: 1000;
	}

	.logo {
		text-align: center;
		margin-bottom: 2rem;
		padding: 0 1.5rem;
	}

	.logo i {
		font-size: 3rem;
		color: var(--primary);
		margin-bottom: 0.5rem;
	}

	.logo h1 {
		font-size: 1.5rem;
		color: var(--text-light);
	}

	.logo p {
		font-size: 0.875rem;
		color: var(--text-muted);
	}

	.nav-menu {
		list-style: none;
	}

	.nav-item {
		margin: 0.5rem 0;
	}

	.nav-link {
		display: flex;
		align-items: center;
		padding: 1rem 1.5rem;
		color: var(--text-muted);
		text-decoration: none;
		transition: all 0.3s ease;
		border-left: 4px solid transparent;
	}

	.nav-link:hover,
	.nav-link.active {
		background: rgba(217, 119, 6, 0.1);
		color: var(--primary);
		border-left-color: var(--primary);
	}

	.nav-link i {
		margin-right: 1rem;
		width: 20px;
		text-align: center;
	}

	.main-content {
		margin-left: 260px;
		padding: 2rem;
	}

	.alert {
		padding: 1rem;
		border-radius: 8px;
		margin-bottom: 1.5rem;
		display: flex;
		align-items: center;
		gap: 0.75rem;
	}

	.alert-success {
		background: rgba(34, 197, 94, 0.1);
		border: 1px solid var(--accent);
		color: var(--accent);
	}

	.alert-error {
		background: rgba(239, 68, 68, 0.1);
		border: 1px solid var(--danger);
		color: var(--danger);
	}

	.header {
		background: var(--bg-card);
		padding: 1.5rem 2rem;
		border-radius: 12px;
		margin-bottom: 2rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	}

	.header h2 {
		font-size: 1.75rem;
	}

	.btn {
		padding: 0.75rem 1.5rem;
		border: none;
		border-radius: 8px;
		cursor: pointer;
		font-size: 0.875rem;
		font-weight: 600;
		transition: all 0.3s ease;
		text-decoration: none;
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
	}

	.btn-primary {
		background: var(--primary);
		color: white;
	}

	.btn-primary:hover {
		background: var(--primary-dark);
		transform: translateY(-2px);
		box-shadow: 0 4px 8px rgba(217, 119, 6, 0.3);
	}

	.btn-sm {
		padding: 0.5rem 1rem;
		font-size: 0.8rem;
	}

	.btn-danger {
		background: var(--danger);
		color: white;
	}

	.btn-secondary {
		background: var(--bg-dark);
		color: var(--text-light);
	}

	.trilhas-grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
		gap: 1.5rem;
	}

	.trilha-card {
		background: var(--bg-card);
		border-radius: 12px;
		overflow: hidden;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		transition: all 0.3s ease;
		position: relative;
	}

	.trilha-card:hover {
		transform: translateY(-5px);
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
	}

	.trilha-image {
		width: 100%;
		height: 200px;
		object-fit: cover;
		background: var(--bg-dark);
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 4rem;
		color: var(--text-muted);
	}

	.difficulty-badge {
		position: absolute;
		top: 1rem;
		right: 1rem;
		padding: 0.5rem 1rem;
		border-radius: 20px;
		font-weight: bold;
		font-size: 0.75rem;
		text-transform: uppercase;
	}

	.difficulty-1 {
		background: rgba(34, 197, 94, 0.9);
		color: white;
	}

	.difficulty-2 {
		background: rgba(59, 130, 246, 0.9);
		color: white;
	}

	.difficulty-3 {
		background: rgba(217, 119, 6, 0.9);
		color: white;
	}

	.difficulty-4 {
		background: rgba(239, 68, 68, 0.9);
		color: white;
	}

	.difficulty-5 {
		background: rgba(124, 45, 18, 0.9);
		color: white;
	}

	.trilha-body {
		padding: 1.5rem;
	}

	.trilha-title {
		font-size: 1.25rem;
		font-weight: bold;
		margin-bottom: 0.5rem;
		color: var(--text-light);
	}

	.trilha-location {
		color: var(--text-muted);
		font-size: 0.875rem;
		margin-bottom: 1rem;
		display: flex;
		align-items: center;
		gap: 0.5rem;
	}

	.trilha-stats {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
		margin-bottom: 1rem;
		padding: 1rem;
		background: var(--bg-dark);
		border-radius: 8px;
	}

	.stat {
		text-align: center;
	}

	.stat-value {
		font-size: 1.25rem;
		font-weight: bold;
		color: var(--primary);
	}

	.stat-label {
		font-size: 0.75rem;
		color: var(--text-muted);
		text-transform: uppercase;
	}

	.trilha-description {
		color: var(--text-muted);
		font-size: 0.875rem;
		line-height: 1.6;
		margin-bottom: 1rem;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.trilha-actions {
		display: flex;
		gap: 0.5rem;
	}

	.trilha-actions .btn {
		flex: 1;
		justify-content: center;
	}

	.modal {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.7);
		z-index: 2000;
		align-items: center;
		justify-content: center;
	}

	.modal.active {
		display: flex;
	}

	.modal-content {
		background: var(--bg-card);
		padding: 2rem;
		border-radius: 12px;
		max-width: 800px;
		width: 90%;
		max-height: 90vh;
		overflow-y: auto;
	}

	.modal-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 1.5rem;
	}

	.modal-header h3 {
		color: var(--primary);
		font-size: 1.5rem;
	}

	.close-modal {
		background: none;
		border: none;
		color: var(--text-muted);
		font-size: 1.5rem;
		cursor: pointer;
	}

	.form-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.form-group {
		display: flex;
		flex-direction: column;
	}

	.form-group.full-width {
		grid-column: 1 / -1;
	}

	.form-group label {
		font-weight: 600;
		margin-bottom: 0.5rem;
		color: var(--text-light);
	}

	.required {
		color: var(--danger);
	}

	.form-group input,
	.form-group select,
	.form-group textarea {
		padding: 0.75rem;
		background: var(--bg-dark);
		border: 2px solid transparent;
		border-radius: 8px;
		color: var(--text-light);
		font-size: 1rem;
	}

	.form-group input:focus,
	.form-group select:focus,
	.form-group textarea:focus {
		outline: none;
		border-color: var(--primary);
	}

	.form-group textarea {
		resize: vertical;
		min-height: 100px;
		font-family: inherit;
	}

	.form-group small {
		color: var(--text-muted);
		font-size: 0.875rem;
		margin-top: 0.25rem;
	}

	.section-title {
		grid-column: 1 / -1;
		font-size: 1.1rem;
		color: var(--primary);
		margin-top: 1rem;
		margin-bottom: 0.5rem;
		padding-bottom: 0.5rem;
		border-bottom: 2px solid var(--primary);
	}

	.empty-state {
		text-align: center;
		padding: 4rem 2rem;
		background: var(--bg-card);
		border-radius: 12px;
	}

	.empty-state i {
		font-size: 4rem;
		color: var(--text-muted);
		margin-bottom: 1rem;
	}

	.hero {
		max-width: 1200px;
		margin: 0 auto;
		padding: 4rem 2rem;
		text-align: center;
	}

	.hero h1 {
		font-size: 3rem;
		margin-bottom: 1rem;
		background: linear-gradient(135deg, var(--primary), var(--accent));
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background-clip: text;
	}

	.hero p {
		font-size: 1.25rem;
		color: var(--text-muted);
		margin-bottom: 2rem;
	}

	.search-box {
		max-width: 600px;
		margin: 0 auto 3rem;
		position: relative;
	}

	.search-box input {
		width: 100%;
		padding: 1rem 3rem 1rem 1.5rem;
		background: var(--bg-dark);
		border: 2px solid transparent;
		border-radius: 50px;
		color: var(--text-light);
		font-size: 1rem;
		transition: all 0.3s ease;
	}

	.search-box input:focus {
		outline: none;
		border-color: var(--primary);
	}

	.search-box i {
		position: absolute;
		right: 1.5rem;
		top: 50%;
		transform: translateY(-50%);
		color: var(--text-muted);
	}

	.filters {
		max-width: 1200px;
		margin: 0 auto 2rem;
		padding: 0 2rem;
		display: flex;
		gap: 1rem;
		flex-wrap: wrap;
		justify-content: center;
	}

	.filter-btn {
		padding: 0.75rem 1.5rem;
		background: var(--bg-dark);
		border: 2px solid transparent;
		border-radius: 25px;
		color: var(--text-light);
		cursor: pointer;
		transition: all 0.3s ease;
		font-size: 0.875rem;
		font-weight: 600;
	}

	.filter-btn:hover,
	.filter-btn.active {
		border-color: var(--primary);
		background: rgba(217, 119, 6, 0.1);
		color: var(--primary);
	}

	@media (max-width: 768px) {
		.sidebar {
			transform: translateX(-100%);
		}

		.main-content {
			margin-left: 0;
		}

		.trilhas-grid {
			grid-template-columns: 1fr;
		}

		.form-grid {
			grid-template-columns: 1fr;
		}
	}