
/* Base styles - Mobile First */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 1rem;
}

form {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input, select, button {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button {
  background-color: #0078d4;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #005a9e;
}

.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #fff;
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f0f0f0;
  font-weight: bold;
}

.row-actions {
  display: flex;
  gap: 0.5rem;
}

footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: #777;
}

/* Media Queries */
@media (min-width: 600px) {
  form {
    padding: 2rem;
  }

  .row-actions {
    justify-content: flex-end;
  }

  input, select, button {
    width: auto;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 2rem;
  }

  label {
    font-size: 1rem;
  }

  input, select, button {
    font-size: 1rem;
  }
}
