.zirconia-crown-cost-tool {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 40px auto;
  color: #333;
  overflow: hidden;
}

.tool-header {
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 2px solid #007bff;
  padding-bottom: 15px;
}

.tool-header h2 {
  margin: 0;
  color: #007bff;
  font-size: 2em;
}

.real-time-clock {
  font-size: 1em;
  color: #555;
  margin-top: 5px;
}

.tool-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  margin-bottom: 8px;
  font-weight: bold;
  color: #0056b3;
}

.input-group input[type="number"],
.input-group select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input[type="number"]:focus,
.input-group select:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
  outline: none;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  accent-color: #007bff;
}

.tool-footer {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #007bff;
}

.tool-footer h3 {
  margin: 0 0 10px 0;
  color: #007bff;
  font-size: 1.5em;
}

.total-cost {
  font-size: 2.5em;
  font-weight: bold;
  color: #28a745;
  margin: 0;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .zirconia-crown-cost-tool {
    padding: 20px;
  }

  .tool-header h2 {
    font-size: 1.8em;
  }

  .total-cost {
    font-size: 2.2em;
  }
}

@media (max-width: 480px) {
  .zirconia-crown-cost-tool {
    padding: 15px;
  }

  .tool-header h2 {
    font-size: 1.5em;
  }

  .total-cost {
    font-size: 1.8em;
  }

  .input-group input[type="number"],
  .input-group select {
    padding: 10px;
  }
}