* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Arial, Helvetica, sans-serif;
}

body {
	background: #f0f2f5;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: #f0f2f5;
}

.main-content {
	padding: 10px;
}

/*CABEÇARIO*/
.header {
	background: #2c3e50;
	color: white;
	padding: 1rem 2rem;
	text-align: center;
}

.header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 20px;
}

.header-content img.logo {
	height: 70px;
}

.header-content .header-text {
	text-align: left;
}

.header-content h1 {
	font-size: 1.5rem;
	margin-bottom: 0.2rem;
}

.header-content h2 {
	font-size: 1rem;
	font-weight: 400;
}

/*Navegação*/
.dashboard-header {
	background: #2c3e50;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: 0.5rem 1rem;
	gap: 0.5rem;
	overflow-x: auto;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-header button {
	background: #3498db;
	border: none;
	color: white;
	padding: 0.6rem 1rem;
	cursor: pointer;
	border-radius: 4px;
	white-space: nowrap;
	transition: background-color 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.85rem;
}

.dashboard-header button:hover {
	background-color: #2980b9;
}

.user-greeting-container {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 15px;
}
	#userGreeting {
		color: #ecf0f1;
		font-size: 0.9em;
		white-space: nowrap;
	}

.dashboard-header .logout-button {
	margin-left: auto;
	background-color: #e74c3c;
}

.dashboard-header .logout-button:hover {
	background-color: #c0392b;
}

/*INICIO*/
.hidden-by-permission {
	display: none !important;
}

.dashboard-section {
	background-color: #ffffff;
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dashboard-section h1 {
	text-align: center;
	color: #333;
	margin-bottom: 15px;
	font-size: 1.7em;
}

.dashboard-section-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.dashboard-column {
	flex: 1 1 260px;
	min-width: 260px;
	background-color: #e7e6e6;
	padding: 10px;
	border-radius: 6px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
}

.dashboard-column h1 {
	font-size: 1.15em;
	color: #2c3e50;
	margin-top: 0;
	margin-bottom: 10px;
	border-bottom: 1px solid #e0e0e0;
	padding-bottom: 6px;
}

.dashboard-column > .dashboard-item:only-child {
	margin-bottom: 0;
}

.dashboard-item {
	background-color: #f9fafb;
	padding: 10px;
	border-radius: 4px;
	margin-bottom: 10px;
	border: 1px solid #e8e8e8;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.dashboard-item h1 {
	font-size: 0.95em;
	color: #444;
	margin-top: 0;
	margin-bottom: 8px;
	line-height: 1.2;
}

.dashboard-item h1 .item-value {
	font-weight: bold;
	font-size: 1.15em;
	color: #2c3e50;
	margin-left: 5px;
}

.dashboard-item:last-child {
	margin-bottom: 0;
}

.chart-container {
	width: 100%;
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-grow: 1;
	min-height: 170px;
}
	#osStatusChartContainer {
		min-height: 220px;
		max-height: 300px;
	}

/*Containers*/
.container_cadastrar {
	width: 90%;
	max-width: 600px;
	margin: 20px auto;
	padding: 25px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container_cadastrados {
	width: 90%;
	margin: 20px auto;
	padding: 20px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	flex-grow: 1;
}

.container_cadastrar h1, .container_cadastrados h1 {
	color: #333;
	text-align: center;
	margin-bottom: 20px;
}
.container_cadastrar h1 > .fa-building-user {
	margin-right: 10px;
	color: #3498db;
}

.container_cadastrar h1 > .fa-users-cog {
	margin-right: 10px;
	color: #9b59b6;
}

.container_cadastrar h1 > .fa-sitemap {
	margin-right: 10px;
	color: #2ecc71;
}

.container_cadastrar h1 > .fa-laptop-house {
	margin-right: 10px;
	color: #f1c40f;
}

.container_cadastrados h1 > .fa-list-alt {
	margin-right: 10px;
	color: #2ecc71;
}

/*------- LOGIN --------*/
.login-container {
	height: 100vh;
	width: 100vw;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
	url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
	background-size: cover;
	background-position: center;
}

.login-box {
	background-color: white;
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	width: 300px;
	text-align: center;
}

.login-logo {
	margin-bottom: 1rem;
}

.login-logo img {
	width: 150px;
}

.tit_login {
	margin-bottom: 1rem;
}

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

.login-form input {
	padding: 0.75rem;
	margin-bottom: 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.login-form button {
	background-color: #2c3e50;
	color: white;
	padding: 0.75rem;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.login-form button:hover {
	background-color: #1a2537;
}

.direitos {
	font-size: 0.7rem;
	margin-top: 1rem;
	color: #666;
}

.direitos span {
	display: block;
}

/* FORM STYLES */
.form-container {
	max-width: 800px;
	margin: 20px auto;
	padding: 20px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
	display: flex;
	align-items: center;
	margin-bottom: 6px;
	color: #555;
	font-weight: bold;
	font-size: 0.95em;
}

.form-group label i.fas {
	margin-right: 8px;
	width: 18px;
	text-align: center;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="file"],

.form-group select {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 0.95em;
}

.form-group textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 0.95em;
	resize: vertical;
	min-height: 80px;
	transition: border-color 0.3s ease;
}

.form-buttons {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}

.form-buttons button {
	padding: 8px 18px;
	border: none;
	color: white;
	border-radius: 5px;
	cursor: pointer;
	font-weight: bold;
	font-size: 0.9em;
	display: flex;
	align-items: center;
	gap: 5px;
}

.form-buttons button.clear-button {
	background-color: #6c757d;
}

.form-buttons button.submit-button {
	background-color: #28a745;
}

.form-buttons button.close-os-button {
	background-color: #dc3545;
}

.form-buttons button:hover {
	opacity: 0.9;
}