

.rooming-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: clamp(26px, 3.6vw, 42px);
  position: relative;
  overflow: hidden;
  max-width: 700px;
}

.rooming-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3728fd, #e8398a, #efff4a);
}

/* Grid */
.rooming-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rooming-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rooming-form label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.rooming-form input,
.rooming-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  outline: none;
  transition: all 0.3s ease;
}

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

.rooming-form input::placeholder,
.rooming-form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.rooming-form input:focus,
.rooming-form textarea:focus {
  border-color: rgba(55, 40, 253, 0.55);
  box-shadow: 0 0 0 4px rgba(55, 40, 253, 0.15);
  background: rgba(255,255,255,0.06);
}

/* Full width */
.rooming-form .span-2 {
  grid-column: span 2;
}

/* Actions */
.rooming-form .form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.rooming-form button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rooming-form button:hover {
  background: #3728fd;
  border-color: #3728fd;
  transform: translateY(-2px);
}

.rooming-form button svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

@media (max-width: 600px) {
  .rooming-form .form-grid {
    grid-template-columns: 1fr;
  }
  .rooming-form .span-2 {
    grid-column: span 1;
  }
}

/* ---------- Envío: trampa anti-spam, avisos y estados ---------- */
.rooming-form .rm-form-trap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rooming-form .rm-form-status {
	display: none;
	margin: 0 0 18px;
	padding: 14px 16px;
	border-radius: 12px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14px;
	line-height: 1.5;
	animation: rmStatusIn 0.5s ease-out both;
}

.rooming-form .rm-form-status.is-visible { display: block; }

.rooming-form .rm-form-status.is-ok {
	background: rgba(239, 255, 74, 0.10);
	border: 1px solid rgba(239, 255, 74, 0.45);
	color: #efff4a;
}

.rooming-form .rm-form-status.is-error {
	background: rgba(232, 57, 138, 0.10);
	border: 1px solid rgba(232, 57, 138, 0.5);
	color: #ff8cc1;
}

.rooming-form .field.has-error input,
.rooming-form .field.has-error textarea {
	border-color: rgba(232, 57, 138, 0.7);
	box-shadow: 0 0 0 4px rgba(232, 57, 138, 0.12);
}

.rooming-form .field.has-error label { color: #ff8cc1; }

.rooming-form.is-sending button {
	opacity: 0.6;
	cursor: wait;
	transform: none;
}

.rooming-form button:disabled:hover {
	background: transparent;
	border-color: rgba(255,255,255,0.2);
}

@keyframes rmStatusIn {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}
