.customer-details-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.customer-details-card h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 2em;
  text-align: center;
}

.customer-details-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.section {
  flex: 1 1 30%;
  margin: 15px;
  padding: 20px;
  border-radius: 8px;
  background-color: #f8f9fa;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.section:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.section h3 {
  color: #007bff;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.section p,
.section ul {
  color: #555;
  font-size: 1.1em;
}

.pet-item {
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.pet-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.pet-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pet-info {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.pet-id {
  font-size: 0.8rem;
  color: #6b7280;
  font-family: 'Courier New', monospace;
  background-color: #f8f9fa;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.pet-main-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 15px;
}

.pet-name,
.pet-type,
.pet-weight,
.pet-age {
  font-size: 1rem;
  color: #374151;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pet-name strong,
.pet-type strong,
.pet-weight strong,
.pet-age strong {
  font-size: 0.85rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.pet-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.edit-pet-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.edit-pet-button:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.edit-pet-button:active {
  transform: translateY(0);
}

.customer-details-buttons {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
}

.customer-details-button,
.add-pet-button {
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 1.1em;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.3s;
}

.customer-details-button:hover,
.add-pet-button:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

.delete-button {
  background-color: #dc3545;
}

.delete-button:hover {
  background-color: #c82333;
}
