/*
 * RateTheReg.com – Public UI styles
 * Namespaced to avoid theme conflicts.
 */

.ratethereg-ui{max-width:860px;margin:0 auto;}

.ratethereg-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  padding:28px;
}

.ratethereg-card__title{
  margin:0 0 8px;
  font-size:32px;
  line-height:1.15;
  font-weight:800;
}

.ratethereg-card__desc{
  margin:0 0 18px;
  color:rgba(0,0,0,.65);
  font-size:15px;
  line-height:1.45;
}

.ratethereg-form{margin:0;}

.ratethereg-field{margin:0 0 16px;}

.ratethereg-label{
  display:block;
  margin:0 0 6px;
  font-weight:600;
  font-size:14px;
  color:rgba(0,0,0,.75);
}

.ratethereg-input,
.ratethereg-select,
.ratethereg-textarea{
  width:100%;
  box-sizing:border-box;
  background:#f2f4f7;
  border:1px solid rgba(0,0,0,.12);
  border-radius:10px;
  padding:12px 14px;
  font-size:16px;
  outline:none;
}

.ratethereg-textarea{min-height:140px;resize:vertical;}

.ratethereg-input:focus,
.ratethereg-select:focus,
.ratethereg-textarea:focus{
  border-color:rgba(0,0,0,.28);
  box-shadow:0 0 0 3px rgba(0,0,0,.06);
}

.ratethereg-row{display:grid;grid-template-columns:1fr;gap:14px;}
@media(min-width:720px){.ratethereg-row{grid-template-columns:1fr 1fr;}}

.ratethereg-actions{margin-top:16px;}

.ratethereg-btn{
  width:100%;
  border:0;
  border-radius:10px;
  padding:12px 16px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}

/* Let theme / WP decide button color, but keep layout */
.ratethereg-btn{background:var(--e-global-color-primary, #5b74ff);color:#fff;}
.ratethereg-btn:hover{filter:brightness(.97);}

.ratethereg-note{margin:12px 0 0;color:rgba(0,0,0,.65);font-size:13px;}

.ratethereg-message{margin-top:12px;font-size:14px;}

/* Auth tabs */
.ratethereg-tabs{display:flex;gap:10px;margin:16px 0 18px;}
.ratethereg-tab{
  flex:1;
  border:1px solid rgba(0,0,0,.12);
  background:#f6f7f9;
  color:rgba(0,0,0,.75);
  border-radius:10px;
  padding:10px 12px;
  font-weight:800;
  cursor:pointer;
}
.ratethereg-tab.is-active{background:#111827;color:#fff;border-color:#111827;}
.ratethereg-pane{display:none;}
.ratethereg-pane.is-active{display:block;}

.ratethereg-field--inline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.ratethereg-checkbox{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:14px;color:rgba(0,0,0,.75);}
.ratethereg-link{font-size:14px;text-decoration:none;color:var(--e-global-color-primary, #5b74ff);font-weight:700;}
.ratethereg-link:hover{text-decoration:underline;}

.ratethereg-message--error{padding:10px 12px;border-radius:10px;background:#fef2f2;border:1px solid rgba(220,38,38,.25);color:#991b1b;}
.ratethereg-message--success{padding:10px 12px;border-radius:10px;background:#ecfdf5;border:1px solid rgba(16,185,129,.25);color:#065f46;}

/* Link styled as button (used for logout and login/register link panels) */
.ratethereg-btn--link{display:inline-block;text-align:center;text-decoration:none;line-height:1;}

/* Make the Turnstile widget sit nicely */
.ratethereg-turnstile{margin:10px 0 0;}
