/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f2f2f2;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
}

.container {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 16px;
  width: 420px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.title {
  font-size: 22px;
  margin-bottom: 25px;
  color: #222;
  font-weight: 600;
}

.input-group {
  margin-bottom: 18px;
  text-align: left;
}

.delete-btn {
  padding: 12px;
  width: 100%;
  margin-top: 10px;
  border: none;
  background-color: #f44336; /* Merah untuk tombol hapus */
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  text-decoration: none; /* Menghilangkan underline */
  box-shadow: 0 3px 10px rgba(244, 67, 54, 0.2);
}

.delete-btn:hover {
  background-color: #e53935; /* Merah lebih gelap saat hover */
}

label {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
  display: block;
}

input[type="url"],
input[type="date"],
textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 14px;
  transition: border-color 0.3s;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

input[type="url"]:focus,
input[type="date"]:focus,
textarea:focus {
  border-color: #00c8ff;
  background-color: #fff;
  outline: none;
}

button {
  padding: 12px;
  width: 100%;
  border: none;
  background-color: #00c8ff;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 200, 255, 0.2);
}

button:hover {
  background-color: #009ac0;
}

.image-preview {
  margin-top: 25px;
  display: none;
  text-align: center;
}

#previewImage {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
}
