/*
 * Styles for the True Love Name Match plugin.
 *
 * The design focuses on fast loading and mobile responsiveness.  We reuse a
 * gentle colour palette and radial gradient background, avoid external
 * images, and use semantic class names prefixed with tl‑ to avoid
 * collisions.  The layout is single column, uses relative units, and
 * provides accessible labels and interactive states for the button.
 */

:root {
  --tl-primary: #8e24aa; /* purple shade to differentiate from other calculators */
  --tl-primary-dark: #6a1b9a;
  --tl-bg: #f9f5fc;
  --tl-text: #333;
  --tl-border-radius: 6px;
  --tl-max-width: 420px;
  --tl-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

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

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

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

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

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

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

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

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

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

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