/* ===== Βάση ===== */
body{
  background-color:#000;
  font-family: Tahoma;
}

/* ===== Πράσινη κινούμενη λωρίδα (όπως πριν) ===== */
.moving-highlight-bar{
  position: sticky;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 30px;
  background: linear-gradient(90deg, #00ff00, #004400, #00ff00);
  background-size: 200% 100%;
  animation: slideHighlight 3s linear infinite;
  box-shadow: 0 0 20px #00ff00;
}
@keyframes slideHighlight{
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== Home (🏠) – τέρμα δεξιά, μικρή σταθερή επιφάνεια κλικ ===== */
.home-link{
  position: fixed;
  top: 10px;
  right: 10px;              /* τέρμα δεξιά */
  z-index: 100;
  display:flex;
  align-items:center;
  justify-content:center;
  width: 42px;
  height: 42px;
  line-height: 1;
  font-size: 24px;
  text-decoration: none;
  pointer-events:auto;
}

/* ===== Theme toggle – αριστερά από το 🏠, πάνω απ’ αυτό για να μην καλύπτεται ===== */
.theme-toggle{
  position: fixed;
  top: 10px;
  right: 60px;              /* λίγο αριστερά από το home */
  z-index: 101;             /* πάνω από το home-link, δεν επικαλύπτεται */
  width: 40px;
  height: 40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  line-height:1;
}

/* ===== Τίτλος ===== */
.page-title{
  text-align: center;
  font-size: 24px;
  color: #e5e7eb;
  margin: 18px 0;
}

/* ===== Πίνακας ===== */
.admin-table{
  width: 95%;
  margin: 0 auto 16px;
  border-collapse: collapse;
  table-layout: auto;
  background-color: #fff;
}
.admin-table th{
  background-color: #ffd700;
  padding: 10px 12px;
  text-align: center;
}
.admin-table td{
  border: 1px solid #ddd;
  padding: 8px 12px;
}

/* Στήλη «Ενέργεια» αρκετά φαρδιά για μεγάλα κουμπιά */
.admin-table th:last-child,
.admin-table td:last-child{
  width: 140px;             /* φάρδος για 64px buttons κάθετα */
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}

/* ===== Κουμπιά ενεργειών (ΜΕΓΑΛΑ όπως πριν) ===== */
.action-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 64px;              /* μεγάλο */
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  color:#fff;
  font-size: 26px;
  cursor:pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  transition: transform .12s ease, filter .18s ease;
}
.delete-btn{ background:#ef4444; }  /* ❌ */
#update-btn{ background:#f59e0b; }  /* ✏️ */
#insert-btn{ background:#22c55e; }  /* ➕ */

.action-btn:hover{ filter:brightness(1.07); }
.action-btn:active{ transform: translateY(1px); }

/* Τα κουμπιά της ΤΕΛΕΥΤΑΙΑΣ γραμμής: κάθετα, με κενό */
.admin-table tr:last-child td:last-child{
  display:flex;
  flex-direction: column;   /* κάτω το ένα από το άλλο */
  align-items:center;
  gap:14px;
}

/* ===== Inputs της τελευταίας γραμμής (όπως είχες το σκούρο) ===== */
input[type="text"]{
  width: 100%;
  box-sizing: border-box;
  background-color: #0f172a;  /* σκούρο μπλε */
  color:#e5e7eb;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #1f2937;
}

/* ===== Προαιρετικό banner κειμένου (αν το χρησιμοποιείς) ===== */
.moving-highlight{
  width: 100%;
  padding: 15px 0;
  background: linear-gradient(90deg, #00ff00, #004400);
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  animation: moveRight 5s linear infinite;
  box-shadow: 0 0 10px #00ff00;
}
@keyframes moveRight{
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ===== Κουμπί «Επιστροφή» (αν το χρησιμοποιείς) ===== */
.page-actions{
  display:flex;
  justify-content:center;
  margin: 24px 0 12px;
}
.btn-return{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:12px 22px;
  background:#f59e0b;
  color:#111827;
  text-decoration:none;
  font-weight:700;
  border-radius:12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .12s ease, filter .2s ease;
}
.btn-return:hover{ filter:brightness(1.05); }
.btn-return:active{ transform: translateY(1px); }

