:root{
  --text:#ffffff;
  --error:#ff4d4d;
}

*{ box-sizing:border-box; margin:0; padding:0; }

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg-body-main);
  color: var(--text);
}

.page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}

.hero{
  width:100%;
  max-width:520px;
}

.card{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  padding: 18px;
}

.head{
  display:flex;
  align-items:center;
  gap:12px;
}

.head-text{
  flex:1;
  text-align:center;
}

.head-text h1{
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .5px;
}

.head-text p{
  margin-top:6px;
  font-size: 12px;
  opacity: .85;
}

.icon-circle{
  width:44px;
  height:44px;
  border-radius:999px;
  display:grid;
  place-items:center;
  text-decoration:none;
  color:#fff;
  background: rgba(255,255,255,.10);
  border:1px solid var(--bg-back-border);
  transition: transform .18s ease, filter .18s ease;
}

.icon-circle:hover{
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.icon-circle:active{ transform: scale(.98); }

.pill{
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  background: rgba(242,176,32,.22);
  color:#fff;
  white-space:nowrap;
}

.divider{
  height:1px;
  width:100%;
  background: rgba(255,255,255,.12);
  margin:14px 0 12px;
}

.panel{
  padding:14px;
  border-radius:18px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  margin-top:12px;
}

.panel-title{
  font-size:14px;
  font-weight:900;
}

.hint{
  margin-top:6px;
  font-size:12px;
  opacity:.85;
}

.hint.small{
  font-size:12px;
  opacity:.8;
}

.field{ margin-top:12px; }

label{
  display:block;
  margin-bottom:10px;
  font-size:13px;
  font-weight:700;
  opacity:.9;
}

input[type=text],
input[type=email],
textarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color:#fff;
  outline:none;
  transition: box-shadow .15s ease, border-color .15s ease, filter .15s ease;
}

textarea{ resize: vertical; min-height: 120px; }

input:focus, textarea:focus{
  border-color: rgba(242,176,32,.65);
  box-shadow: 0 0 0 4px rgba(242,176,32,.18);
  filter: brightness(1.03);
}

.field-row{
  margin-top:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.counter{
  font-size:12px;
  opacity:.85;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

.error{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,77,77,.10);
  border: 1px solid rgba(255,77,77,.25);
  color: #ffd0d0;
  font-size:13px;
  font-weight:700;
}

.rating{
  margin-top:12px;
  display:flex;
  gap:10px;
  justify-content:center;
}

.star{
  width:50px;
  height:50px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  cursor:pointer;
  display:grid;
  place-items:center;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.star i{
  font-size:20px;
  color: rgba(255,255,255,.55);
  transition: color .12s ease, transform .12s ease;
  line-height:1;
  display:block;
}

.star:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.star:active{ transform: scale(.98); }

.star.is-on i{
  color: var(--gold-2);
  transform: scale(1.05);
}

.rating-label{
  margin-top:10px;
  text-align:center;
  font-weight:900;
  font-size:12px;
  opacity:.9;
}

.actions{
  margin-top:14px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding:14px 16px;
  border-radius:999px;
  border:none;
  cursor:pointer;

  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;

  background: var(--bg-action-primary);
  color:#111;

  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  transition: transform .12s ease, filter .12s ease, opacity .12s ease;
  min-height: 52px;
}

.btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn:active{ transform: scale(.98); }

.btn:disabled{
  cursor:not-allowed;
  opacity:.9;
}

.btn.ghost{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  box-shadow:none;
}

.btn.ghost:hover{ filter: brightness(1.06); }

.btn__content{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:220px;
}

.btn__text{
  line-height:1;
}

.btn__icon,
.btn__spinner,
.btn__check{
  flex-shrink:0;
}

.btn__spinner,
.btn__check{
  display:none;
}

.btn.is-loading .btn__spinner{
  display:inline-block;
}

.btn.is-loading .btn__icon{
  display:none;
}

.btn.is-success .btn__check{
  display:inline-block;
}

.btn.is-success .btn__icon{
  display:none;
}

.btn__spinner{
  width:18px;
  height:18px;
  border:2.5px solid rgba(17,17,17,.25);
  border-top-color:#111;
  border-radius:50%;
  animation: btn-spin .75s linear infinite;
}

.btn__check{
  font-size:18px;
  font-weight:900;
  line-height:1;
}

@keyframes btn-spin{
  to{ transform: rotate(360deg); }
}

.foot{
  margin-top:14px;
  text-align:center;
  font-size:12px;
  opacity:.85;
  line-height:1.4;
}

/* Grid */
.grid.two{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top:12px;
}

@media (max-width:520px){
  .grid.two{
    grid-template-columns: 1fr;
  }
  .star{
    width:46px;
    height:46px;
  }
}

/* Toastr (para que combine) */
#toast-container > div{
  border-radius:14px !important;
  box-shadow:0 16px 40px rgba(0,0,0,.45) !important;
  opacity:1 !important;
}
