:root {
  --silver: #c0c0c0;
  --white: #ffffff;
  --yellow: #ff0; /* yellow */
  --dark-yellow: #ffc107;
  --black: #000; /* black */
  --gray80: #ccc; /* Gray 80 */
  --light-gray: #f1f1f1;
  --lighter-gray: #f4f4f4;
  --green: #4CAF50;
  --light-blue: #978755; /* Menu backgound */
  --sea-blue: #978755;
  --button-blue: #4d2e20;
  --menu-background: #978755;
  --menu-text: #FFFF;
  --h1-color: #978755;
  --text-color: #978755;
  --button-color: #978755;
}

* {
  box-sizing: border-box;
  font-family: "Segoe UI";
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  padding: 15px;
}

.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

html {
  font-family: "Lucida Sans", sans-serif;
}

.header {
  background-color: var(--light-blue);
  color: var(--white);
  padding: 15px;
}

.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 8px;
  margin-bottom: 7px;
  background-color: var(--light-blue);
  color: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.menu li:hover {
  background-color: var(--sea-blue);
}

.label {
	margin-bottom: 4px;
	margin-left: 20px;
}
/*
label {
	margin-top: 4px;
	margin-bottom: 0px;
	margin-left: 8px;
}
*/
.menu_plain
{
	font-weight: 100;
}

.div_login
{
	background-color: white;
	margin-top: 5px;
	margin-left: 0px;
	margin-right: 0px;
	padding: 4px;
	border-radius: 4px;
	height: 180px;
}

.black
{
	color: black;
	font-weight: normal;
	font-size: 0.7em;
	margin-top:4px;
	margin-bottom: 0;
}

.DialogBox
{
	width: 40vw;
	height: 50vh;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5vh;
	margin-bottom: 5vh;
	border-style: solid;
	border-width: 2px;
	border-color: grey;
	padding: 40px;
	-moz-box-shadow: 4px 6px 8px rgba(0, 0, 0,0.5);
	-webkit-box-shadow: 6px 4px 8px rgba(0, 0, 0, .5);
	box-shadow: 4px 6px 8px rgba(0, 0, 0, .5);
}


.redhr
{
	width:100%;
	border:3px solid var(--light-blue);
	background-color: var(--light-blue);
	margin-top: 0;
	margin-right: 0px;
}

.redhrnarrow
{
	width:10vw;
	border:5px solid var(--light-blue);
	background-color: var(--light-blue);
}

.center
{
	text-align:center;
}
.dbButton
{
    width: 70px;
    height: 36px;
    border-style:  solid;
    border-width: 1px;
    border-color:  white;
    background-color:  var(--button-blue);
    color:  white;
    text-align:  center;
	padding-left: 20px;
	padding-right: 20px;
}

.btn-blue
{
	background-color:  var(--light-blue);
	border: none;
}

.btn-blue:hover
{
	background-color:  var(--button-blue);
	border: none;
}

a
{
	text-decoration: none;
}

.datatable 
{
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
}

.tablecolumn
{
	width: 120px;
	padding-left: 12px;
	text-align: right;
}

body,h1,h2,h3,h4,h5 {font-family: "Segoe UI", sans-serif}
body {font-size:16px;}
.w3-half img{margin-bottom:-6px;margin-top:16px;opacity:0.8;cursor:pointer}
.w3-half img:hover{opacity:1}

h1 {
	font-size: 20px;
	margin-top: 0;
	color: var(--h1-color)!important;
}

.black {
	font-family: "Segoe UI", sans-serif;
	color: black;
	font-size: 100%;
}

.data
{
	font-family: "Segoe UI", sans-serif;
	padding-right: 50px;
	font-weight: 600;
	font-size: 100%;
}

.label-column {
	padding-right: 15px;
	text-align: right;
	border-style: solid;
	border-width: 0px;
	border-color: blue;
	width: auto;
}

.data-column {
	margin: 0;
	border-style: solid;
	border-width: 0px;
	border-color: blue;
	width: auto;
}


.datacell
{
	vertical-align: top;
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 0px;
	padding-bottom: 0px;
	line-height: normal;
}

.company-logo {
	height: 80px;
	position: absolute;
	top: 70px;
	right: 80px;
	float: right;
	margin-bottom: 10px;
	margin-top: -50px;
	margin-right: 0;
}

.w3-text-dark-grey {
	font-weight: 600;
}

.dashboard-header {
	position: fixed; 
	top:0; 
	width:65vw; 
	background-color: white;
}

.student-photo {
	float: left;
	width: 80px;
}

.small-icon {
	width: 20px;
	float: left;
	margin: 0px!important;
}

.medium-icon {
	width: 28px;
	float: left;
	margin: 0px!important;
	margin-right: 4px!important;
}

.small-heading-icon {
	height: 50px;
	float: left;
}
.w3-half {
    border-style: solid;
    border-width: 0px;
    border-color: red;
	padding: 0px;
	margin: 0px;
}
.w3-margin-bottom {
    border-style: solid;
    border-width: 0px;
    border-color: green;
}
.w3-light-grey {
    border-style: solid;
    border-width: 0px;
    border-color: blue;
}
.w3-container {
    border-style: solid;
    border-width: 0px;
    border-color: yellow;
	margin-right: 0px;
}

.w3-inner {
	margin-top: 4px;
	margin-bottom: 4px;
	margin-left: 0px;
	margin-right: 0px;
	background-color: var(--lighter-gray);
    border-style: solid;
    border-width: 0px;
    border-color: blue;
	padding-left: 6px;
	padding-right: 6px;
	padding-bottom: 6px;
}

.dashbord-header {
	margin-right: 0px;
	border-style: solid;
	border-width: 0px;
	border-color: blue;
	padding-right: 6px;
}

.content-div {
	margin-left:300px;
	margin-right:20px;
}
.combo {
	height: 30px;
	line-height: 30px;
}

.form-button {
	width: 120px;
	margin-left: 0px;
}

.extra-size {
	font-size: 32px;
	font-weight: 700;
}

.white-text-on-fill {
	color: white;
	background-color: var(--light-blue);
	margin-left: -6px;
	margin-right: -6px;
	padding-left: 8px;
}

/* Grid styes */
.grid-container {
  display: grid;
  gap: 10px 10px;
  grid-template-columns: auto auto auto;
  background-color: var(--lighter-gray);
  padding: 10px;
}

.grid-item {
  background-color: white;
  border: 0px solid rgba(0, 0, 0, 0.8);
  padding: 20px;
  font-size: 14px;
  text-align: left;
}

.assessment-form {
	table-layout: fixed;
	width: 100%;
	border-style: solid;
	border-width: 0px;
	border-color: blue;
	height: 200px;
}


/* ==================== RESPONSIVE FORM CLASSES ===================== */
input[type=text], select, textarea {
  width: 100%;
  padding: 0px;
  border: 1px solid var(--gray80);
  border-radius: 4px;
  resize: vertical;
}

select {
	height: 36px;
}

input[type=text] {
	padding: 3px;
	margin-top: 0px;
}
label {
  padding: 0; /*12px 12px 12px 0;*/
  display: inline-block;
}

input[type=submit] {
	background-color: var(--light-blue);
	color: white;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 14px;
	padding-right: 14px;
	width: 150px!important;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	float: right;
	margin-left: 0px;
}

input[type=reset] {
	background-color: var(--light-blue);
	color: white;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 14px;
	padding-right: 14px;
	width: 150px!important;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	float: right;
	margin-left: 22px;
}

input[type=submit]:hover {
  background-color: var(--button-blue);
}

input[type=reset]:hover {
  background-color: var(--button-blue);
}

.container {
  border-radius: 5px;
  background-color: transparent;
  padding: 2px;
  margin-bottom: 4px;
  	border-style: solid;
	border-width: 0px;
	border-color: red;
}

.col-10 {
	float: left;
	width: 15%;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
	padding-right: 8px;
	padding-bottom: 6px;
	border-style: solid;
	border-width: 0px;
	border-color: black;
}
.col-25 {
	float: left;
	width: 25%;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
	padding-right: 8px;
	padding-bottom: 6px;
	border-style: solid;
	border-width: 0px;
	border-color: yellow;
}

.col-30 {
	float: left;
	width: 30%;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
	padding-right: 8px;
	padding-bottom: 6px;
	border-style: solid;
	border-width: 0px;
	border-color: green;
}

.col-50 {
	float: left;
	width: 50%;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 4px;
	border-style: solid;
	border-width: 0px;
	border-color: blue;
}

.col-75 {
	float: left;
	width: 75%;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 4px;
	border-style: solid;
	border-width: 0px;
	border-color: blue;
}

.col-button {
	float: left;
	width: 180px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 20px;
	padding: 4px;
	border-style: solid;
	border-width: 0px;
	border-color: blue;
}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-10,  .col-30, .col-50 {
    width: 100%;
    margin-top: 0;
	  margin-bottom: 6px;
	text-align: left;
  }
	.label-column { 
		text-align: left;
		float: left;
	}

 .col-25, .col-75 {
    width: 100%;
    margin-top: 0;
	 margin-bottom: 6px;
	text-align: left;
	 float: left;
	border-style: solid;
	border-width: 0px;
	border-color: blue;	 
  }
}

@media screen and (max-width: 600px) {
   input[type=submit], input[type=reset], .col-button {
    width: 180px!important;
    margin-top: 0;
  }
}

.debug {
	display: none;
}

/* ====================== BOOTSTRAP TABLE ============================= */
.summary-info {
	line-height: 10px;
	min-height: 10px;
	height: 10px;
}

.no-border {
	border-style: solid;
	border-width: 0px;
	border-color: transparent;
}

/* ====================== MENOY ΑΡΧΙΚΗΣ ΣΕΛΙΔΑΣ ========================== */
.menu-icon {
	height: 140px;
	margin-left: 30px;
	margin-right: 30px;
}

.menu-text {
	text-align: center;
}

a:hover {
	font-weight: 500;
}

.icon-centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.blueparagraph {
	background-color: var(--light-blue);
	color: var(--white);
}

.submit-button-small {
	height: 24px;
	margin: 0;
	float: right;
}

.table-label-icon {
	height: 24px;
	margin: 0;
	float: right;
}

.border-on {
	border-style: solid;
	border-width: 1px;
	border-color: red;
}

.gap {
	margin-right: 20px;
}

.toggle-button-container {
	position: relative;
	 opacity: 0; 
 visibility: hidden;
 -webkit-transition: visibility 0.2s linear,
 opacity 0.2s linear;
 -moz-transition: visibility 0.2s linear,
 opacity 0.2s linear;
 -o-transition: visibility 0.2s linear,
 opacity 0.2s linear; 
}

.toggle-button-container img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
}

.menu_colors {
  background-color: var(--menu-background)!important;
  color: var(--menu-text)!important;
}


.form-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin: 10px;
    flex-basis: calc(33.333% - 20px); /* 3 fields in a row, adjusting for margins */
    box-sizing: border-box;
}

label {
    margin-bottom: 5px;
}

input[type="date"] {
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .form-group {
        flex-basis: calc(50% - 20px); /* 2 fields per row for medium screens */
    }
}

@media (max-width: 480px) {
    .form-group {
        flex-basis: 100%; /* 1 field per row for small screens */
    }
}
        .logout-container {

            background-color: #f0f4f7;
            border: 1px solid #c6c6c6;
            border-radius: 10px;
            text-align: center;
            padding: 20px;
            max-width: 600px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .logout-container h1 {
            font-size: 24px;
            color: #333;
            margin-bottom: 10px;
        }

        .logout-container p {
            font-size: 16px;
            color: #666;
            margin-bottom: 20px;
        }

        .logout-container button {
            background-color: #4CAF50;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }
        .logout-container button:hover {
            background-color: #45a049;
        }
		
		.div-center-on-screen {
			position: fixed;
			left: calc(50vw - 150px);
			top: calc(50vh - 100px);
		}
		
    .form-row {
      display: flex;
      gap: 10px; /* space between the fields */
    }
    .form-row input, .form-row select {
      padding: 5px;
    }		
	
	#order_status_title {
      font-size: 24px; /* Larger font size */
	  font-weight: 600;
      color: var(--text-color); /* Text color */
      padding: 10px; /* Optional: Add padding for better usability */
      border: 1px solid #ccc; /* Optional: Border style */
      border-radius: 5px; /* Optional: Rounded corners */
      width: 100%; /* Optional: Make it full-width */
    }
	
	.text-right {
		text-align: right;
	}
	
.print-btn {
	background-color: var(--button-color);
	color: white;
	padding: 4px;
	width: 130px;
}

.finished-btn {
	background-color: #77c977;
	color: white;
	padding: 4px;
	width: 130px;
}

.update-btn {
	background-color: var(--button-color);
	color: white;
	padding: 4px;
	width: 130px;
}

button:disabled {
    background-color: lightgrey; /* Set the background color to light grey */
    color: darkgrey;            /* Optional: Set the text color */
    cursor: not-allowed;        /* Change the cursor to indicate the button is disabled */
    opacity: 0.6;               /* Optional: Add transparency */
}



#popupNotification {
    position: fixed;      /* να “κολλάει” στο παράθυρο */
    top: 0px;            /* απόσταση από πάνω (ρύθμισέ το όπως σε βολεύει) */
    right: 00px;          /* απόσταση από δεξιά */
    z-index: 9999;        /* να εμφανίζεται πάνω από τα άλλα */
    
    /* προαιρετικά, για εμφάνιση */
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 14px;
	display: none; /* Initially hide the popup */
}



#successMessage {
    display: none; 
    position: fixed;      /* πάντα ορατό στο viewport */
    top: 0;               /* κολλημένο στην κορυφή */
    left: 304px;              /* ξεκινά από αριστερά */
    right: 4px;          /* καλύπτει όλο το πλάτος */
    background-color: #9fd7a2; 
    color: white; 
    padding: 10px; 
    border-radius: 0 0 5px 5px;  /* στρογγυλεμένες γωνίες μόνο κάτω */
    text-align: center;
    z-index: 9999;        /* πάνω από όλα */
}


#lowStockList div {
    
    align-items: left; /* Center-align items vertically */
}

.userButton {
    margin-left: 20px!important;
    margin-top: 5px;
    font-weight: 400!important;
    text-align: center; /* Align the text inside the button to the left */
    float: left!important; /* Align the buttons themselves to the left */
	
}

#newUserPopup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#updateUserPopup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

/* Ensures checkbox and label are inline */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Ensures select dropdown and label are inline */
.select-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.dataTables_length {
    white-space: nowrap;
}

.btn-print {
    background-color: #9a8754;      /* το ίδιο χρώμα */
    color: white;
    padding: 4px 8px;
    border: 1px solid #6f5e35;      /* πιο καθαρό, έντονο border */
    border-radius: 4px;             /* πιο μοντέρνες γωνίες */
    font-weight: 400;
    width: 160px;                   /* σταθερό πλάτος, αν θέλεις */
    cursor: pointer;
    transition: 0.2s ease;
	margin-bottom: 3px;
}

.btn-print:hover {
    filter: brightness(1.1);
    border-color: #4e4427;
}


.btn-update {
    background-color: #9a8754;      /* το ίδιο χρώμα */
    color: white;
    padding: 4px 8px;
    border: 1px solid #6f5e35;      /* πιο καθαρό, έντονο border */
    border-radius: 4px;             /* πιο μοντέρνες γωνίες */
    font-weight: 400;
    width: 120px;                   /* σταθερό πλάτος, αν θέλεις */
    cursor: pointer;
    transition: 0.2s ease;
	margin-bottom: 3px;
}

.btn-update:hover {
    filter: brightness(1.1);
    border-color: #4e4427;
}


.btn-done {
    background-color: #8be48b;      /* ίδιο πράσινο */
    color: #004400;                 /* πιο “ήρεμο” πράσινο στο κείμενο */
    padding: 4px 8px;
    border: 1px solid #2d7d2d;      /* πιο ωραίο, καθαρό πράσινο border */
    border-radius: 4px;
    font-weight: 400;
    width: 160px;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-done:hover {
    filter: brightness(1.08);
    border-color: #1e5a1e;
}
