html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Mulish', sans-serif;
  background-color: #f7f5f2;
  color: #2a2a2a;
  display: flex;
  flex-direction: column;
}

.wrapper {
  flex: 1;
  padding: 2rem 1rem 0rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.brand-title {
  font-family: 'Raleway', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #3b302a;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeSlideIn 0.8s ease-out forwards;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-title:hover {
  letter-spacing: 1.5px;
  color: #5a453b;
}

.brand-title::after {
  content: '';
  display: block;
  height: 3px;
  width: 60px;
  margin: 0.5rem auto 0;
  background-color: #c5b6a6;
  border-radius: 2px;
}

.tagline {
  font-size: 1rem;
  color: #888;
  margin-top: 0;
  display: block;
  font-weight: 400;
}

form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 2rem auto;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeForm 1s ease-out 0.4s forwards;
}

@keyframes fadeForm {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

form input {
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  width: 160px;
  transition: border-color 0.3s ease;
  font-family: 'Mulish', sans-serif;
}

form input:focus {
  outline: none;
  border-color: #3b302a;
}

form input::placeholder {
  color: #aaa;
}

form button {
  background-color: #3b302a;
  font-size: 0.95rem;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #251d18;
}

#sweetTable {
  display: none;
  margin-top: 1rem;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  margin-top: 3rem;
  color: #443a33;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  height: 3px;
  width: 60%;
  background: #c5b6a6;
  margin: 0.3rem auto 0;
  border-radius: 2px;
}

table {
  width: 90%;
  max-width: 850px;
  margin: 2rem auto;
  border-collapse: collapse;
  background-color: #fff;
  border: 1px solid #e6e1db;
}

th, td {
  padding: 0.8rem;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 1rem;
}

th {
  background-color: #f2ede6;
  color: #3b302a;
  font-weight: 600;
}

.delete-btn {
  background: none;
  border: none;
  color: #9a3b3b;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  transition: color 0.2s ease, transform 0.2s ease;
  font-family: 'Mulish', sans-serif;
}

.delete-btn:hover {
  color: #742020;
  transform: scale(1.05);
  text-decoration: underline;
}

footer {
  padding: 1rem;
  font-size: 0.9rem;
  text-align: center;
  background-color: #f2ede6;
  color: #666;
  border-top: 1px solid #ddd;
}

footer a {
    color: #443a33;
    font-style: italic;
}

footer a:hover{
    color: #251d18;
}
