.ac-container {
    --ac-primary: #10b981;
    --ac-primary-dark: #059669;
    --ac-accent: #3b82f6;
    --ac-bg-card: rgba(255, 255, 255, 0.7);
    --ac-border-card: rgba(255, 255, 255, 0.4);
    --ac-shadow-card: 0 8px 32px 0 rgba(31, 38, 135, 0.1);

    max-width: 1000px;
    margin: 2rem auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .theme-dark .ac-container {
    --ac-bg-card: rgba(15, 23, 42, 0.6);
    --ac-border-card: rgba(255, 255, 255, 0.1);
    --ac-shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  }

  .ac-card {
    background: var(--ac-bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--ac-border-card);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--ac-shadow-card);
    animation: ac-fade-in 0.5s ease-out forwards;
  }

  .ac-input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .ac-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .ac-input-group label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .theme-dark .ac-input-group label {
    color: #94a3b8;
  }

  .ac-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }

  .ac-input-wrapper input,
  .ac-input-wrapper select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    border: 2px solid #e2e8f0;
    background: white;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s ease;
    outline: none;
    appearance: none;
  }

  .theme-dark .ac-input-wrapper input,
  .theme-dark .ac-input-wrapper select {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
  }

  .ac-input-wrapper input:focus,
  .ac-input-wrapper select:focus {
    border-color: var(--ac-primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
  }

  .ac-input-unit {
    position: absolute;
    right: 1.25rem;
    font-weight: 700;
    color: #94a3b8;
    pointer-events: none;
  }

  .ac-input-wrapper select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.75rem;
  }

  .ac-bracket-info {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
  }

  .theme-dark .ac-bracket-info {
    background: #0f172a;
    border-color: #1e293b;
  }

  .ac-bracket-title {
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .theme-dark .ac-bracket-title {
    color: #f1f5f9;
  }

  .ac-bracket-pill {
    background: var(--ac-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
  }

  .ac-slider-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .ac-net-display-text {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    text-align: center;
    margin: 0;
  }

  input[type='range'] {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 99px;
    appearance: none;
    outline: none;
  }

  .theme-dark input[type='range'] {
    background: #334155;
  }

  input[type='range']::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--ac-primary);
    border: 4px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .theme-dark input[type='range']::-webkit-slider-thumb {
    border-color: #1e293b;
  }

  .ac-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .ac-result-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.25rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.2s ease;
  }

  .theme-dark .ac-result-card {
    background: rgba(30, 41, 59, 0.4);
    border-color: rgba(255, 255, 255, 0.05);
  }

  .ac-highlight {
    background: #ecfdf5;
    border-color: var(--ac-primary);
  }

  .theme-dark .ac-highlight {
    background: rgba(16, 185, 129, 0.1);
  }

  .ac-result-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
  }

  .ac-result-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
  }

  .theme-dark .ac-result-value {
    color: #f1f5f9;
  }

  .ac-primary {
    color: var(--ac-primary-dark);
  }

  .theme-dark .ac-primary {
    color: var(--ac-primary);
  }

  .ac-projection-label {
    font-size: 0.65rem;
    color: var(--ac-primary-dark);
    font-weight: 700;
  }

  .theme-dark .ac-projection-label {
    color: var(--ac-primary);
  }

  .ac-info-alert {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }

  .theme-dark .ac-info-alert {
    background: rgba(30, 58, 138, 0.1);
    border-color: rgba(30, 58, 138, 0.3);
  }

  .ac-info-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    color: var(--ac-accent);
  }

  .ac-info-alert p {
    font-size: 0.875rem;
    color: #1e40af;
    line-height: 1.5;
    margin: 0;
  }

  .theme-dark .ac-info-alert p {
    color: #93c5fd;
  }

  @media (max-width: 48rem) {
    .ac-input-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 40rem) {
    .ac-results-grid {
      grid-template-columns: 1fr;
    }

    .ac-card {
      padding: 1.5rem;
    }
  }

  @keyframes ac-fade-in {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }