body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
form {
  background-color: #ffffff;
  padding: 20px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  max-width: 650px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  z-index: 1;
}


h2 {
  font-size: 32px;
  text-align: center;
  margin: 30px 0 10px;
  color: #6c63ff;
  font-weight: 700;
  letter-spacing: 1px;
  /* font-family: 'Arvo', serif; */
  text-shadow: 1px 1px 2px rgba(108, 99, 255, 0.2);
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #6c63ff;
  margin: 10px auto 0;
  border-radius: 5px;
}


label {
  display: block;
  margin-top: 20px;
  font-weight: 600;
  font-size: 15px;
  color: #444;
}

/* Custom file input */
input[type="file"] {
  display: none;
}

.custom-file-upload {
  display: inline-block;
  text-align: center;
  width: fit-content;
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #6c63ff;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.custom-file-upload:hover {
  background-color: #574fd6;
}

/* Quill Editor */
#editor {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 5px;
  margin-top: 5px;
  min-height: 150px;
}

#toolbar {
  border: 1px solid #ccc;
  border-radius: 6px 6px 0 0;
  padding: 8px;
  background-color: #f7f7f7;
  margin-top: 10px;
}

.ql-editor {
  padding: 4px 6px;
}

/* Submit Button */
button[type="submit"] {
  margin-top: 25px;
  padding: 12px 20px;
  width: 100%;
  border: none;
  background-color: #00b894;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #019870;
}

button[type="submit"].btn {
  all: unset;
  display: block;
  width: 100%;
}

@media (max-width: 768px) {
  form {
    padding: 25px;
    margin: 20px;
  }
}

input[type="text"],
input[type="url"],input[type="email"],input[type="password"],input[type="number"],input[type="date"]{
  width: 100%;
  padding: 10px 15px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
select {
  width: 100%;
  padding: 10px 15px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  color: #333;
  appearance: none; /* Removes default arrow styling in most browsers */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath fill='%236c63ff' d='M7 10L0 0h14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
  cursor: pointer;
}

/* select:focus {
  border-color: #6c63ff;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
  outline: none;
} */

.tag-pill {
  display: inline-flex;
  align-items: center;
  background-color: #e1ecf4;
  color: #0366d6;
  padding: 5px 10px;
  border-radius: 20px;
  margin: 4px;
  font-size: 14px;
  position: relative;
  transition: background 0.2s;
}

.tag-pill:hover {
  background-color: #d0e3f3;
}

.tag-pill .remove-tag {
  background: none;
  border: none;
  color: #0366d6;
  font-weight: bold;
  font-size: 16px;
  margin-left: 8px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.tag-pill .remove-tag:hover {
  color: #c00;
}
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.checkbox-wrapper label {
  margin-bottom: 0;
  font-weight: 500;
  color: #333;
  font-size: 16px;
}
