/* Existing styles remain the same */
.wallpaper-quotes-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.wallpaper-quote-form {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wallpaper-quote-form h2 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.form-section {
  margin-bottom: 30px;
}

.form-section h3 {
  color: #333;
  margin-bottom: 15px;
  border-bottom: 2px solid #4caf50;
  padding-bottom: 5px;
}

.property-type-selection {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.property-option {
  flex: 1;
  cursor: pointer;
}

.property-option input[type="radio"] {
  display: none;
}

.option-text {
  display: block;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

.property-option input[type="radio"]:checked + .option-text {
  border-color: #4caf50;
  background: #e8f5e8;
  color: #2e7d32;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-col {
  flex: 1;
}

.form-col label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.form-col input,
.form-col select,
.form-col textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-col input:focus,
.form-col select:focus,
.form-col textarea:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.room-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f9f9f9;
}

.room-card h4 {
  color: #333;
  margin-bottom: 15px;
}

.wall-card {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
  background: #fff;
}

.wall-card h5 {
  color: #555;
  margin-bottom: 10px;
}

.walls-container {
  margin-bottom: 15px;
}

.btn-secondary {
  background: #6c757d;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
  margin-bottom: 10px;
}

.btn-secondary:hover {
  background: #5a6268;
}

.remove-room {
  background: #dc3545;
}

.remove-room:hover {
  background: #c82333;
}

.remove-wall {
  background: #dc3545;
}

.remove-wall:hover {
  background: #c82333;
}

.installation-option {
  margin: 20px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  font-weight: bold;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

.quote-summary {
  background: #e8f5e8;
  border: 2px solid #4caf50;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.quote-summary h4 {
  color: #2e7d32;
  margin-bottom: 15px;
  text-align: center;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 5px 0;
}

.total-line {
  border-top: 2px solid #4caf50;
  padding-top: 10px;
  font-weight: bold;
  font-size: 1.1em;
}

/* Payment Section Styles */
.payment-section {
  background: #f0f8ff;
  border: 2px solid #2196f3;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.payment-section h4 {
  color: #1976d2;
  margin-bottom: 15px;
  text-align: center;
}

.advance-payment-info {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}

.advance-notice {
  font-size: 16px;
  color: #856404;
  margin-bottom: 10px;
  text-align: center;
}

.advance-amount {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: bold;
  color: #856404;
}

.payment-methods h5 {
  color: #1976d2;
  margin-bottom: 15px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-option {
  cursor: pointer;
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-card {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + .payment-card {
  border-color: #2196f3;
  background: #e3f2fd;
}

.payment-icon {
  font-size: 24px;
  margin-right: 15px;
  width: 40px;
  text-align: center;
}

.payment-details {
  display: flex;
  flex-direction: column;
}

.payment-details strong {
  color: #333;
  margin-bottom: 5px;
}

.payment-details span {
  color: #666;
  font-size: 14px;
}

.payment-notes {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 15px;
}

.payment-notes p {
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
}

.payment-notes ul {
  margin: 0;
  padding-left: 20px;
}

.payment-notes li {
  margin-bottom: 5px;
  color: #555;
}

/* Agent Search Styles */
.agent-search-container {
  position: relative;
}

.agent-search-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.agent-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.suggestion-item,
.add-new-agent {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.suggestion-item:hover,
.add-new-agent:hover {
  background: #f5f5f5;
}

.add-new-agent {
  color: #4caf50;
  font-weight: bold;
}

.new-agent-fields {
  margin-top: 15px;
}

.new-agent-fields label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.new-agent-fields input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-actions {
  text-align: center;
  margin-top: 30px;
}

.btn-primary {
  background: #4caf50;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #45a049;
}

.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
  .wallpaper-quotes-form-container {
    padding: 10px;
  }

  .wallpaper-quote-form {
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .property-type-selection {
    flex-direction: column;
    gap: 10px;
  }

  .payment-options {
    gap: 15px;
  }

  .payment-card {
    padding: 12px;
  }

  .advance-amount {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
}
