@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Pacifico&family=Lora:wght@400;500&display=swap');

body {
  font-family: 'Lora', serif;
  background: linear-gradient(135deg, #fff5f7 0%, #ffe0ed 100%);
  color: #4a3a3a;
  margin: 0;
  padding: 20px;
  min-height: 100vh;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

h1 {
  margin-top: 0;
  font-family: 'Pacifico','Playfair Display', serif;
  font-size: 2.5em;
  color: #c1466b;
  text-align: center;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(255, 192, 203, 0.3);
}

.hero {
  background: linear-gradient(135deg, rgba(216, 90, 140, 0.1) 0%, rgba(255, 192, 203, 0.15) 100%);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 24px;
  border: 2px solid rgba(244, 199, 217, 0.6);
  text-align: center;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.8em;
  color: #d85a8c;
  margin: 0 0 12px 0;
  font-weight: 600;
}

.hero p {
  font-size: 16px;
  color: #6b5555;
  line-height: 1.6;
  margin: 0 0 18px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.hero-features li {
  font-size: 15px;
  color: #5a3a3a;
  font-weight: 500;
  padding: 8px;
}

h2 {
  font-family: 'Playfair Display', serif;
  color: #d85a8c;
  font-size: 1.5em;
  border-bottom: 2px solid #f4c7d9;
  padding-bottom: 8px;
}

.panel {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(193, 70, 107, 0.15);
  margin-bottom: 20px;
  border: 1px solid rgba(244, 199, 217, 0.5);
  backdrop-filter: blur(10px);
}

textarea {
  width: 100%;
  height: 150px;
  padding: 12px;
  font-size: 14px;
  font-family: 'Lora', serif;
  border: 2px solid #f4c7d9;
  border-radius: 8px;
  color: #4a3a3a;
  background: rgba(255, 240, 245, 0.6);
}

textarea:focus {
  outline: none;
  border-color: #d85a8c;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(216, 90, 140, 0.1);
}

.row {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.row.small {
  font-size: 13px;
  color: #8b6b6b;
}

select, input[type="number"], input[type="text"] {
  padding: 10px 12px;
  font-size: 14px;
  border: 2px solid #f4c7d9;
  border-radius: 8px;
  font-family: 'Lora', serif;
  color: #4a3a3a;
  background: rgba(255, 240, 245, 0.6);
}

select:focus, input[type="number"]:focus, input[type="text"]:focus {
  outline: none;
  border-color: #d85a8c;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(216, 90, 140, 0.1);
}

button {
  cursor: pointer;
  background: linear-gradient(135deg, #d85a8c 0%, #c1466b 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-family: 'Lora', serif;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(216, 90, 140, 0.3);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 90, 140, 0.4);
  background: linear-gradient(135deg, #c1466b 0%, #a83a5a 100%);
}

button:active {
  transform: translateY(0);
}

button.secondary {
  background: rgba(244, 199, 217, 0.4);
  color: #c1466b;
  box-shadow: 0 2px 8px rgba(244, 199, 217, 0.3);
}

button.secondary:hover {
  background: rgba(244, 199, 217, 0.6);
  box-shadow: 0 4px 12px rgba(244, 199, 217, 0.5);
}

#resultArea {
  min-height: 60px;
}

.tableCard {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 240, 245, 0.8));
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 15px rgba(193, 70, 107, 0.12);
  margin: 10px;
  border: 2px solid #f4c7d9;
  transition: all 0.3s ease;
}

.tableCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(193, 70, 107, 0.2);
  border-color: #d85a8c;
}

.tablesWrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tableCard h3 {
  margin: 0 0 10px 0;
  font-family: 'Playfair Display', serif;
  color: #d85a8c;
  font-size: 1.3em;
}

.unplaced {
  color: #e85d75;
  font-weight: 600;
  background: rgba(232, 93, 117, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}