.wvc-form {
  max-width: 800px;

  margin: 0 auto;

  padding: 20px;

  font-family: Arial, sans-serif;
}

.form-row {
  display: flex;

  flex-wrap: wrap;

  margin-bottom: 15px;
}

.form-group {
  flex: 1;

  min-width: 250px;

  margin-bottom: 15px;

  padding-right: 15px;
}

label {
  display: block;

  margin-bottom: 5px;

  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
  width: 100%;

  padding: 8px;

  border: 1px solid #ddd;

  border-radius: 4px;
}

.package-options,
.addons {
  margin-top: 10px;
}

.package-option,
.addon-option {
  margin-bottom: 10px;

  padding: 10px;

  border: 1px solid #eee;

  border-radius: 4px;
}

.package-option label,
.addon-option label {
  display: inline;

  margin-left: 5px;
}

button {
  background-color: #4caf50;

  color: white;

  padding: 10px 15px;

  border: none;

  border-radius: 4px;

  cursor: pointer;

  font-size: 16px;

  margin-right: 10px;

  transition: all 0.3s ease;
}

button:hover {
  background-color: #45a049;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.total-section {
  margin-top: 20px;

  padding: 15px;

  background-color: #f9f9f9;

  border-radius: 4px;

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Enhanced button styles */

/* Center the top buttons */
.contract-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center; /* Center the buttons horizontally */
}

.contract-buttons button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-width: 160px;
}

.contract-buttons button i {
  margin-right: 8px;

  font-size: 16px;
}

/* Button-specific styles */

#toggle-highlights {
  background-color: #ffc107;

  color: #333;
}

#toggle-highlights:hover {
  background-color: #ffb300;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#edit-form {
  background-color: #2196f3;

  color: white;
}

#edit-form:hover {
  background-color: #1e88e5;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#download-pdf {
  background-color: #ff5722;

  color: white;
}

#download-pdf:hover {
  background-color: #e64a19;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Center the agree button */
.agree-button-container {
  margin-top: 20px;
  text-align: center; /* Center the button horizontally */
  display: flex;
  justify-content: center; /* Additional centering for flex layout */
}

.agree-button {
  background-color: #ff5722;
  color: white;
  font-size: 16px;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 160px; /* Match the width of the top buttons */
}

.agree-button:hover {
  background-color: #e64a19;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Contract preview section styling */

#contract-preview {
  background-color: #f9f9f9;

  border-radius: 8px;

  padding: 25px;

  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);

  margin-top: 30px;
}

#contract-preview h2 {
  color: #333;

  font-size: 22px;

  margin-bottom: 20px;

  padding-bottom: 10px;

  border-bottom: 1px solid #eee;
}

#contract-content {
  background-color: white;

  padding: 25px;

  border: 1px solid #eee;

  border-radius: 4px;

  max-height: 600px;

  overflow-y: auto;

  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}

/* Add this to your existing CSS */

.addons {
  display: flex;

  flex-wrap: wrap;

  margin: 0 -10px; /* Negative margin to offset the padding in addon-option */
}

.addon-option {
  width: calc(50% - 20px); /* 50% width minus padding */

  margin: 0 10px 10px 10px;

  box-sizing: border-box;
}

/* Style for mandatory add-ons */
.addon-option input[disabled] + label {
  font-weight: bold;
  color: #4caf50;
}

.addon-option input[disabled] + label::after {
  content: " ✓";
  color: #4caf50;
}

/* Email notification styles */

.wvc-email-notification {
  position: fixed;

  top: 50px;

  right: 20px;

  background-color: #4caf50;

  color: white;

  padding: 15px 20px;

  border-radius: 4px;

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

  z-index: 9999;

  animation: fadeOut 0.5s ease 5s forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Responsive adjustments */

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .form-group {
    width: 100%;

    padding-right: 0;
  }

  button {
    width: 100%;

    margin-bottom: 10px;
  }

  .contract-buttons {
    flex-direction: column;
  }

  .contract-buttons button {
    width: 100%;

    margin-bottom: 10px;
  }

  .addon-option {
    width: calc(100% - 20px); /* Full width on small screens */
  }
}
