body {
  font-family: Arial, sans-serif;
}

.calculator-container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.calculator-container input {
  background-color: #DEC69A66 !important;
}

/* General slider styling */
#dog-weight {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: #ddd;
  border-radius: 5px;
  outline: none;
}

/* WebKit browsers (Chrome, Safari) */
#dog-weight::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #A62C21 !important;
  cursor: pointer;
  border: none;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

/* Hide the default radio button */
input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50% !important;
  margin-right: 10px;
  cursor: pointer;
  position: relative;
}

/* Custom radio button when checked */
input[type="radio"]:checked {
  background-color: #A62C21;
}

/* Inner dot */
input[type="radio"]:checked::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background-color: #A62C21;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
}

.input-section {
  flex: 1;
  margin-right: 20px;
}

.result-section {
  background-color: #DEC69A66;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h2 {
  margin-bottom: 10px;
}

.slider-input {
  margin-bottom: 20px;
}

.slider-input label {
  display: block;
  margin-bottom: 5px;
}

.slider-container {
  display: flex;
  align-items: center;
}

.slider-container input[type="range"] {
  flex: 1;
  margin-right: 10px;
}

.radio-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.radio-container input[type="radio"] {
  margin-right: 0;
  margin-bottom: 0.5em;
}

.result-section .result-box {
  text-align: center;
}

.result-section .result-box span {
  font-size: 28px;
  color: #A62C21;
  font-weight: bold;
}

.button-container {
  text-align: center;
  margin-top: 20px;
}

.button-container button {
  padding: 10px 20px;
  color: white;
  background-color: #A62C21 !important;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.button-container button:hover {
  background-color: #DC582A !important;
  color: #fff !important;
}

.notification-message {
  margin-bottom: 20px;
  text-align: center;
}

.error {
  color: red;
  font-weight: bold;
}

.success {
  color: green;
  font-weight: bold;
}

/* Style for the blank placeholders */
.placeholder {
  display: inline-block;
  min-width: 100px;
  height: 30px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 5px;
  vertical-align: middle;
  text-align: center;
  line-height: 30px;
  font-weight: normal;
  font-size: 14px;
  color: #333;
  padding: 0 10px;
}

.placeholder:empty:before {
  content: '\00a0';
}



/* Media Query for Mobile Devices */
@media (max-width: 768px) {
  .calculator-container {
    flex-direction: column;
  }

  .input-section,
  .result-section {
    width: 100%;
  }

  .result-section {
    margin-top: 20px;
  }
  
  .informative-text {
    position: relative;
  }
}