* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #e4cfec;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.app {
  width: 100%;
  max-width: 700px;
}

.head {
  background-color: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.head h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #222;
}

.input-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.input-box input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
}

.input-box input:focus {
  border-color: #555;
}

.input-box button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: #222;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.input-box button:hover {
  background-color: #444;
}

.bookmark-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bookmark-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background-color: #e6b8ec;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 15px;
  flex-wrap: wrap;
}

.bookmark-name {
  font-weight: bold;
  color: #222;
  flex: 1;
}

.bookmark-url {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

.bookmark-url:hover {
  text-decoration: underline;
}

.actions {
  display: flex;
  gap: 8px;
}

.edit-btn,
.delete-btn {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}

.edit-btn {
  background-color: #007bff;
}

.edit-btn:hover {
  background-color: #005ecb;
}

.delete-btn {
  background-color: #cb5454;
}

.delete-btn:hover {
  background-color: #e61515;
}
