/* Dashboard Global Styles */
:root {
	--primary-color: #4a4e69;
	--secondary-color: #9a8c98;
	--background-color: #f2e9e4;
	--text-color: #22223b;
	--card-background: #ffffff;
	--transition-speed: 0.3s;
}

.dashboard-content {
	background-color: var(--background-color);
	min-height: 100vh;
	padding: 20px;
	margin-left: 80px;
	transition: margin-left var(--transition-speed) ease;
}

.sidebar:not(.sidebar-minimized) + .dashboard-content {
	margin-left: 250px;
}

.dashboard-container {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.dashboard-card {
	background-color: var(--card-background);
	border-radius: 12px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	padding: 20px;
	transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.dashboard-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.dashboard-header h1 {
	color: var(--text-color);
	font-size: 1.8rem;
	margin: 0;
}

.dashboard-actions {
	display: flex;
	gap: 10px;
}

.btn {
	padding: 10px 15px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: all var(--transition-speed);
}

.btn-primary {
	background-color: var(--primary-color);
	color: white;
}

.btn-secondary {
	background-color: var(--secondary-color);
	color: white;
}

.btn:hover {
	opacity: 0.9;
	transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 768px) {
	.dashboard-content {
		margin-left: 0;
		margin-right: 0;
		padding: 15px;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		width: 100%;
		box-sizing: border-box;
	}

	.dashboard-container {
		grid-template-columns: 1fr;
		max-width: 100%;
		margin: 0 auto;
		padding-right: 15px;
		box-sizing: border-box;
	}

	.dashboard-card {
		width: 100%;
		margin: 0 auto;
		box-sizing: border-box;
		max-width: calc(100vw - 30px);
		margin: 0 auto;
	}

	body {
		overflow-x: hidden;
		overflow-y: auto;
		height: 100%;
		position: relative;
		width: 100%;
	}
}

/* Animações de entrada */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

.dashboard-card {
	animation: fadeIn 0.5s ease forwards;
	opacity: 0;
	animation-delay: calc(var(--index) * 0.1s);
}

/* Estilos para mobile e scroll */
body.mobile-view {
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}

body.mobile-view .dashboard-card:not(.visible) {
	opacity: 0;
	transform: translateY(20px);
}

body.mobile-view .dashboard-card.visible {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Estilos específicos para gráficos */
.chart-container {
	position: relative;
	height: 300px;
	width: 100%;
}

/* Tabelas */
.dashboard-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background-color: var(--card-background);
	border-radius: 12px;
	overflow: hidden;
}

.dashboard-table thead {
	background-color: var(--primary-color);
	color: white;
}

.dashboard-table th,
.dashboard-table td {
	padding: 12px 15px;
	text-align: left;
}

.dashboard-table tr:nth-child(even) {
	background-color: #f8f9fa;
}

.dashboard-table tr:hover {
	background-color: rgba(74, 78, 105, 0.1);
}

/* Formulários */
.dashboard-form {
	display: grid;
	gap: 15px;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	margin-bottom: 5px;
	color: var(--text-color);
}

.form-control {
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 8px;
	transition: border-color var(--transition-speed);
}

.form-control:focus {
	outline: none;
	border-color: var(--primary-color);
}

/* Toggle switches */
.toggle-switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
}

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 34px;
}

.toggle-slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
	background-color: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider:before {
	transform: translateX(26px);
}

/* Estilos específicos para Upload de Beats */
.upload-area {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: all 0.4s ease;
	transform: translateY(-20px);
}

.upload-area.active {
	max-height: 800px;
	opacity: 1;
	transform: translateY(0);
}

.file-upload-container {
	display: flex;
	align-items: center;
	border: 2px dashed var(--secondary-color);
	border-radius: 8px;
	padding: 10px;
	transition: border-color 0.3s ease;
}

.file-upload-container:hover {
	border-color: var(--primary-color);
}

.file-input {
	display: none;
}

.file-upload-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	color: var(--text-color);
}

.upload-icon {
	margin-right: 10px;
	color: var(--primary-color);
}

.file-name {
	margin-left: 15px;
	color: var(--secondary-color);
}

.search-container {
	display: flex;
	gap: 10px;
}

.search-container .form-control {
	flex-grow: 1;
}

.upload-summary .summary-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.upload-summary .summary-item {
	text-align: center;
	padding: 15px;
	background-color: rgba(74, 78, 105, 0.05);
	border-radius: 8px;
}

.upload-summary .summary-label {
	display: block;
	margin-bottom: 10px;
	color: var(--secondary-color);
}

.upload-summary .summary-value {
	font-size: 1.5rem;
	font-weight: bold;
}

.form-actions {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

.badge {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 0.8rem;
}

.badge.positive {
	background-color: rgba(74, 78, 105, 0.1);
	color: #4a4e69;
}

.badge.warning {
	background-color: rgba(154, 140, 152, 0.1);
	color: #9a8c98;
}

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin-top: 20px;
}

/* Estilos específicos para Meus Beats */
.beats-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}

.beat-card {
	background-color: var(--card-background);
	border-radius: 12px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	padding: 20px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.beat-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.beat-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.beat-header h4 {
	margin: 0;
	font-size: 1.2rem;
	color: var(--text-color);
}

.beat-header .badge {
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 0.8rem;
}

.beat-header .badge.highlight {
	background-color: rgba(74, 78, 105, 0.1);
	color: #4a4e69;
}

.beat-header .badge.default {
	background-color: rgba(154, 140, 152, 0.1);
	color: #9a8c98;
}

.beat-details {
	flex-grow: 1;
}

.beat-info {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
	color: var(--secondary-color);
	font-size: 0.9rem;
}

.beat-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	background-color: rgba(74, 78, 105, 0.05);
	padding: 10px;
	border-radius: 8px;
}

.beat-stats .stat {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	color: var(--text-color);
	font-size: 0.9rem;
}

.beat-stats .stat .material-symbols-outlined {
	font-size: 1.1rem;
	color: var(--primary-color);
}

.beat-actions {
	display: flex;
	justify-content: space-between;
	margin-top: 15px;
}

.beat-actions .btn {
	flex-grow: 1;
	margin: 0 5px;
}

.beats-summary .summary-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.beats-summary .summary-item {
	text-align: center;
	padding: 15px;
	background-color: rgba(74, 78, 105, 0.05);
	border-radius: 8px;
}

.beats-summary .summary-label {
	display: block;
	margin-bottom: 10px;
	color: var(--secondary-color);
}

.beats-summary .summary-value {
	font-size: 1.5rem;
	font-weight: bold;
}

.beats-summary .summary-value.positive {
	color: #4a4e69;
}

@media (max-width: 768px) {
	.beats-list {
		grid-template-columns: 1fr;
		padding: 0 10px;
	}

	.beat-card {
		margin-bottom: 15px;
	}

	.beat-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.beat-header .badge {
		margin-top: 5px;
	}

	.beat-stats {
		grid-template-columns: 1fr 1fr;
	}

	.beat-actions {
		flex-direction: column;
		gap: 10px;
	}

	.beat-actions .btn {
		width: 100%;
		margin: 0;
	}
}

/* Specific styles for Profile */
.profile-info .profile-header {
	display: flex;
	align-items: center;
	gap: 30px;
}

.profile-avatar {
	position: relative;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.profile-avatar:hover {
	transform: scale(1.05);
}

.profile-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.avatar-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	opacity: 0;
	transition: opacity 0.3s ease;
	cursor: pointer;
}

.profile-avatar:hover .avatar-overlay {
	opacity: 1;
}

.profile-details {
	flex-grow: 1;
}

.profile-details h2 {
	margin: 0 0 15px 0;
	color: var(--text-color);
	font-size: 1.8rem;
}

.profile-bio {
	color: var(--secondary-color);
	margin-bottom: 15px;
}

.profile-social-media {
	display: flex;
	gap: 15px;
}

.social-link {
	color: var(--primary-color);
	font-size: 1.5rem;
	transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
	color: var(--secondary-color);
	transform: scale(1.2);
}

.profile-statistics .statistics-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.estatistica-item {
	display: flex;
	align-items: center;
	gap: 15px;
	background-color: rgba(74, 78, 105, 0.05);
	padding: 15px;
	border-radius: 8px;
	transition: background-color 0.3s ease;
}

.estatistica-item:hover {
	background-color: rgba(74, 78, 105, 0.1);
}

.estatistica-item .material-symbols-outlined {
	font-size: 2rem;
	color: var(--primary-color);
}

.estatistica-detalhe {
	display: flex;
	flex-direction: column;
}

.estatistica-label {
	color: var(--secondary-color);
	font-size: 0.9rem;
	margin-bottom: 5px;
}

.estatistica-valor {
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--text-color);
}

.profile-form {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: all 0.4s ease;
	transform: translateY(-20px);
}

.profile-form.active {
	max-height: 1000px;
	opacity: 1;
	transform: translateY(0);
}

.form-row {
	display: flex;
	gap: 20px;
}

.form-row .form-group {
	flex: 1;
}

.form-actions {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

@media (max-width: 768px) {
	.profile-info .profile-header {
		flex-direction: column;
		text-align: center;
	}

	.profile-statistics .statistics-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.form-row {
		flex-direction: column;
	}
}

/* Estilos para Configurações */
.settings-sections {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.settings-card {
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.5s ease;
}

.settings-card .card-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 10px;
}

.settings-card .card-header span {
	color: var(--primary-color);
	font-size: 1.8rem;
}

.settings-card .card-header h3 {
	margin: 0;
	color: var(--text-color);
}

.settings-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--border-color);
}

.configuracao-item:last-child {
	border-bottom: none;
}

.configuracao-item label {
	color: var(--secondary-color);
	font-size: 0.95rem;
}

/* Toggle Switch */
.toggle-switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
}

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 34px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

.toggle-switch input:checked + .slider {
	background-color: var(--primary-color);
}

.toggle-switch input:checked + .slider:before {
	transform: translateX(26px);
}

/* Selects */
.form-control {
	width: 200px;
	padding: 8px 12px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	background-color: var(--background-color);
	color: var(--text-color);
}

/* Modal de Redefinição de Senha */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.4);
}

.modal.active {
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal-content {
	background-color: var(--card-background);
	border-radius: 10px;
	width: 100%;
	max-width: 500px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	position: relative;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
	margin: 0;
	color: var(--text-color);
}

.btn-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--secondary-color);
	cursor: pointer;
	transition: color 0.3s ease;
}

.btn-close:hover {
	color: var(--text-color);
}

.modal-body {
	padding: 20px;
}

.form-group {
	margin-bottom: 15px;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
	color: var(--secondary-color);
}

.form-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 20px;
}

@media (max-width: 768px) {
	.settings-sections {
		grid-template-columns: 1fr;
	}
}

/* Estilos para Toggle de Modo Escuro/Claro */
.mode-toggle-container {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 1000;
}

.mode-toggle {
	background-color: var(--card-background);
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.nome_do_logotipo {
	font-size: 22px;
	color: #333;
	font-weight: 500;
	transition: all 0.3s ease;
}

.barra lateral .fechar .nome_do_logotipo,
.barra lateral .fechar #icone-cadeado,
.barra lateral .fechar #barra-lateral-fechar {
	opacity: 0;
	pointer-events: none;
}

#icone-cadeado,
#barra-lateral-fechar {
	padding: 10px;
	color: #4070f4;
	font-size: 25px;
	cursor: pointer;
	margin-left: -4px;
	transition: all 0.3s ease;
}

.mode-toggle:hover {
	transform: scale(1.1);
	background-color: var(--primary-color);
}

.mode-toggle .material-symbols-outlined {
	font-size: 24px;
	color: var(--text-color);
	transition: color 0.3s ease;
}

.mode-toggle:hover .material-symbols-outlined {
	color: white;
}

.mode-toggle .mode-icon-light,
.mode-toggle .mode-icon-dark {
	display: none;
}

/* Estilos para Modo Escuro */
body.dark {
	--background-color: #121212;
	--card-background: #1E1E1E;
	--text-color: #E0E0E0;
	--secondary-color: #B0B0B0;
	--primary-color: #BB86FC;
	--border-color: #333;
}

/* Responsividade do Toggle */
@media (max-width: 768px) {
	.mode-toggle-container {
		bottom: 10px;
		left: 10px;
	}
}

/* Estilos para Dashboard do Cliente */
.cliente-dashboard .resumo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.resumo-item {
	display: flex;
	align-items: center;
	gap: 15px;
	background-color: rgba(74, 78, 105, 0.05);
	padding: 15px;
	border-radius: 8px;
	transition: background-color 0.3s ease;
}

.resumo-item:hover {
	background-color: rgba(74, 78, 105, 0.1);
}

.resumo-item .material-symbols-outlined {
	font-size: 2rem;
	color: var(--primary-color);
}

@media (max-width: 480px) {
	.resumo-item .material-symbols-outlined {
		font-size: 1.5rem;
	}
}

.resumo-detalhe {
	display: flex;
	flex-direction: column;
}

.resumo-label {
	color: var(--secondary-color);
	font-size: 0.9rem;
	margin-bottom: 5px;
}

.resumo-valor {
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--text-color);
}

.table-beats {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 10px;
}

.table-beats thead {
	background-color: rgba(74, 78, 105, 0.05);
}

.table-beats th,
.table-beats td {
	padding: 12px 15px;
	text-align: left;
	color: var(--text-color);
}

.table-beats th {
	color: var(--secondary-color);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.8rem;
}

.table-beats tr {
	transition: background-color 0.3s ease;
}

.table-beats tr:hover {
	background-color: rgba(74, 78, 105, 0.05);
}

.beat-acoes {
	display: flex;
	gap: 10px;
	justify-content: center;
	align-items: center;
}

.btn-small {
	padding: 6px 12px;
	font-size: 0.8rem;
	min-width: 100px;
	text-align: center;
}

@media (max-width: 768px) {
	.resumo-grid {
		grid-template-columns: 1fr;
	}

	.dashboard-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.dashboard-container {
		padding: 0 10px;
	}

	/* Transformar tabela em cards para mobile */
	.table-beats {
		font-size: 0.9rem;
		border-spacing: 0;
	}

	.table-beats thead {
		display: none;
	}

	.table-beats tbody tr {
		display: block;
		margin-bottom: 15px;
		background-color: rgba(74, 78, 105, 0.05);
		border-radius: 8px;
		padding: 10px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	}

	.table-beats tbody td {
		display: flex;
		justify-content: space-between;
		padding: 8px 10px;
		text-align: right;
		border-bottom: 1px solid rgba(74, 78, 105, 0.1);
	}

	.table-beats tbody td:last-child {
		border-bottom: none;
	}

	.table-beats tbody td:before {
		content: attr(data-label);
		font-weight: 600;
		text-align: left;
		color: var(--secondary-color);
	}

	.beat-acoes {
		flex-direction: column;
		gap: 8px;
		width: 100%;
		align-items: center;
	}

	.beat-acoes .btn {
		width: 80%;
		text-align: center;
		margin: 0 auto;
	}
}

/* Adicionar scroll suave */
.dashboard-content {
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}

/* Ajustar espaçamento dos cards */
.dashboard-card {
	margin-bottom: 20px;
	padding: 15px;
}

/* Estilos para Biblioteca de Beats */
.biblioteca-beats .filtros-beats {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: all 0.4s ease;
}

.biblioteca-beats .filtros-beats.active {
	max-height: 300px;
	opacity: 1;
}

.filtro-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.filtro-grid .form-group {
	display: flex;
	flex-direction: column;
}

.filtro-grid label {
	margin-bottom: 8px;
	color: var(--secondary-color);
	font-size: 0.9rem;
}

@media (max-width: 768px) {
	.filtro-grid {
		grid-template-columns: 1fr;
	}
}

/* Estilos para Botão de Alternância de Sidebar */
.sidebar-toggle-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px 0;
}

.sidebar-mode-input {
	display: none;
}

.sidebar-mode-label {
	position: relative;
	width: 240px;
	height: 60px;
	background: var(--background-secondary);
	border-radius: 30px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 10px;
	box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.sidebar-mode-label::after {
	content: '';
	position: absolute;
	width: 50%;
	height: 80%;
	background: var(--primary-color);
	border-radius: 25px;
	left: 5px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.sidebar-mode-input:checked + .sidebar-mode-label::after {
	left: calc(50% + 5px);
	background: var(--secondary-color);
}

.toggle-label {
	position: relative;
	z-index: 1;
	color: var(--text-color);
	font-weight: 600;
	transition: color 0.3s ease;
}

.sidebar-mode-input:checked + .sidebar-mode-label .admin-label {
	color: var(--text-color-light);
}

.sidebar-mode-input:checked + .sidebar-mode-label .cliente-label {
	color: var(--text-color);
}

.sidebar-mode-input:not(:checked) + .sidebar-mode-label .admin-label {
	color: var(--text-color);
}

.sidebar-mode-input:not(:checked) + .sidebar-mode-label .cliente-label {
	color: var(--text-color-light);
}

/* Estilos para Menus de Admin e Cliente */
.sidebar-section {
	margin-bottom: 20px;
}

.sidebar-section h3 {
	margin-bottom: 15px;
	color: var(--secondary-color);
	text-transform: uppercase;
	font-size: 0.9rem;
	padding: 0 15px;
}

.sidebar-section ul {
	list-style: none;
	padding: 0;
}

.sidebar-section ul li {
	margin-bottom: 10px;
}

.sidebar-section ul li a {
	display: flex;
	align-items: center;
	padding: 10px 15px;
	color: var(--text-color);
	text-decoration: none;
	border-radius: 8px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar-section ul li a:hover {
	background-color: var(--background-secondary);
	color: var(--primary-color);
}

.sidebar-section ul li a .material-symbols-outlined {
	margin-right: 10px;
	font-size: 1.2rem;
}

.sidebar-section ul li a .menu-text {
	font-size: 0.9rem;
}

/* Estilos de Modo Admin/Cliente */
.sidebar.admin-mode .cliente-menu,
.sidebar.cliente-mode .admin-menu {
	display: none;
}

.sidebar.admin-mode .admin-menu,
.sidebar.cliente-mode .cliente-menu {
	display: block;
}

.hidden {
	display: none !important;
	visibility: hidden;
	opacity: 0;
	width: 0;
	height: 0;
	overflow: hidden;
}

/* Estilos para Toggle de Modo de Sidebar */
.sidebar-mode-toggle-container {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	margin: 15px 0;
}

.sidebar-mode-toggle-container input {
	display: none;
}

.sidebar-mode-toggle-container label {
	position: relative;
	width: 200px;
	height: 60px;
	display: block;
	background: #d9d9d9;
	border-radius: 100px;
	cursor: pointer;
	box-shadow: inset 0px 5px 15px rgba(0,0,0,0.1), inset 0px -5px 15px rgba(255,255,255,0.3);
	transition: background 0.5s ease;
}

.sidebar-mode-toggle-container label:after {
	content: '';
	position: absolute;
	height: 50px;
	width: 100px;
	background: #f2f2f2;
	border-radius: 100px;
	top: 5px;
	left: 5px;
	transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: left;
}

.sidebar-mode-toggle-container input:checked ~ label:after {
	left: 95px;
	transform: translateX(0);
	background: linear-gradient(180deg, #777, #3a3a3a);
}

.sidebar-mode-toggle-container input:checked ~ label {
	background: #242424;
}

.sidebar-mode-toggle-container label .admin-icon,
.sidebar-mode-toggle-container label .cliente-icon {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 24px;
	transition: .4s;
	color: #333;
}

.sidebar-mode-toggle-container label .admin-icon {
	left: 15px;
}

.sidebar-mode-toggle-container label .cliente-icon {
	right: 15px;
}

.sidebar-mode-toggle-container input:checked ~ label .admin-icon {
	color: #888;
}

.sidebar-mode-toggle-container input:checked ~ label .cliente-icon {
	color: #fff;
}

.sidebar-minimized .sidebar-mode-toggle-container label:after {
	position: absolute;
	left: -125% !important;
	transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: left;
}

.sidebar-minimized .sidebar-mode-toggle-container input:checked ~ label:after {
	left: 100% !important;
	transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: left;
}

.sidebar-minimized-toggle {
	display: flex;
	justify-content: center;
}

.sidebar-minimized-toggle label {
	width: 120px !important;
	height: 40px !important;
}

.sidebar-minimized-toggle label:after {
	width: 60px !important;
	height: 30px !important;
}

.sidebar-minimized-toggle label .admin-icon,
.sidebar-minimized-toggle label .cliente-icon {
	font-size: 18px !important;
}

.sidebar-minimized .sidebar-mode-toggle-container {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	margin: 15px 0;
}

.sidebar-mode-toggle-container label:after {
	backface-visibility: hidden;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

.loader {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(255, 255, 255, 0.8);
	z-index: 1000;
	font-size: 18px;
	color: #333;
}

.main-content {
	position: relative;
	min-height: 300px;
}

/* Estilos para Seção de Armazenamento Google Drive */
#armazenamento-google-drive {
	background-color: #f8f9fa;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#armazenamento-google-drive h2 {
	color: #333;
	margin-bottom: 15px;
	font-weight: 600;
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 10px;
}

#google-drive-connection-status {
	display: flex;
	flex-direction: column;
}

.alert-info {
	background-color: #e6f2ff;
	border: 1px solid #b3d9ff;
	color: #0056b3;
	padding: 15px;
	border-radius: 6px;
	text-align: center;
}

#connect-google-drive {
	margin-top: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

#connect-google-drive i {
	font-size: 1.2em;
}

.google-drive-info {
	background-color: white;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.storage-details {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.storage-progress {
	width: 100%;
}

.progress {
	height: 25px;
	background-color: #e9ecef;
	border-radius: 12px;
	overflow: hidden;
}

.progress-bar {
	background-color: #28a745;
	transition: width 0.5s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
}

.storage-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	text-align: center;
}

.storage-stats p {
	background-color: #f1f3f5;
	padding: 10px;
	border-radius: 6px;
	margin: 0;
	font-weight: 500;
}

.storage-stats span {
	display: block;
	font-size: 1.2em;
	color: #495057;
	margin-top: 5px;
}

.storage-actions {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

#disconnect-google-drive,
#refresh-storage-info {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

#disconnect-google-drive i,
#refresh-storage-info i {
	font-size: 1em;
}

@media (max-width: 768px) {
	.storage-stats {
		grid-template-columns: 1fr;
	}
}

/* Estilos da Página de Upload */
.dashboard-content.upload {
	padding: 20px;
}

.dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.dashboard-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.dashboard-card {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	animation: fadeIn 0.5s ease forwards;
	animation-delay: calc(var(--index) * 0.1s);
	opacity: 0;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.dashboard-form {
	display: grid;
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-group label {
	font-weight: 500;
	color: var(--text-color);
}

.form-control {
	padding: 10px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-size: 14px;
	transition: border-color 0.3s ease;
}

.form-control:focus {
	border-color: var(--primary-color);
	outline: none;
}

.file-upload-container {
	display: flex;
	align-items: center;
	border: 2px dashed var(--border-color);
	border-radius: 8px;
	padding: 20px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.file-upload-container:hover {
	border-color: var(--primary-color);
	background: rgba(74, 78, 105, 0.05);
}

.file-input {
	display: none;
}

.file-upload-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.upload-icon {
	font-size: 24px;
	color: var(--primary-color);
}

.upload-text {
	color: var(--text-color);
	font-weight: 500;
}

.file-name {
	margin-left: 15px;
	color: var(--secondary-color);
	font-size: 14px;
}

.upload-summary {
	padding: 10px 0;
}

.summary-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.summary-item {
	background: rgba(74, 78, 105, 0.05);
	border-radius: 8px;
	padding: 15px;
	text-align: center;
}

.summary-label {
	display: block;
	color: var(--text-color);
	font-size: 14px;
	margin-bottom: 5px;
}

.summary-value {
	font-size: 24px;
	font-weight: bold;
	color: var(--primary-color);
}

.dashboard-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.search-container {
	display: flex;
	gap: 10px;
	flex: 1;
	max-width: 400px;
}

.table {
	width: 100%;
	border-collapse: collapse;
}

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

.table th {
	font-weight: 600;
	color: var(--text-color);
	background: rgba(74, 78, 105, 0.05);
}

.status-badge {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
}

.status-badge.aprovado {
	background: rgba(52, 211, 153, 0.1);
	color: #34D399;
}

.status-badge.em-analise {
	background: rgba(251, 191, 36, 0.1);
	color: #FBB224;
}

.status-badge.rejeitado {
	background: rgba(239, 68, 68, 0.1);
	color: #EF4444;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
}

.btn-primary {
	background: var(--primary-color);
	color: white;
}

.btn-primary:hover {
	background: var(--primary-color-dark);
}

.btn-secondary {
	background: var(--secondary-color);
	color: white;
}

.btn-secondary:hover {
	background: var(--secondary-color-dark);
}

.btn-sm {
	padding: 4px 8px;
	font-size: 12px;
}

.alert {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 20px;
}

.alert-success {
	background: rgba(52, 211, 153, 0.1);
	color: #34D399;
	border: 1px solid rgba(52, 211, 153, 0.2);
}

.alert-danger {
	background: rgba(239, 68, 68, 0.1);
	color: #EF4444;
	border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Fim dos estilos do dashboard */

.checkout-page {
	color: #000000;
	overflow-y: auto;
	height: 100vh;
}

.checkout-page .dashboard-card {
	color: #000000;
}

.checkout-page input,
.checkout-page select,
.checkout-page label,
.checkout-page .edd-label,
.checkout-page .edd-description {
	color: #000000;
}
.checkout-page .edd-cart-total {
    color: #ffffff;
}
.checkout-page::-webkit-scrollbar {
	width: 8px;
}

.checkout-page::-webkit-scrollbar-track {
	background: var(--background-color);
	border-radius: 4px;
}

.checkout-page::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 4px;
}

.checkout-page::-webkit-scrollbar-thumb:hover {
	background: var(--secondary-color);
}

/* Enhanced styles for EDD receipt page */
#edd_purchase_receipt,
#edd_purchase_receipt_products {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
    background: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
}

#edd_purchase_receipt td,
#edd_purchase_receipt th,
#edd_purchase_receipt_products td,
#edd_purchase_receipt_products th {
    padding: 12px;
    border: 1px solid var(--border-color, #e0e0e0);
    color: var(--text-color, #333333);
}

#edd_purchase_receipt th,
#edd_purchase_receipt_products th {
    background: var(--primary-color);
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

.edd_purchase_receipt_product_name {
    font-weight: 600;
    color: var(--text-color, #333333);
}

.edd_purchase_receipt_product_notes {
    font-size: 0.9em;
    color: var(--text-color, #333333);
    opacity: 0.8;
}

.edd_purchase_receipt_files {
    margin: 10px 0;
    padding: 0;
    list-style: none;
}

.edd_purchase_receipt_files li {
    margin: 5px 0;
    color: var(--text-color, #333333);
}

.edd_download_file_link {
    display: inline-block;
    padding: 8px 15px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.edd_download_file_link:hover {
    background: var(--secondary-color);
    text-decoration: none;
}

.edd_bundled_product_name {
    font-weight: 600;
    color: var(--text-color, #333333);
    margin-bottom: 5px;
}

.edd_bundled_product_files {
    margin-left: 20px;
    color: var(--text-color, #333333);
}

.edd-alert {
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    background: var(--card-background);
    border: 1px solid var(--border-color, #e0e0e0);
    color: var(--text-color, #333333);
}

@media screen and (max-width: 768px) {
    #edd_purchase_receipt td,
    #edd_purchase_receipt th,
    #edd_purchase_receipt_products td,
    #edd_purchase_receipt_products th {
        padding: 8px;
        font-size: 0.9em;
    }
    
    .edd_download_file_link {
        padding: 6px 12px;
        font-size: 0.9em;
    }
}