.vc-card {
  --primary: #4f46e5;
  --primary-soft: #eef2ff;
  --success: #10b981;
  --warning: #f59e0b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-card: #fff;
  --border: #e2e8f0;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--text-main);
  transition: transform 0.3s ease;
}

.theme-dark .vc-card {
  --bg-card: #1e293b;
  --border: rgba(255, 255, 255, 0.1);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --primary: #a5b4fc;
  --primary-soft: rgba(79, 70, 229, 0.15);
}

.vc-header {
  padding: 2rem 1.5rem;
  background: linear-gradient(to bottom, var(--primary-soft), transparent);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.vc-inputs {
  width: 100%;
  display: flex;
  justify-content: center;
}

.vc-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.vc-field label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.vc-triple-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 0.25rem 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.vc-triple-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
  transform: translateY(-1px);
}

.vc-triple-input.has-error {
  border-color: #ef4444;
  background: #fef2f2;
}

.theme-dark .vc-triple-input.has-error {
  background: rgba(239, 68, 68, 0.05);
}

.vc-triple-input.has-error:focus-within {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.vc-segment {
  border: none;
  padding: 0.8rem 0;
  width: 3rem;
  text-align: center;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 700;
  color: inherit;
  outline: none;
}

.vc-segment-year {
  width: 4.5rem;
}

.vc-sep {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1.2rem;
  opacity: 0.3;
  pointer-events: none;
}

.vc-age-badge {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.vc-age-badge.vc-age-visible {
  opacity: 1;
  transform: translateY(0);
}

.vc-empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.vc-main-context {
  padding: 2rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  display: none;
}

.vc-active .vc-main-context {
  display: block;
  animation: vc-slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes vc-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.vc-next-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.vc-next-date {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.vc-is-today .vc-next-date {
  color: #ef4444;
  animation: vc-pulse-today 2s infinite;
}

@keyframes vc-pulse-today {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.vc-is-today .vc-btn-primary {
  background: #ef4444;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.vc-vac-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.vc-vac-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--primary-soft);
  border-radius: 16px;
  text-align: left;
  border: 1px solid transparent;
  transition: 0.2s;
}

.vc-vac-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.theme-dark .vc-vac-icon {
  background: #0f172a;
}

.vc-vac-info {
  flex: 1;
}

.vc-vac-name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

.vc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}

.vc-sections {
  display: none;
}

.vc-active .vc-sections {
  display: block;
}

.vc-accordion-item {
  border-bottom: 1px solid var(--border);
}

.vc-accordion-item:last-child {
  border-bottom: none;
}

.vc-accordion-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
}

.vc-accordion-trigger:hover {
  background: var(--primary-soft);
}

.vc-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.vc-accordion-item.vc-open .vc-accordion-content {
  max-height: 800px;
}

.vc-timeline-compact {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vc-timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9rem;
}

.vc-timeline-row:last-child {
  border-bottom: none;
}

.vc-timeline-age {
  font-weight: 800;
  color: var(--primary);
  width: 6.5rem;
  flex-shrink: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.vc-timeline-vac {
  flex: 1;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 0.5rem;
}

.vc-vac-pill {
  padding: 0.15rem 0.5rem;
  background: var(--primary-soft);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.theme-dark .vc-vac-pill {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--primary-soft);
}

.vc-timeline-status {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  width: 3.5rem;
  flex-shrink: 0;
  text-align: right;
  letter-spacing: 0.05em;
}

.vc-check {
  color: var(--success);
}

.vc-clock {
  color: var(--warning);
}

.vc-footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--primary-soft);
}

.vc-share-link {
  display: none;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.vc-active .vc-share-link {
  display: inline;
}

@media (max-width: 480px) {
  .vc-timeline-age {
    width: 5rem;
  }
}