/*Reset*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/*Base*/
body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #f4f6f8;
	color: #333;
	line-height: 1.5;
}

/*Header*/
header {
	background-color: #1f2937;
	color: white;
	padding: 15px 20px;
}

header h2 {
	margin-bottom: 5px;
}

header p {
	font-size: 14px;
	color: #d1d5db;
}

nav {
	margin-top: 10px;
}

nav a:hover {
	text-decoration: underline;
}

/*General areas*/

hr {
	border: none;
	height: 1px;
	background-color: #444;
	margin: 10px 0;
}

/*Inputs*/
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select {
	width: 100%;
	padding: 8px;
	margin: 8px 0 15px 0;
	border: 1px solid #ccc;
	border-radius: 4px;
}

/*non-boostrap buttons*/
button:not(.btn) {
	background-color: #2563eb;
	color: white;
	padding: 10px 15px;
	border: none;
	cursor: pointer;
	border-radius: 4px;
	width: auto;
}

button:not(.btn):hover {
	background-color: #1d4ed8;
}

/*tables*/
table {
	width: 100%;
	border-collapse: collapse;
	background: white;
}

th, td {
	padding: 10px;
	border: 1px solid #ddd;
	text-align: left;
}

th {
	background-color: #f3f4f6;
}

/*Main content*/
main {
	padding: 20px;
}

/*Footer*/
footer {
	margin-top: 40px;
	padding: 15px;
	text-align: center;
	font-size: 12px;
	color: #666;
}

/*Login*/
.login-container {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 70vh;
}

.login-box {
	width: 350px;
	padding: 30px;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-box h2 {
	text-align: center;
	margin-bottom: 25px;
}

.login-box label {
	display: block;
	margin-top: 10px;
	margin-bottom: 5px;
}

.login-box input {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.login-box button {
	width: 100%;
	padding: 10px;
	background-color: #333;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.login-box button:hover {
	background-color: #555;
}

.error-message {
	color: red;
	text-align: center;
	margin-bottom: 15px;
}

.login-header {
	text-align: center;
	margin-top: 40px;
}

.login-footer {
	text-align: center;
	margin-top: 30px;
	color: #777;
}

/*Dashboard*/
.dashboard-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.dashboard-card {
	display: block;
	background: white;
	padding: 20px;
	border-radius: 8px;
	text-decoration: none;
	color: #333;
	box-shadow: 0 0 10px rgba(0,0,0,0.08);
	transition: 0.2s ease;
}

.dashboard-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.dashboard-card h3 {
	margin-bottom: 10px;
}

/*Customer*/
.customer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.panel {
	background: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-row {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.form-row label {
	width: 140px;
	font-weight: bold;
}

.form-row input {
	flex: 1;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

/*Utility*/
.text-center {
	text-align: center;
}