
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card-do,
.feature-card-dont {
  animation: fadeInUp 0.6s ease-out;
}

.feature-card-do {
  animation-delay: 0.2s;
}

.feature-card-dont {
  animation-delay: 0.4s;
}

.feature-card-do:hover {
  border-color: rgba(34, 197, 94, 0.3);
}

.feature-card-dont:hover {
  border-color: rgba(239, 68, 68, 0.3);
}

.step-1b-intro {
  animation: fadeInUp 0.6s ease-out;
}
:root {
  --reptax-red: #dc2626;
}

.border-reptax-red { border-color: var(--reptax-red); }
.bg-reptax-red { background-color: var(--reptax-red); }

.avatar-option-step1 {
  border: 3px solid #e2e8f0;
  background: white;
}

/* Let clicks pass through image to parent so Stimulus click handler always fires */
.avatar-option-step1 .avatar-emotion-image {
  pointer-events: none;
  user-select: none;
}

.avatar-option-step1:hover {
  border-color: var(--reptax-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.avatar-option-step1.selected {
  border-color: var(--reptax-red) !important;
  border-width: 3px !important;
  background: rgba(220, 38, 38, 0.08) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25), 0 4px 12px rgba(220, 38, 38, 0.2) !important;
}

/* Badge "Selected" visible only when the option is selected */
.avatar-option-step1 .avatar-selected-badge {
  display: none;
}
.avatar-option-step1.selected .avatar-selected-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.personality-option-step1 {
  border-color: #e2e8f0;
  background: white;
}

.personality-option-step1:hover {
  border-color: var(--reptax-red);
  background: rgba(220, 38, 38, 0.03);
}

.personality-option-step1.selected {
  border-color: var(--reptax-red);
  background: rgba(220, 38, 38, 0.05);
}

.personality-radio-step1 {
  border-color: #cbd5e0;
}

.personality-option-step1.selected .personality-radio-step1 {
  border-color: var(--reptax-red);
}

.emotion-option-step1 {
  opacity: 0.6;
}

.emotion-option-step1:hover {
  opacity: 1;
  background: rgba(220, 38, 38, 0.1);
}

.emotion-option-step1.selected {
  opacity: 1;
  background: rgba(220, 38, 38, 0.15);
}

.emotion-option-step1--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.emotion-option-step1--disabled:hover {
  opacity: 0.4;
  background: transparent;
}

/* Step 1 tabs: active tab (selected state visible); darker hover */
a.avatar-wizard-tab-active:hover {
  background-color: #c62222 !important;
  border-color: #c62222 !important;
  color: #ffffff !important;
}
.household-income-summary-card {
  margin-bottom: 1.5rem;
}

.household-income-summary-card svg,
.household-income-summary-card .lucide {
  display: block;
  flex-shrink: 0;
}

.household-income-summary-panel {
  background: #1a365d;
  color: #ffffff;
  padding: 1.25rem 1.25rem 1.125rem;
}

@media (min-width: 640px) {
  .household-income-summary-panel {
    padding: 1.5rem 1.5rem 1.25rem;
  }
}

.household-income-summary-panel .summary-heading-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.125rem;
}

.household-summary-header-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: linear-gradient(145deg, #3b82f6 0%, #6366f1 55%, #8b5cf6 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.household-summary-header-icon-wrap svg {
  width: 1.125rem !important;
  height: 1.125rem !important;
  stroke: currentColor;
  stroke-width: 2.25px;
}

.household-summary-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
}

.household-income-summary-panel .summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .household-income-summary-panel .summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.household-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.household-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.375rem 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #ffffff;
}

.household-summary-line-label {
  color: #e2e8f0;
  padding-right: 0.5rem;
}

.household-summary-line-amount {
  text-align: right;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}

.household-income-summary-panel .household-summary-line--w2 .household-summary-line-label {
  color: #d8b4fe;
}

.household-income-summary-panel .household-summary-line--w2 .household-summary-line-amount {
  color: #f5f3ff;
}

.household-income-summary-panel .household-summary-line--rental .household-summary-line-label {
  color: #7dd3fc;
}

.household-income-summary-panel .household-summary-line--rental .household-summary-line-amount {
  color: #e0f2fe;
}

.household-income-summary-panel .household-summary-line--rental .summary-label-sub {
  color: #93c5fd;
}

.household-income-summary-panel .summary-tracked-row {
  color: #68d391;
}

.household-income-summary-panel .summary-tracked-row .household-summary-line-label {
  color: #68d391;
}

.household-income-summary-panel .household-summary-line--rental.summary-tracked-row .household-summary-line-label {
  color: #68d391;
}

.household-income-summary-panel .summary-tracked-amount {
  color: #a0aec0 !important;
  text-decoration: line-through;
  font-weight: 500;
}

.household-income-summary-panel .summary-empty {
  color: #a0aec0;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.household-income-summary-panel .summary-divider {
  border-top: 1px solid #4a5568;
  margin-top: 0.625rem;
  padding-top: 0.75rem;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.household-summary-total-label {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #ffffff;
}

.household-summary-total-label--wh {
  font-weight: 600;
  font-size: 0.875rem;
}

.household-summary-total-value {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.household-summary-total-value--income {
  font-size: 1.125rem;
}

.household-summary-lucide-icon {
  width: 1rem;
  height: 1rem;
}
/* Devise registration page - styles moved out of view (Hotwire/Stimulus) */

:root {
  --reptax-primary: #B72024;
  --reptax-secondary: #F2E761;
  --reptax-dark: #1A1A1A;
  --reptax-light: #FEF2F2;
  --reptax-red: #DC2626;
  --reptax-red-light: #EF4444;
  --reptax-red-dark: #B91C1C;
}

.bg-reptax-primary { background-color: var(--reptax-primary); }
.text-reptax-primary { color: var(--reptax-primary); }
.border-reptax-primary { border-color: var(--reptax-primary); }
.bg-reptax-light { background-color: var(--reptax-light); }
.bg-reptax-dark { background-color: var(--reptax-dark); }
.from-reptax-light\/50 { --tw-gradient-from: rgba(254, 242, 242, 0.5); }
.from-reptax-primary { --tw-gradient-from: var(--reptax-primary); }
.to-reptax-secondary { --tw-gradient-to: var(--reptax-secondary); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-transparent { color: transparent; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.backdrop-blur { backdrop-filter: blur(8px); }
.icon-check::before { content: "✅"; font-size: 1rem; }
.icon-arrow::before { content: "→"; font-size: 1rem; }

.modern-bg {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(220, 38, 38, 0.05) 50%,
    rgba(239, 68, 68, 0.03) 75%,
    rgba(255, 255, 255, 0.08) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 4px 16px rgba(220, 38, 38, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.form-input {
  width: 100%;
  height: 52px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-input:focus {
  outline: none;
  border-color: var(--reptax-red);
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 4px rgba(220, 38, 38, 0.15),
    0 4px 20px rgba(220, 38, 38, 0.1);
  transform: translateY(-1px);
}

.form-input.error {
  border-color: #ef4444;
  background: rgba(254, 242, 242, 0.9);
}

.form-input.success {
  border-color: #10b981;
  background: rgba(240, 253, 244, 0.9);
}

.form-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: rgba(31, 41, 55, 0.9);
  margin-bottom: 8px;
  display: block;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.btn-primary-enhanced {
  width: 100%;
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  color: white;
  padding: 16px 24px;
  border-radius: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  border: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 25px rgba(220, 38, 38, 0.3),
    0 4px 12px rgba(220, 38, 38, 0.2);
}

.btn-primary-enhanced:hover {
  background: linear-gradient(135deg, #B91C1C 0%, #DC2626 100%);
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(220, 38, 38, 0.4),
    0 6px 16px rgba(220, 38, 38, 0.3);
}

.btn-primary-enhanced:active {
  transform: translateY(0);
}

.field-container {
  margin-bottom: 24px;
}

.password-strength {
  margin-top: 8px;
  display: none;
}

.password-strength.show {
  display: block;
}

.strength-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 4px;
}

.strength-fill {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.strength-fill.weak { background: linear-gradient(90deg, #EF4444, #F87171); width: 25%; }
.strength-fill.fair { background: linear-gradient(90deg, #F59E0B, #FBBF24); width: 50%; }
.strength-fill.good { background: linear-gradient(90deg, #10B981, #34D399); width: 75%; }
.strength-fill.strong { background: linear-gradient(90deg, #059669, #10B981); width: 100%; }

.strength-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.strength-text.weak { color: #EF4444; }
.strength-text.fair { color: #F59E0B; }
.strength-text.good { color: #10B981; }
.strength-text.strong { color: #059669; }

.error-message {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #EF4444;
  margin-top: 6px;
  display: none;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.error-message.show {
  display: block;
}

.wf-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
}

.wf-divider::before,
.wf-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.wf-divider span {
  padding: 0 16px;
  color: rgba(160, 174, 192, 0.8);
  font-size: 12px;
  font-weight: 500;
}

.wf-social-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 48px;
  width: 100%;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(31, 41, 55, 0.9);
  font-weight: 500;
  font-size: 14px;
  cursor: not-allowed;
  opacity: 0.8;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.wf-social-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.95);
  opacity: 0.9;
}

.error-container {
  background: rgba(254, 242, 242, 0.9);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #b91c1c;
}

.error-container ul {
  margin: 0;
  padding-left: 20px;
}

.error-container li {
  margin: 4px 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .auth-page {
    padding: 24px;
  }
}

@media (min-width: 1024px) {
  .auth-page {
    padding: 32px;
  }
}

.auth-content {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-sizing: border-box;
}

.auth-header {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0;
}

.auth-header .logo {
  margin: 0 auto 1rem;
  height: 4rem;
  width: auto;
  display: block;
}

.auth-header h1 {
  margin-bottom: 1rem;
}

.auth-header p {
  margin: 0;
}

.auth-card {
  padding: 2rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .auth-card {
    padding: 2.5rem;
  }
}

@media (max-width: 640px) {
  .glass-container.auth-card {
    border-radius: 20px;
  }

  .form-input {
    height: 48px;
    padding: 12px 16px;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
