:root {
  --aoc-modal-bg: rgba(7, 20, 31, 0.85);
  --aoc-navy: #266F56;
  --aoc-teal: #00C896;
  --aoc-teal-light: #E0FAF4;
  --aoc-btn-hover: #2a804e;
  --aoc-red: #D94040;
}

body.ce-tracker-modal-open {
  overflow: hidden !important;
}

#ce-tracker-modal-container {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--aoc-modal-bg);
  max-width: 100%;
  overflow-x: hidden;
}

#ce-tracker-modal {
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.ce-tracker-modal-card {
  width: 100%;
  background: white;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.ce-tracker-modal-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--aoc-navy);
}

[v-cloak] {
  display: none;
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

/* Prototype Styles */
.form-screen {
  background: var(--aoc-navy);
}

.form-header {
  background: var(--aoc-navy);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 99;
  max-width: 1080px;
  margin: 0 auto;
}

.form-header-logo {
  color: white;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-header-tag {
  background: var(--aoc-teal);
  color: var(--aoc-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.form-outer {
  display: flex;
  max-width: 1080px;
  margin: 0 auto;
  min-height: 600px;
}

.form-main-col {
  flex: 1;
  min-width: 0;
  background: #f7f8fc;
}

.form-body {
  padding: 44px 44px 52px 40px;
}

.value-sidebar-col {
  width: 420px;
  flex-shrink: 0;
}

.value-sidebar {
  padding: 44px 28px 52px;
  position: sticky;
  top: 3rem;
}

.form-step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.step-dot.done {
  background: var(--aoc-teal);
}

.step-dot.active {
  background: var(--aoc-navy);
  width: 24px;
  border-radius: 4px;
}

.step-dot.upcoming {
  background: #d0d0d0;
}

.form-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--aoc-navy);
  margin-bottom: 6px;
  line-height: 1.2;
}

.form-subtitle {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 32px;
}

.field-section {
  margin-bottom: 18px;
}

.field-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.field-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e8e8e8;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.date-wrapper {
  position: relative;
}

.date-placeholder {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  font-size: 14px;
}

.field-row:last-child {
  margin-bottom: 0;
}

.field-row>div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.f-label {
  font-size: 12px;
  font-weight: 500;
  color: #444;
  margin-bottom: 6px;
  display: block;
}

.f-req {
  color: var(--aoc-red);
  margin-left: 2px;
}

.f-input {
  border: 1.5px solid #e2e2e2;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 14px;
  color: #111;
  background: white;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

@supports (-webkit-touch-callout: none) {
  .f-input[type="date"] {
    min-height: 50px !important;
  }
}

.f-input[type="date"] {
  box-sizing: border-box;
  width: 100%;
}

#f-credits {
  height: 1.1rem;
}

.f-input:focus {
  border-color: var(--aoc-navy);
  box-shadow: 0 0 0 3px rgba(38, 111, 86, 0.15);
}

.f-input.error {
  border-color: var(--aoc-red);
}

.f-input::placeholder {
  color: #ccc;
}

.f-hint {
  font-size: 11px;
  color: #aaa;
  margin-top: 5px;
  line-height: 1.4;
}

.f-error {
  font-size: 11px;
  color: var(--aoc-red);
  margin-top: 4px;
  display: none;
}

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

/* CHIP MULTI-SELECT */
.chip-field {
  grid-column: 1 / -1;
}

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1.5px solid #e2e2e2;
  border-radius: 8px;
  padding: 10px 12px;
  background: white;
  transition: border-color 0.15s;
}

.chip-wrap.error {
  border-color: var(--aoc-red);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: #f0f0f6;
  color: #444;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.12s;
  user-select: none;
  line-height: 1.3;
}

.chip:hover:not(.disabled) {
  background: #e5e5f0;
  color: #18352b;
}

.chip.selected {
  background: var(--aoc-navy);
  color: white;
  border-color: var(--aoc-navy);
}

.chip.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chip.disabled:hover {
  background: #f0f0f6;
}

.chip-counter {
  font-size: 11px;
  color: #aaa;
  margin-top: 6px;
}

.chip-counter.at-max {
  color: var(--aoc-teal);
  font-weight: 600;
}

.multi-license-callout {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #EEF0FF;
  border: 1px solid #C7CCEF;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 12px;
}

.multi-license-callout p {
  font-size: 12px;
  color: #2d3070;
  line-height: 1.5;
  margin: 0;
}

.multi-license-callout strong {
  font-weight: 700;
}

.license-entry.multiple {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed #ddd;
  margin-bottom: 12px;
}

.license-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.license-number {
  font-size: 11px;
  font-weight: 700;
  color: var(--aoc-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.remove-license-btn {
  background: none;
  border: none;
  color: var(--aoc-red);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  background-color: transparent !important;
}

.add-license-btn {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  align-items: end;
  gap: 8px;
  color: var(--aoc-navy);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
  background-color: transparent !important;
  padding: 0;
  text-transform: none;
  line-height: 1em;
}

.add-license-btn:focus {
  outline: none;
}

.submit-btn {
  width: 100%;
  background: var(--aoc-navy);
  background-color: var(--aoc-navy) !important;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.15s;
  letter-spacing: 0.02em;
}

.submit-btn:hover:not(:disabled) {
  background: var(--aoc-btn-hover) !important;
  background-color: var(--aoc-btn-hover) !important;
  color: white !important;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-disclaimer {
  text-align: center;
  font-size: 11px;
  color: #bbb;
  margin-top: 10px;
  line-height: 1.5;
}

/* VALUE SIDEBAR */
.value-sidebar-eyebrow {
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aoc-teal);
  margin-bottom: 12px;
}

.value-sidebar-title {
  font-size: 1.5em;
  font-weight: 800;
  color: white;
  line-height: 1.4;
  margin-bottom: 26px;
}

.value-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.value-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(0, 200, 150, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.value-text-title {
  font-size: 1.2em;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.value-text-desc {
  font-size: 1em !important;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.value-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 22px 0;
}

.value-footer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
}

/* SCREEN 3 */
.success-screen {
  background: white;
  display: flex;
  flex-direction: column;
}

.success-header {
  background: var(--aoc-navy);
  padding: 18px 32px;
  display: flex;
  align-items: center;
}

.success-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 24px 80px;
  text-align: center;
  flex: 1;
}

.success-checkmark {
  border-radius: 20px;
  background: var(--aoc-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  padding: 5px 14px;
  gap: 10px;
  width: fit-content;
}

.success-checkmark svg {
  width: 26px;
  height: 26px;
}

.success-tag {
  display: inline-block;
  color: var(--aoc-navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.success-h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--aoc-navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.success-p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 8px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.success-divider {
  width: 48px;
  height: 3px;
  background: var(--aoc-teal);
  border-radius: 2px;
  margin: 28px auto;
}

.what-next {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 20px;
}

.success-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 auto 36px;
  max-width: 580px;
  text-align: left;
}

.scard {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 16px 14px;
}

.scard-icon {
  font-size: 20px;
  margin-bottom: 8px;
}

.scard-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--aoc-navy);
  margin-bottom: 4px;
}

.scard-text {
  font-size: 12px;
  color: #777;
  line-height: 1.5;
}

.cta-btn {
  display: inline-block;
  background: var(--aoc-navy);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}

.cta-btn:hover {
  background: var(--aoc-btn-hover);
  color: white !important;
}

@media (max-width: 1280px) {
  .form-header {
    padding: 20px;
  }

  .value-sidebar-col {
    width: 380px;
  }
}

@media (max-width: 920px) {
  .value-sidebar-col {
    width: 280px;
  }

  .value-sidebar-title {
    font-size: 1.1em;
  }

  .value-sidebar-eyebrow, 
  .value-text-title {
    font-size: 1em;
  }

  .value-text-desc {
    font-size: 0.8em;
  }
}

@media (max-width: 700px) {
  .field-row {
    grid-template-columns: 1fr;
  }

  .form-outer {
    flex-direction: column;
  }

  .value-sidebar-col {
    display: none;
  }

  .form-body {
    padding: 32px 20px 40px;
  }

  .success-cards {
    grid-template-columns: 1fr;
  }

  .success-h1 {
    font-size: 24px;
  }

  .form-header-tag {
    display: none !important;
  }
}

/* License List Transitions */
.license-list-enter-active,
.license-list-leave-active {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 500px;
  overflow: hidden;
}

.license-list-enter-from,
.license-list-leave-to {
  opacity: 0;
  max-height: 0;
  margin-top: 0 !important;
  padding-top: 0 !important;
  transform: translateY(-20px);
}

.license-list-move {
  transition: transform 0.4s ease;
}