/*
 * Styles for the Date of Birth Love Calculator plugin.
 *
 * The design is intentionally lightweight for faster loading on mobile devices.  We
 * avoid external images and instead rely on CSS variables and simple
 * backgrounds.  Colors are chosen for good contrast and readability on a
 * variety of screens.  Inputs use native date pickers where supported, so
 * users on mobile can easily select their birth dates.  Layouts use
 * relative units and a single column to ensure content adapts smoothly to
 * different viewport widths, aligning with Google’s mobile‑first indexing
 * recommendations【115314830200348†L474-L489】.
 */

:root {
  --primary-color: #d81b60;
  --primary-dark: #ad1457;
  --bg-color: #fff7fa;
  --text-color: #333;
  --border-radius: 6px;
  --max-width: 420px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

.love-calculator-dob {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 20px;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: var(--font-family);
  color: var(--text-color);
  background-image: radial-gradient(circle at top left, #ffe6ef, #fff7fa 70%);
}

.love-heading {
  text-align: center;
  margin-bottom: 16px;
  font-size: 1.6rem;
  color: var(--primary-dark);
}

.love-instructions {
  text-align: center;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: #555;
}

.love-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.love-field label {
  font-weight: 600;
  margin-bottom: 4px;
}

.love-field input[type="date"] {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  background-color: #fff;
}

.love-button {
  display: inline-block;
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  color: #fff;
  background-color: var(--primary-color);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.love-button:hover,
.love-button:focus {
  background-color: var(--primary-dark);
}

.love-result {
  margin-top: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.5em;
}

.love-disclaimer {
  font-size: 0.8rem;
  color: #666;
  margin-top: 20px;
  text-align: center;
  line-height: 1.4;
}