/*
 * Form Components
 * 
 * @package Viva_Magenta_V1
 */

/* Search Form */
.search-form-wrapper {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.search-field {
  width: 100%;
  padding: 12px 50px 12px 20px;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.search-field:focus {
  border-color: var(--primary-color);
}

.search-submit {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-submit:hover {
  background: var(--primary-dark);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
  background: var(--background-light);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

/* Contact Form 7 Styles */
.contact-form-wrapper .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-wrapper .wpcf7-form-control {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  font-family: var(--font-body);
}

.contact-form-wrapper .wpcf7-form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.1);
}

.contact-form-wrapper .wpcf7-textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-wrapper .wpcf7-submit {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-start;
}

.contact-form-wrapper .wpcf7-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.contact-form-wrapper .wpcf7-response-output {
  margin-top: 20px;
  padding: 15px;
  border-radius: var(--border-radius);
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.contact-form-wrapper .wpcf7-validation-errors {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.no-form-notice,
.no-plugin-notice {
  background: var(--background-gray);
  padding: 30px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.no-form-notice ol {
  margin: 10px 0;
  padding-left: 20px;
}
