/* ===== Search form (στο κέντρο, όπως πριν) ===== */
.orders-search{
  text-align: center;
  margin-bottom: 20px;
}
.orders-search__input{
  padding: 8px;
  width: 300px;
}
.orders-search__button{
  padding: 8px 16px;
  background-color: lightblue;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* ===== Φόρμα κατάστασης μέσα στον πίνακα ===== */
.status-form{ display: inline; }
.status-form__save{ margin-left: 5px; }

/* ===== Ετικέτες κατάστασης ===== */
.status-badge{ font-weight: 600; }
.status-pending{ color: red; }
.status-delivered{ color: green; }

/* ===== Μηνύματα & επιστροφή ===== */
.orders-empty{
  text-align: center;
  color: red;
}
.back-to-dashboard{ text-align: center; }
.back-to-dashboard__link{
  font-size: 18px;
  text-decoration: none;
}
/* =========================
   Dark mode – Orders tables (readability)
   ========================= */

/* Γενικό κείμενο μέσα στη σελίδα */
html[data-admin-theme="dark"] .dashboard-container{
  color:#e5e7eb;
}

/* Πίνακας */
html[data-admin-theme="dark"] .notifications-table{
  border-collapse:collapse;
  width:100%;
  background:#0b1220;
  border:1px solid #2b3442;
}

/* Κεφαλίδες */
html[data-admin-theme="dark"] .notifications-table th{
  background:#111827;
  color:#e7eefb;
  font-weight:700;
  border-bottom:1px solid #2b3442;
}

/* Κελιά */
html[data-admin-theme="dark"] .notifications-table td{
  color:#e5e7eb;
  border-top:1px solid #1f2937;
}

/* Εναλλαγή γραμμών για καλύτερη ανάγνωση */
html[data-admin-theme="dark"] .notifications-table tr:nth-child(even) td{
  background:#0f172a;
}
html[data-admin-theme="dark"] .notifications-table tr:nth-child(odd) td{
  background:#0b1324;
}

/* Inputs/Selects/Buttons μέσα στον πίνακα */
html[data-admin-theme="dark"] .notifications-table select,
html[data-admin-theme="dark"] .notifications-table input[type="text"],
html[data-admin-theme="dark"] .notifications-table button{
  background:#0f172a;
  color:#f1f5f9;
  border:1px solid #374151;
}
html[data-admin-theme="dark"] .notifications-table select:focus,
html[data-admin-theme="dark"] .notifications-table input[type="text"]:focus{
  outline:none;
  border-color:#22c55e;
  box-shadow:0 0 0 2px #22c55e33;
}

/* Placeholder να φαίνεται */
html[data-admin-theme="dark"] .notifications-table input::placeholder{
  color:#94a3b8;
}

/* Καλύτερα χρώματα για inline red/green (υπερισχύει του inline style) */
html[data-admin-theme="dark"] .notifications-table td span[style*="color:red"]{
  color:#f87171 !important;   /* πιο «ζωντανό» κόκκινο */
  font-weight:600;
}
html[data-admin-theme="dark"] .notifications-table td span[style*="color:green"]{
  color:#34d399 !important;   /* πιο «ζωντανό» πράσινο */
  font-weight:600;
}

/* Προαιρετικά: το "💾" button να διαβάζεται σε dark */
html[data-admin-theme="dark"] .notifications-table button[name="update_status"]{
  background:#22c55e;
  color:#03150b;
  border-color:transparent;
}

