:root{
  --fc-lr-bg: #f8fafc;
  --fc-lr-header: #0f172a;
  --fc-lr-surface-1: #ffffff;
  --fc-lr-surface-2: #f8fafc;
  --fc-lr-border: #e2e8f0;
  --fc-lr-text: #0f172a;
  --fc-lr-text-2: #334155;
  --fc-lr-muted: #64748b;
  --fc-lr-accent: #2563eb;
  --fc-lr-accent-hover: #1e40af;
  --fc-lr-accent-strong: #1d4ed8;
  --fc-lr-accent-soft: #3b82f6;
  --fc-lr-danger: #991b1b;
  --fc-lr-danger-bg: #fef2f2;
  --fc-lr-success: #065f46;
  --fc-lr-success-bg: #ecfdf5;
}

.fc-lr-wrap{
  max-width:1080px;
  margin:40px auto;
  padding:0 20px;
  color:var(--fc-lr-text-2);
  font-family: inherit;
}

.fc-lr-header-card,
.fc-lr-legal-box,
.fc-lr-form fieldset,
.fc-lr-alert,
.fc-lr-consent-box{
  background:#ffffff;
  border:1px solid var(--fc-lr-border);
  border-radius:16px;
  box-shadow:0 4px 16px rgba(15, 23, 42, 0.05);
}

.fc-lr-header-card{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-start;
  padding:28px 32px;
  margin-bottom:20px;
  flex-wrap:wrap;
  background:linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border:1px solid #e2e8f0;
}

.fc-lr-kicker{
  margin:0 0 8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--fc-lr-accent);
}

.fc-lr-header-card h1{
  margin:0 0 10px;
  font-size:clamp(26px, 3.5vw, 36px);
  font-weight:800;
  letter-spacing:-0.02em;
  line-height:1.15;
  color:var(--fc-lr-text);
}

.fc-lr-note{
  margin:0;
  color:var(--fc-lr-muted);
  font-size:14px;
}

.fc-lr-provider{
  display:grid;
  gap:6px;
  padding:16px 20px;
  background:#f8fafc;
  border:1px solid var(--fc-lr-border);
  border-radius:12px;
  min-width:280px;
}

.fc-lr-provider strong{
  font-size:16px;
  font-weight:700;
  color:var(--fc-lr-text);
}

.fc-lr-provider span{
  font-size:13px;
  color:var(--fc-lr-text-2);
}

.fc-lr-legal-box{
  padding:20px 24px;
  margin-bottom:24px;
  background:#f8fafc;
  border-left:4px solid var(--fc-lr-accent);
}

.fc-lr-legal-box p,
.fc-lr-privacy,
.fc-lr-form .description{
  color:var(--fc-lr-text-2);
  font-size:14px;
  line-height:1.6;
}

.fc-lr-legal-box p{margin:0 0 8px}
.fc-lr-legal-box p:last-child{margin-bottom:0}
.fc-lr-legal-box strong{color:var(--fc-lr-text)}

.fc-lr-grid{display:grid;gap:20px}
.fc-lr-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}

.fc-lr-form fieldset{
  padding:28px;
  border:1px solid var(--fc-lr-border);
  margin:0;
}

.fc-lr-form legend{
  font-size:18px;
  font-weight:700;
  margin-bottom:16px;
  padding:0 6px;
  color:var(--fc-lr-text);
  letter-spacing:-0.01em;
}

.fc-lr-form label{
  display:block;
  font-size:14px;
  font-weight:600;
  margin:16px 0 6px;
  color:var(--fc-lr-text);
}

.fc-lr-form input[type=text],
.fc-lr-form input[type=email],
.fc-lr-form input[type=number],
.fc-lr-form textarea,
.fc-lr-form select{
  width:100%;
  box-sizing:border-box;
  padding:12px 16px;
  border:1.5px solid #cbd5e1;
  border-radius:10px;
  background:#ffffff;
  color:var(--fc-lr-text);
  font-size:14px;
  font-family:inherit;
  transition:all .2s ease;
}

.fc-lr-form input::placeholder,
.fc-lr-form textarea::placeholder{
  color:#94a3b8;
  opacity:1;
}

.fc-lr-form input:-webkit-autofill,
.fc-lr-form input:-webkit-autofill:hover,
.fc-lr-form input:-webkit-autofill:focus,
.fc-lr-form textarea:-webkit-autofill,
.fc-lr-form textarea:-webkit-autofill:hover,
.fc-lr-form textarea:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--fc-lr-text) !important;
  caret-color:var(--fc-lr-text) !important;
  -webkit-box-shadow:0 0 0 1000px #ffffff inset !important;
  box-shadow:0 0 0 1000px #ffffff inset !important;
  transition: background-color 9999s ease-out 0s !important;
}

.fc-lr-form textarea{resize:vertical;min-height:110px}

.fc-lr-form input:focus,
.fc-lr-form textarea:focus,
.fc-lr-form select:focus{
  outline:none;
  border-color:var(--fc-lr-accent);
  box-shadow:0 0 0 3px rgba(37, 99, 235, 0.18);
  background:#ffffff;
}

.fc-lr-radio-group{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  margin-top:10px;
}

.fc-lr-radio-group label,
.fc-lr-inline-check{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:500;
  font-size:14px;
  color:var(--fc-lr-text-2);
  cursor:pointer;
}

.fc-lr-radio-group input[type="radio"],
.fc-lr-inline-check input[type="checkbox"]{
  accent-color:var(--fc-lr-accent);
  width:18px;
  height:18px;
  margin:0;
  cursor:pointer;
}

.fc-lr-consent-box{
  margin-top:20px;
  padding:20px 24px;
  background:#f8fafc;
}

.fc-lr-privacy{
  margin:10px 0 0;
  font-size:13px;
  color:var(--fc-lr-muted);
}

.fc-lr-actions{margin-top:24px;display:flex;justify-content:flex-start}

.fc-lr-btn,
.fc-lr-btn-secondary,
.fc-lr-inline-badge,
.fc-lr-floating-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border:none;
  border-radius:10px;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  transition:all .2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fc-lr-btn,
.fc-lr-btn-secondary{
  padding:14px 28px;
  background:var(--fc-lr-accent);
  color:#ffffff !important;
  box-shadow:0 4px 14px rgba(37, 99, 235, 0.28);
}

.fc-lr-btn:hover,
.fc-lr-btn-secondary:hover{
  background:var(--fc-lr-accent-hover);
  color:#ffffff !important;
  transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(30, 64, 175, 0.35);
}

.fc-lr-alert{padding:18px 20px;margin:0 0 20px}
.fc-lr-alert ul{margin:0;padding-left:20px}

.fc-lr-alert-success{
  border:1px solid #a7f3d0;
  background:var(--fc-lr-success-bg);
  color:var(--fc-lr-success);
}
.fc-lr-alert-success p{
  margin:0 0 10px;
  font-weight:600;
  color:var(--fc-lr-success);
}
.fc-lr-alert-success p:last-child{margin-bottom:0}

.fc-lr-alert-error{
  border:1px solid #fecaca;
  background:var(--fc-lr-danger-bg);
  color:var(--fc-lr-danger);
}
.fc-lr-alert-error li{
  color:var(--fc-lr-danger);
  font-weight:500;
  margin-bottom:4px;
}
.fc-lr-alert-error li:last-child{margin-bottom:0}

.fc-lr-hp{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}

.fc-lr-inline-badge,
.fc-lr-floating-badge{
  padding:12px 20px;
  background:var(--fc-lr-accent);
  color:#ffffff !important;
  border-radius:999px;
  box-shadow:0 8px 24px rgba(15, 23, 42, 0.16);
}

.fc-lr-inline-badge:hover,
.fc-lr-floating-badge:hover{
  background:var(--fc-lr-accent-hover);
  color:#ffffff !important;
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(30, 64, 175, 0.28);
}

.fc-lr-floating-badge{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:9999;
}

.fc-lr-wrap a{
  color:var(--fc-lr-accent);
  text-decoration:underline;
  transition:color .2s ease;
}

.fc-lr-wrap a:hover{
  color:var(--fc-lr-accent-hover);
}

.fc-lr-minor-fields[hidden]{display:none!important}

@media (max-width: 782px){
  .fc-lr-grid-2{grid-template-columns:1fr}
  .fc-lr-header-card{padding:20px}
  .fc-lr-form fieldset{padding:20px}
  .fc-lr-floating-badge{left:16px;right:16px;bottom:16px}
  .fc-lr-btn{width:100%}
}

@media print{
  body,
  .fc-lr-wrap{
    background:#fff !important;
    color:#0f172a !important;
  }

  .fc-lr-header-card,
  .fc-lr-legal-box,
  .fc-lr-form fieldset,
  .fc-lr-alert,
  .fc-lr-consent-box,
  .fc-lr-provider{
    background:#fff !important;
    color:#0f172a !important;
    border:1px solid #cbd5e1 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
  }

  .fc-lr-header-card h1,
  .fc-lr-form legend,
  .fc-lr-form label,
  .fc-lr-provider strong,
  .fc-lr-wrap a,
  .fc-lr-kicker{
    color:#0f172a !important;
  }

  .fc-lr-note,
  .fc-lr-provider span,
  .fc-lr-legal-box p,
  .fc-lr-privacy,
  .fc-lr-radio-group label,
  .fc-lr-inline-check{
    color:#334155 !important;
  }

  .fc-lr-form input,
  .fc-lr-form textarea,
  .fc-lr-form select{
    color:#0f172a !important;
    background:#fff !important;
    border:1px solid #cbd5e1 !important;
  }

  .fc-lr-btn,
  .fc-lr-btn-secondary,
  .fc-lr-inline-badge,
  .fc-lr-floating-badge{
    display:none !important;
  }
}
