/*
 * Styles for the Love Calculator by Age plugin.
 *
 * The design is kept simple and lightweight to ensure fast loading on
 * mobile devices.  We use a cool blue colour palette to differentiate
 * the age calculator from the other tools.  The layout uses a single
 * responsive column, accessible labels, and clearly styled inputs and
 * buttons.  A gentle radial gradient provides visual interest without
 * requiring external images.
 */

:root {
  --lc-primary: #0277bd; /* blue */
  --lc-primary-dark: #01579b;
  --lc-bg: #f0f8fd;
  --lc-text: #333;
  --lc-border-radius: 6px;
  --lc-max-width: 420px;
  --lc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

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

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

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

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

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

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

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

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

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

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