/* Frontend Styles für IP Event Registrations */


/* =========================
   Event Anmeldung Wrapper
========================= */

.ip-event-registration {
  margin: 56px 0 32px;
}

.ip-event-registration__inner {
  max-width: 860px;
  padding: 36px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.ip-event-registration__intro {
  margin-bottom: 28px;
}

.ip-event-registration__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b5cab;
  background: rgba(11, 92, 171, 0.08);
  border-radius: 999px;
}

.ip-event-registration__title {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  color: #0f172a;
}

.ip-event-registration__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #475569;
  max-width: 700px;
}

/* =========================
   Fluent Forms im Wrapper
========================= */

.ip-event-registration .ff-default .ff-el-group,
.ip-event-registration .ff-el-group {
  margin-bottom: 18px;
}

.ip-event-registration .ff-t-cell {
  padding: 0 8px;
}

.ip-event-registration .ff-t-container {
  margin-left: -8px;
  margin-right: -8px;
}

.ip-event-registration .ff-el-input--label label,
.ip-event-registration .ff-el-form-check-label,
.ip-event-registration label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

/* Eingabefelder */
.ip-event-registration input[type="text"],
.ip-event-registration input[type="email"],
.ip-event-registration input[type="tel"],
.ip-event-registration input[type="number"],
.ip-event-registration input[type="url"],
.ip-event-registration input[type="date"],
.ip-event-registration textarea,
.ip-event-registration select,
.ip-event-registration .ff-el-form-control {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.4;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* Textarea */
.ip-event-registration textarea {
  min-height: 140px;
  resize: vertical;
}

/* Placeholder */
.ip-event-registration input::placeholder,
.ip-event-registration textarea::placeholder {
  color: #94a3b8;
}

/* Focus */
.ip-event-registration input:focus,
.ip-event-registration textarea:focus,
.ip-event-registration select:focus,
.ip-event-registration .ff-el-form-control:focus {
  outline: none;
  border-color: #0b5cab;
  box-shadow: 0 0 0 4px rgba(11, 92, 171, 0.12);
  background: #fff;
}

/* Checkbox Bereich */
.ip-event-registration .ff-el-form-check {
  margin-top: 8px;
}

.ip-event-registration .ff-el-form-check-label {
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
}

/* Submit Button */
.ip-event-registration .ff-btn-submit,
.ip-event-registration button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  background: #0b5cab;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(11, 92, 171, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.ip-event-registration .ff-btn-submit:hover,
.ip-event-registration button[type="submit"]:hover {
  background: #084b8f;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(11, 92, 171, 0.26);
}

.ip-event-registration .ff-btn-submit:active,
.ip-event-registration button[type="submit"]:active {
  transform: translateY(0);
}

/* Erfolg / Fehlermeldungen */
.ip-event-registration .ff-errors-in-stack {
  margin-bottom: 18px;
  border-radius: 14px;
}

.ip-event-registration .ff-message-success {
  border-radius: 14px;
  padding: 16px 18px;
}

/* Mobile */
@media (max-width: 767px) {
  .ip-event-registration {
    margin: 40px 0 24px;
  }

  .ip-event-registration__inner {
    padding: 22px;
    border-radius: 16px;
  }

  .ip-event-registration__title {
    font-size: 28px;
  }

  .ip-event-registration__text {
    font-size: 16px;
  }

  .ip-event-registration input[type="text"],
  .ip-event-registration input[type="email"],
  .ip-event-registration input[type="tel"],
  .ip-event-registration input[type="number"],
  .ip-event-registration input[type="url"],
  .ip-event-registration input[type="date"],
  .ip-event-registration textarea,
  .ip-event-registration select,
  .ip-event-registration .ff-el-form-control {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .ip-event-registration .ff-btn-submit,
  .ip-event-registration button[type="submit"] {
    width: 100%;
    min-height: 50px;
    border-radius: 12px;
  }
}

.event-status{
  margin-bottom:20px;
  font-size:14px;
  font-weight:500;
}

.event-status.subtle{
  color:#64748b;
}

.event-status.full{
  padding:14px 18px;
  border-radius:10px;
  background:#fdecec;
  color:#b42318;
  font-weight:600;
}

.event-capacity-status{
  margin: 10px 0 24px;
  font-size: 15px;
  font-weight: 600;
}

.event-capacity-status.free{
  color:#0b5cab;
}

.event-capacity-status.warning{
  color:#b45309;
}

.event-capacity-status.full{
  color:#b42318;
}