/* ----- Layout ----- */
#oeuk-job-dashboard {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: #333;
}

/* ----- Toolbar ----- */
.oeuk-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.oeuk-toolbar button {
  background: #e30613; /* OEUK red */
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.oeuk-toolbar button:hover {
  background: #b5050f;
}

/* ----- Tabs ----- */
.oeuk-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.oeuk-tabs button {
  flex: 1;
  background: #f4f4f4;
  border: 1px solid #ddd;
  padding: 0.6rem 1rem;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.oeuk-tabs button:hover {
  background: #eee;
}
.oeuk-tabs button.active {
  background: #e30613;
  border-color: #e30613;
  color: #fff;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* ----- Tab Content Containers ----- */
.oeuk-tab-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1rem;
  margin-bottom: 2rem;
}

/* ----- Map ----- */
#oeuk-map {
  height: 550px;
  border-radius: 12px;
  overflow: hidden;
}

/* ----- Chart ----- */
#oeuk-chart {
  width: 100%;
  height: 450px;
}

/* ----- Table ----- */
#oeuk-table {
  overflow-x: auto;
}
#oeuk-table-search {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 100%;
  max-width: 300px;
}
#oeuk-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
#oeuk-table th, 
#oeuk-table td {
  border-bottom: 1px solid #eee;
  padding: 0.75rem;
  text-align: left;
}
#oeuk-table th {
  background: #fafafa;
  font-weight: 600;
  cursor: pointer;
  position: sticky;
  top: 0;
}
#oeuk-table tr:hover {
  background: #f9f9f9;
}
#oeuk-pagination {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
#oeuk-pagination button {
  border: 1px solid #ddd;
  background: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}
#oeuk-pagination button:hover {
  background: #eee;
}
#oeuk-pagination button.active {
  background: #e30613;
  color: #fff;
  border-color: #e30613;
}

/* ----- Modal (Info) ----- */
.oeuk-modal { 
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0; top: 0; 
  width: 100%; height: 100%; 
  background: rgba(0,0,0,0.5);
}
.oeuk-modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 1.5rem;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  animation: fadeIn 0.3s ease;
}
.oeuk-close {
  float: right;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: bold;
  color: #999;
}
.oeuk-close:hover {
  color: #333;
}

/* ----- Animations ----- */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .oeuk-tabs { flex-direction: column; }
  .oeuk-tabs button { border-radius: 10px; }
  #oeuk-map { height: 400px; }
  #oeuk-chart { height: 300px; }
}