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

body {
  background: #242222;
  font-family: Arial, Helvetica, sans-serif;
  color: whitesmoke;
  line-height: 1.5;
}

/* MAIN CONTAINER */
.container {
  width: 100%;
  max-width: 780px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 40px auto;
  background: rgb(155, 139, 225);
  padding: 20px;
  border-radius: 12px;
  gap: 15px;
}

/* TITLE */
.container h1 {
  text-align: center;
  color: #242222;
  margin-bottom: 10px;
  font-size: clamp(22px, 3vw, 32px);
}

/* DROPDOWN */
.dropdown {
  width: 100%;
}

.dropdown label {
  display: block;
  margin-bottom: 10px;
  padding-left: 4px;
  color: #1f1f1f;
  font-weight: 500;
}

.select {
  width: 100%;
  background: white;
  color: black;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.select:hover {
  border-color: #555;
}

/* FORM */
#bookmark-form {
  width: 100%;
  display: none;
  background: silver;
  padding: 15px;
  border-radius: 12px;
  color: black;
  margin-top: 10px;
}

#bookmark-form h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 10px;
}

/* INPUTS */
#bookmark-form input,
#bookmark-form textarea,
#bookmark-form button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  margin-bottom: 10px;
  font-size: 14px;
}

/* BUTTON */
#bookmark-form button {
  background: #1f7a1f;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
}

#bookmark-form button:hover {
  background: #145c14;
  transform: translateY(-2px);
}

/* BOOKMARK CONTAINER */
.bookmarks-box {
  display: none;
  width: 100%;
  margin-top: 15px;
  padding: 15px;
  border-radius: 12px;
  background-color: silver;
  text-align: center;
}

/* TITLE INSIDE BOX */
.bookmarks-box h2 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: bold;
  color: black;
}

/* SINGLE BOOKMARK CARD */
.bookmark-details {
  background: white;
  color: black;
  padding: 15px;
  margin-bottom: 12px;
  border-radius: 12px;
  text-align: left;
  transition: 0.25s ease;
}

.bookmark-details:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* LINK */
.site-title {
  font-size: 18px;
  font-weight: bold;
  display: block;
  cursor: pointer;
  margin-bottom: 5px;
  text-decoration: none;
  color: #1a1a1a;
  transition: 0.2s ease;
}

.site-title:hover {
  color: #3b3bff;
  text-decoration: underline;
}

/* DESCRIPTION */
.site-desc {
  font-size: 14px;
  opacity: 0.85;
}

/* TIMESTAMP */
.time-stamp {
  margin-top: 15px;
  font-size: 12px;
  font-style: italic;
  opacity: 0.7;
}

/* LIKE BUTTON */
.like-btn {
  margin-top: 10px;
  font-size: 14px;
  padding: 5px 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #f0f0f0;
  transition: 0.2s ease;
}

.like-btn:hover {
  background: #ddd;
  transform: scale(1.05);
}

/* ACTIONS (copy/share/delete) */
.bookmark-span {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 13px;
}

.bookmark-span span {
  color: #2b2bff;
  transition: 0.2s ease;
}

.bookmark-span span:hover {
  color: #0000aa;
  text-decoration: underline;
  transform: scale(1.05);
}
