body {
    font-family: Candara,Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif; 
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

header {
    background-color: #23a137;
    color: white;
    padding: 10px;
    text-align: center;
}



.reload {
	font-family: Lucida Sans Unicode;
	height: 2rem;
	background-color: #23a137;
	font-weight: bold;
	font-size: 2rem;
	color: #facfcf;
	border-radius: 8px;
	border-style: none;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-block;
	font-weight: 800;
	list-style: none;
	margin: 0;
	outline: none;
	position: relative;
	text-align: center;
	text-decoration: none;
	transition: color 100ms;
	vertical-align: baseline;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
  
  
}


/* Footer (Optional) */
footer {
	background-color: #333;
	color: white;
	text-align: center;
	padding: 10px;
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 2;
	height:10px;
}


/* The sidebar menu */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
}

/* Sidebar links */
.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: block;
    transition: 0.3s;
}

/* Links hover effect */
.sidebar a:hover {
    background-color: #575757;
}

/* Button to close the sidebar */
.sidebar .closebtn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px;
    margin-left: 50px;
}


/* The button to open the sidebar */
.openbtn {
    position: absolute;
	top: 20px;
	left: 20px;
	font-size: 18px;
	text-align: center;
	background-color: #4CAF50;
	background-color: #23a137;
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
}

.openbtn:hover {
    background-color: #45a049;
}

/* Transition for opening and closing */
.sidebar.opened {
    width: 250px;
}



/* Dashboard */


.dashboard {
	padding: 20px;
}

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

.dashboard-table th, .dashboard-table td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: center;
}

.dashboard-table th {
	background-color: #f2f2f2;
	color: #333;
}

.adjust-btn {
	padding: 5px 10px;
	margin: 0 5px;
	background-color: #4CAF50;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.adjust-btn.decrease {
	background-color: #f44336;
}

.adjust-btn:disabled {
	background-color: #ddd;
	cursor: not-allowed;
}


/* Warnings */
/* Styles for warning rows */
.warning-row {
    background-color: #f8d7da;
    color: #721c24;
}

.warning-row td {
    border-left: 5px solid #f5c6cb;
}

.warning-icon {
    color: #ff4d4d;
    font-size: 1.2em;
    margin-right: 0.5em;
    display: inline-block; /* Make sure the icons are inline with the text */
}

.stock-input {
    width: 60px;
    text-align: center;
    margin: 0 10px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}


#productSearch {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
