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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #ffe6f0;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px;
}

.app-container {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 700px;
  text-align: center;
}

h1 {
  color: #ff6600;
  margin-bottom: 25px;
  font-size: 2rem;
}

.input-container,
.filter-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

input, select {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

input:focus, select:focus {
  outline: none;
  border-color: #ff6600;
}

button#add-bookmark {
  background-color: #ff6600;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.2s;
}

button#add-bookmark:hover {
  background-color: #e65c00;
  transform: scale(1.05);
}

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

#bookmark-list li {
  background-color: #ffe6f0;
  padding: 14px 16px;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: grab;
  transition: transform 0.2s, box-shadow 0.2s;
}

#bookmark-list li:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.bookmark-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#bookmark-list a {
  color: #ff6600;
  text-decoration: none;
  font-weight: 600;
}

#bookmark-list a:hover {
  text-decoration: underline;
}

.bookmark-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bookmark-tags span {
  background-color: #ffb3b3;
  color: #ff3300;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 0.7rem;
}

#bookmark-list button {
  background-color: #ff3366;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  color: white;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

#bookmark-list button:hover {
  background-color: #e62e5c;
  transform: scale(1.05);
}

.filter-tags,
.filter-category {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-label {
  font-weight: bold;
  color: #ff6600;
}

#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.toast {
  background-color: #ff6600;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
  #bookmark-list li {
    flex-direction: column;
    align-items: flex-start;
  }
  #bookmark-list button {
    margin-top: 8px;
  }
}
