/*------------------------------------------*/
/*------------ Header Styles ------------*/
/*------------------------------------------*/
*{
	box-sizing: border-box;
}

body{
	overflow-y: auto;
	font-family: Arial, Helvetica;
	margin: 0;
}


#header {
  position: relative;
  height: 25%;
  background-image: url("keyboard.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  overflow: hidden;

}

#header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient( ellipse at center, rgba(19,111,248, 0) 20%, rgba(19,111,248, 1) 90%);
}


#header h1 {
  margin: 0;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 1);
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  color: white;

  background-clip: text;
  -webkit-background-clip: text;
  animation: slideDown 1s ease-out forwards;
}


@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 1;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


.top {
  position: absolute;
  top: 20px;
  left: 20px;

  width: 100px;
  z-index: 3;
}

#filtercss {
	gap: 25px; 
	background-color: white; 
	height: 25%; 
	width: 100%; 
	font-size: 20px;
	margin-bottom: 0px;
	padding: 0px;
}

#filtercss h3 {
  font-size: 20px;
}


#category{
	width: 30%;
}

#subcategory{
	width: 30%;
}

#grade{
	width: 30%;
}

#SLIDERcss {
	width: 90%;
	
	
	
}

#button {
  display: flex;
  justify-content: center;
  margin-top: 0px;
  margin-bottom: 0px;
}


#button button{
	background-color:red;
	font-size: 20px;
	padding: 5px 20px;  
    cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#button button:hover {
  background-color: #ff4d4d;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

/* KOYMPI GIA EGRAFES*/
#begrafes button{
	background-color:red;
	font-size: 20px;
	padding: 10px 20px;  
    cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#begrafes button:hover {
  background-color: #ff4d4d;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}


/* KOYMPI GIA DELETES*/
#bdeletes button{
	background-color:red;
	font-size: 20px;
	padding: 10px 20px;  
    cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#bdeletes button:hover {
  background-color: #ff4d4d;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}


/* KOYMPI GIA EDITS*/
#bedits button{
	background-color:red;
	font-size: 20px;
	padding: 10px 20px;  
    cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#bedits button{
  background-color: #ff4d4d;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

/* KOYMPI GIA administrator*/
#administrator{
	background-color:red;
	font-size: 20px;
	padding: 10px 20px;  
    cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#administrator:hover{
  background-color: #ff4d4d;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

/* KOYMPI GIA logout*/
#logout{
	background-color:red;
	font-size: 20px;
	padding: 10px 20px;  
    cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#logout:hover{
  background-color: #ff4d4d;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

#egrafes {
	
	font-size: 25px;
}

#deletes {
	
	font-size: 25px;
}


#edits {
	
	font-size: 25px;
}



/*------------------------------------------*/
/*------------- Footer Styles --------------*/
/*------------------------------------------*/
#footer {
	background-color: #136FF8;
	border: solid;
	border-color: black;
	height: 70px;
	bottom: 0;left: 0;width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-shadow: 2px 2px 6px rgba(0, 0, 0, 1);
}


#footer h1 {
	
	color: white;
	font-size: 14px;
	margin: 0;
	overflow: hidden;
	
}

/* ------------------------------------------ */
/* -------- Animated Filter Dropdown --------- */
/* ------------------------------------------ */

#filter {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition: max-height 0.6s ease, opacity 0.4s ease, transform 0.4s ease;
  margin-bottom: 5px;
}

#filter.open {
  max-height: 3000px;
  opacity: 1;
  transform: translateY(0);
}


#egrafes,
#edits,
#deletes {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  margin-top: 30px;
}

#egrafes h3,
#edits h3,
#deletes h3 {
  font-size: 16px;
  font-weight: 500;
  display: grid;
  grid-template-columns: 220px auto;
  align-items: center;
  gap: 10px;

}
#egrafes input, #egrafes select,
#edits input, #edits select,
#deletes input, #deletes select {
  width: 180px;        
  padding: 4px 8px;     
  font-size: 14px;   
  height: 30px;      
  display: inline-block; 
  vertical-align: middle;
}

#egrafes h3 > input,
#egrafes h3 > select,
#edits h3 > input,
#edits h3 > select,
#deletes h3 > input,
#deletes h3 > select { /* το > επηρεαζει τα input που ειναι απευθειας μεσα σε h3, και οχι πιο μεσα (πχ αν ειχε div ενδιαμεσα) */

  margin-left: -5px; /* παει πιο αριστερα */
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
}
