/* Apply full-page blurred background */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb') no-repeat center center fixed;
  background-size: cover;
}

/* Add an overlay so text stands out */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* dark overlay */
  backdrop-filter: blur(6px); /* blur effect */
  z-index: -1;
}

/* Main container styling */
.container {
  max-width: 600px;
  margin: 50px auto;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  color: white;
}

/* Headings */
h1 {
  text-align: center;
  margin-bottom: 20px;
}

/* Input field */
input[type="text"] {
  width: calc(100% - 110px);
  padding: 10px;
  margin-right: 10px;
  border: none;
  border-radius: 6px;
  outline: none;
}

/* Buttons */
button {
  padding: 10px 15px;
  border: none;
  background: #4cafef;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #2196f3;
}

/* Table styling */
table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.1);
}

th, td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

th {
  background: rgba(255, 255, 255, 0.2);
}

tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Edit/Delete button styles */
.action-btn {
  padding: 6px 10px;
  margin: 0 2px;
  border-radius: 4px;
  font-size: 14px;
}

.edit-btn {
  background: #ffc107;
  color: black;
}

.delete-btn {
  background: #e53935;
  color: white;
}

.edit-btn:hover {
  background: #ff9800;
}

.delete-btn:hover {
  background: #d32f2f;
}
