/* Apply box-sizing to all elements */
* {
  box-sizing: border-box;
}

/* Style the body */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Horizontal navigation bar */
.navbar {
  overflow: hidden;
  background-color: #111;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
  display: flex;
  justify-content: flex-start; /* Ensure links are left-aligned */
  text-align: left;
}

/* Links inside the navbar */
.navbar a {
  color: white;
  padding: 16px 20px;
  text-decoration: none;
  display: block;
}

/* Hover effect */
.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Main content */
.content {
  margin-top: 60px;  /* Space for the fixed navbar */
  padding: 20px;
}


.header-content {
  padding: 20px 0;
}

.featured-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0;
}

.card {
  flex-basis: 30%;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.link {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

.link:hover {
  text-decoration: underline;
}

/* Ensure that the dataset and dashboard content is properly styled */
#pandas-source, #pandas-output, #pandas-dev-console {
  margin: 20px 0;
}

#loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  z-index: 1000;
}

/* Ensure proper button styling */
button.py-button {
  background-color: #4CAF50;
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
}

button.py-button:hover {
  background-color: #45a049;
}

/* Ensure proper input styling */
input.py-input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}