/* בסיס כללי */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #121212;
  color: #e0e0e0;
  line-height: 1.6;
}

/* כותרת */
h1 {
  text-align: center;
  margin: 20px 0;
  font-size: 2rem;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 255, 200, 0.4);
}

/* שורת סינון */
#filters {
  width: 95%;
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#filters input {
  background: #1f1f1f;
  color: #e0e0e0;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 6px 10px;
  flex: 1;
  min-width: 120px;
  transition: border 0.2s ease;
}

#filters input:focus {
  outline: none;
  border: 1px solid #00ffc8;
}

/* טבלה */
table.dataTable {
  width: 95%;
  margin: 20px auto;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(30, 30, 30, 0.85);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

/* כותרות טבלה */
table.dataTable thead th {
  background: #1f1f1f;
  color: #00ffc8;
  font-weight: bold;
  padding: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #00ffc8;
}

/* שורות */
table.dataTable tbody tr {
  background: #1a1a1a;
  transition: background 0.2s ease;
}

table.dataTable tbody tr:nth-child(even) {
  background: #161616;
}

table.dataTable tbody tr:hover {
  background: #262626;
}

/* תאים */
table.dataTable td {
  padding: 10px;
  border-bottom: 1px solid #333;
}

/* כפתורים (DataTables export/print) */
button, .dt-button {
  background: linear-gradient(135deg, #00ffc8, #00aaff);
  border: none;
  color: #121212;
  padding: 8px 14px;
  margin: 4px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover, .dt-button:hover {
  background: linear-gradient(135deg, #00aaff, #00ffc8);
  transform: scale(1.05);
}

/* צבעים לנרות */
.green { color: #4caf50; font-weight: bold; }
.red { color: #f44336; font-weight: bold; }
.yellow { color: #ffeb3b; font-weight: bold; }
.purple { color: #ba68c8; font-weight: bold; }

/* סימון מניות */
.markRow:checked {
  accent-color: #00ffc8;
}

/* עיצוב לכפתורי Reset ו-Clear */
#actions button {
  margin-left: 8px;
}

#clearMarks {
  background: linear-gradient(135deg, #ff4e50, #f9d423);
  color: #121212;
}
#clearMarks:hover {
  background: linear-gradient(135deg, #f9d423, #ff4e50);
}

/* עיצוב לעמודת Avg Volume */
table.dataTable td:nth-child(6) {
  font-weight: bold;
  color: #00ffc8;
}

#lastUpdate {
  font-size: 1.1rem;
  margin-top: -10px;
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(0, 255, 200, 0.4);
}