:root {
  --carc-cherry: #BA0C2F;
  --carc-cherry-light: #E08994;
}

* { box-sizing: border-box; }

.carc-body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: #0B0E12;
}

.carc-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Hero panel */
.carc-hero {
  flex: 1 1 46%;
  position: relative;
  background: #0B0E12;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px;
  overflow: hidden;
  min-width: 420px;
}

.carc-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 700px at 20% 10%, rgba(186, 12, 47, 0.22), transparent 60%),
    radial-gradient(ellipse 700px 600px at 90% 90%, rgba(255, 255, 255, 0.05), transparent 60%);
}

.carc-hero-top, .carc-hero-mid, .carc-hero-footer {
  position: relative;
  z-index: 1;
}

.carc-logo {
  height: 22px;
  display: block;
  margin-bottom: 16px;
}

.carc-rule {
  height: 1px;
  width: 56px;
  background: var(--carc-cherry);
}

.carc-hero-org {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #F4F5F6;
  letter-spacing: 0.3px;
}

.carc-hero-mid { max-width: 420px; }

.carc-hero-eyebrow {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--carc-cherry);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.carc-hero-title {
  margin: 0 0 16px 0;
  font-size: 32px;
  line-height: 1.25;
  color: #F4F5F6;
  font-weight: 600;
}

.carc-hero-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #B4B9C0;
}

.carc-hero-footer {
  font-size: 12px;
  color: #6B7280;
}

/* Right panel */
.carc-panel {
  flex: 1 1 54%;
  background: #F7F7F8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.carc-card {
  width: 100%;
  max-width: 400px;
}

.carc-card-head { margin-bottom: 32px; }

.carc-card-head h2 {
  margin: 0 0 6px 0;
  font-size: 26px;
  color: #16181C;
  font-weight: 600;
}

.carc-card-sub {
  margin: 0;
  font-size: 14px;
  color: #6B7280;
}

/* Alert */
.carc-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FDECEE;
  border: 1px solid #F2B6BE;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 20px;
  animation: carc-fade-in 0.2s ease;
}

.carc-alert-success { background: #EAF6EC; border-color: #B9E3C0; }
.carc-alert-warning { background: #FDF6E3; border-color: #F0DDA0; }

.carc-alert-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--carc-cherry);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.carc-alert-text {
  font-size: 13px;
  color: #7A1120;
  line-height: 1.5;
}

/* Form */
.carc-form.carc-shake { animation: carc-shake 0.4s ease; }

.carc-field { margin-bottom: 18px; }
.carc-field-tight { margin-bottom: 10px; }

.carc-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #2B2E33;
  margin-bottom: 6px;
}

.carc-input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 6px;
  border: 1px solid #D6D9DC;
  font-size: 14px;
  color: #16181C;
  outline: none;
  background: #fff;
}

.carc-input::placeholder { color: #9AA1A9; }
.carc-input-error { border-color: var(--carc-cherry-light); }

.carc-row-end {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 22px;
}

.carc-link {
  font-size: 13px;
  color: var(--carc-cherry);
  text-decoration: none;
  font-weight: 500;
}

.carc-button {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: none;
  background: var(--carc-cherry);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.carc-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
  font-size: 12px;
  color: #9AA1A9;
}

.carc-divider::before, .carc-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E1E3E6;
}

.carc-secondary-button {
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: 6px;
  border: 1px solid #D6D9DC;
  color: #2B2E33;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
}

.carc-support {
  margin: 28px 0 0 0;
  font-size: 12px;
  color: #9AA1A9;
  text-align: center;
  line-height: 1.6;
}

.carc-info { margin-top: 20px; font-size: 13px; color: #6B7280; text-align: center; }

@keyframes carc-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@keyframes carc-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .carc-shell { flex-direction: column; }
  .carc-hero { min-width: 0; padding: 40px 32px; }
  .carc-panel { padding: 40px 24px; }
}
