/* ✅ Primary Button (Yellow Theme) */
button.btn {
  background: #03fcd6;
  color: #1D3557;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  border: none;
  cursor: pointer;
  width: 100%;
  display: block;
  margin-top: 10px;
}

button.btn:hover {
  background: #00D0B0;
  color: white;
}

/* 🔹 Secondary Generic Button */
.btn {
  background-color: #00D0B0;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  width: 100%;
}

.btn:hover {
  background-color: #218838;
}

/* ✅ Links Styled as Buttons */
.view-link,
.delete-link {
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
}

.view-link {
  color: #1D3557;
}

.delete-link {
  color: #D9534F;
}

.view-link:hover,
.delete-link:hover {
  text-decoration: underline;
}

/* 🔹 Close “×” Button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #555;
  transition: color 0.3s;
}

.close:hover {
  color: red;
}

/* ─── Responsive Tweaks ─────────────────────────────────────────── */

/* Tablet & small desktops */
@media (max-width: var(--bp-lg)) {
  button.btn,
  .btn {
    padding: 10px;
    font-size: 15px;
  }
  .close {
    top: 8px;
    right: 12px;
    font-size: 18px;
  }
}

/* Phablets & larger phones */
@media (max-width: var(--bp-md)) {
  button.btn,
  .btn {
    padding: 8px;
    font-size: 14px;
  }
  .close {
    top: 6px;
    right: 10px;
    font-size: 16px;
  }
}

/* Small phones */
@media (max-width: var(--bp-sm)) {
  button.btn,
  .btn {
    padding: 6px;
    font-size: 13px;
  }
  .view-link,
  .delete-link {
    font-size: 14px;
    margin-top: 6px;
  }
  .close {
    font-size: 14px;
  }
}
