.pet-calculator-wrapper {
  max-width: 1290px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header */
.pet-calc-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pet-calc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #1BA5BB, #26C6DA);
  border-radius: 16px;
  color: white;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(27, 165, 187, 0.25);
}

.pet-calc-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1BA5BB, #26C6DA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.5rem 0;
}

.pet-calc-subtitle {
  font-size: 1.125rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Card */
.pet-calc-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Section Titles */
.pet-calc-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1BA5BB;
}

.pet-calc-subsection-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1BA5BB;
}

/* Sections */
.pet-calc-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.pet-calc-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Form Fields */
.pet-calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pet-calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pet-calc-field label {
  font-weight: 500;
  font-size: 0.9rem;
  color: #374151;
}

.pet-calc-field input,
.pet-calc-field select {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
  background: white;
}

.pet-calc-field input:focus,
.pet-calc-field select:focus {
  outline: none;
  border-color: #1BA5BB;
  box-shadow: 0 0 0 3px rgba(27, 165, 187, 0.1);
}

/* Checkbox Grid */
.pet-calc-checkbox-grid {
  display: grid;
  gap: 0.75rem;
}

.pet-calc-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.pet-calc-checkbox:hover {
  background-color: #f9fafb;
}

.pet-calc-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #1BA5BB;
}

.pet-calc-checkbox span {
  font-weight: 500;
  color: #374151;
}

/* Buttons */
.pet-calc-actions {
  margin-top: 1.5rem;
}

.pet-calc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.pet-calc-btn-secondary {
  background: white;
  color: #1BA5BB;
  border: 2px solid #1BA5BB;
  width: 100%;
}

.pet-calc-btn-secondary:hover {
  background: #f0f9fa;
}

.pet-calc-btn-outline {
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.pet-calc-btn-outline:hover {
  background: #f9fafb;
}

/* Results Section */
.pet-calc-results {
  margin-top: 2rem;
}

.pet-calc-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.pet-calc-total {
  background: linear-gradient(135deg, rgba(27, 165, 187, 0.1), rgba(38, 198, 218, 0.1));
  border: 2px solid rgba(27, 165, 187, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.pet-calc-total-label {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 0.5rem 0;
}

.pet-calc-total-amount {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1BA5BB, #26C6DA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1.2;
}

.pet-calc-total-route {
  font-size: 0.9rem;
  color: #666;
  margin: 0.5rem 0 0 0;
}

/* Breakdown */
.pet-calc-breakdown {
  margin-top: 1.5rem;
}

.pet-calc-breakdown-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #374151;
}

.pet-calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pet-calc-breakdown-item {
  animation: fadeInUp 0.3s ease-out;
}

.pet-calc-breakdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.pet-calc-breakdown-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: #374151;
}

.pet-calc-breakdown-label svg {
  color: #1BA5BB;
}

.pet-calc-breakdown-value {
  font-weight: 600;
  font-size: 0.9rem;
  color: #374151;
}

.pet-calc-breakdown-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.pet-calc-breakdown-fill {
  height: 100%;
  background: linear-gradient(90deg, #1BA5BB, #26C6DA);
  border-radius: 4px;
  transition: width 0.5s ease-out;
}

.pet-calc-empty-state {
  text-align: center;
  color: #9ca3af;
  padding: 2rem;
  font-style: italic;
}

/* Info Card */
.pet-calc-info-card {
  background: linear-gradient(135deg, rgba(239, 120, 95, 0.08), rgba(248, 148, 108, 0.05));
  border-color: rgba(239, 120, 95, 0.2);
}

.pet-calc-info-title {
  font-size: 1rem;
  font-weight: 600;
  color: #EF785F;
  margin: 0 0 1rem 0;
}

.pet-calc-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pet-calc-info-list li {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
}

.pet-calc-info-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #EF785F;
  font-weight: bold;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .pet-calc-title {
    font-size: 1.75rem;
  }

  .pet-calc-subtitle {
    font-size: 1rem;
  }

  .pet-calc-card {
    padding: 1.5rem;
  }

  .pet-calc-row {
    grid-template-columns: 1fr;
  }

  .pet-calc-total-amount {
    font-size: 2.5rem;
  }

  .pet-calc-results-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .pet-calc-btn-outline {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .pet-calc-title {
    font-size: 1.5rem;
  }

  .pet-calc-icon {
    width: 56px;
    height: 56px;
  }

  .pet-calc-card {
    padding: 1rem;
  }

  .pet-calc-total {
    padding: 1.5rem;
  }

  .pet-calc-total-amount {
    font-size: 2rem;
  }
}

/* Print Styles */
@media print {
  .pet-calc-btn,
  .pet-calc-actions {
    display: none !important;
  }

  .pet-calc-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
