body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}

img {
  border: 2px solid black;
}

input.invalid {
  border: 2px solid red !important;
  animation: shake 0.3s;
}

label.invalid {
  border: 2px solid red !important;
  animation: shake 0.3s;
}

input.invalid + label {
  border: 2px solid red !important;
  animation: shake 0.3s;
}

.error-message {
  display: none;
  color: red;
  font-size: 12px;
  margin-top: 4px;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.summary-container {
  font-family: Arial, sans-serif;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  max-width: 500px;
  width: 100%;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-total {
  font-weight: bold;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}

.summary-row span:last-child {
  text-align: right;
}

.main-heading {
  font-family: Arial, sans-serif;
  font-size: 32px;
  font-weight: bold;
  color: #2c2c2c;
  text-align: center;
  margin: 40px auto 10px;
}

.tagline {
  font-family: Arial, sans-serif;
  font-size: 18px;
  color: #666;
  text-align: center;
  margin: 0 auto 40px;
  max-width: 600px;
  line-height: 1.4;
  font-weight: normal;
}

#git_commit {
  text-align: right;
  font-size: 8px;
  color: gray;
}

.view-title {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-align: center;
}

footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid #ddd;
  margin-top: 60px;
  font-size: 13px;
  color: #666;
}

footer a {
  margin: 0 15px;
  color: #666;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

.container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.form-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  max-width: 500px;
  width: 100%;
}

.inputs_section {
  flex: 1;
  min-width: 250px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 20px;
}

.row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
}

.gui {
  display: block;
  margin: 10px 0;
  padding: 8px 12px;
  font-size: 14px;
}

input.gui {
  width: 100%;
  border: 2px solid #ccc;
  border-radius: 4px;
  margin-right: 10px;
  transition: border-color 0.3s;
}

input.gui:focus {
  outline: none;
  border-color: #4caf50;
}

/* Preview section */
div.view {
  flex: 1;
  max-width: 500px;
  min-width: 200px;
  padding: 20px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-align: center;

  background: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#top_view_svg svg {
  width: 100%;
  height: auto;
}

#side_view_svg svg {
  width: 100%;
  height: auto;
}

#front_view_svg svg {
  width: 100%;
  height: auto;
}

button.gui {
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  padding: 10px 20px;
  margin-top: 20px;
}

button.gui:hover {
  background-color: #45a049;
}

button.gui:active {
  transform: translateY(1px);
}

/* Mobile responsive - stack vertically */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 20px;
  }

  #preview_svg {
    width: 100%;
    max-width: 250px;
  }

  input.gui {
    width: 100%;
    max-width: 300px;
  }
}
