/* assets/css/trial.css */
.trial-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  z-index: 1000;
}
.trial-popup,
.trial-form {
  width: 90%;
  max-width: 750px;
  margin: auto;  
  padding: 4rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  position: relative;
}
.trial-popup {
    width: 90%;
}
.trial-form {
    min-width: 50vw;
}
.trial-popup h2 {
  margin-top: 0;
  font-size: 1.5rem;
}
.trial-cta-text {
    font-weight: 500;
    margin-bottom: 1rem;
}
.trial-popup p {
  margin: 0.5em 0;
  font-style: normal;
}
.trial-popup a.centered {
  display: inline-block;
  margin-top: 1em;
}
.trial-form label {
  display: block;
  text-align: left;
  margin-bottom: 1em;
}
.trial-form input[type="text"],
.trial-form input[type="email"],
.trial-form input[type="phone"],
.trial-form input[type="password"] {
  width: 100%;
  padding: 0.5em;
  border: 1px solid #999;
  border-radius: 4px;
  margin-top: 0.25em;
}
.trial-form button[type="submit"] {
  background: var(--brand);
  color: var(--primary-bg);
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
.trial-form button[type="submit"]:hover {
    background: var(--alt-brand);
    color: var(--headings);
}
.trial-close {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: var(--brand);
  color: var(--primary-bg);
}
.trial-popup .trial-close,
.trial-form .trial-close {
    color: var(--primary-bg);
}
.trial-close:hover {
    background: var(--alt-brand);
    color: var(--headings);
}
.trial-error {
  color: #a94442;
  font-size: 0.9rem;
  margin-bottom: 1em;
}