/* Cognito Forms - Classic Theme (Blue) */
/* Based on classicform.css styling */

.cfclassic .cognito {
  font-family: 'Georgia', serif;
  font-size: 14px;
  color: var(--bs-body-color, #212529) !important;
  background: transparent !important;
  max-width: 450px;
}

/* Hide labels (placeholders are used instead) */
.cfclassic .cognito label.c-label {
  display: none !important;
}

/* Input fields styling */
.cfclassic .cognito input[type="text"],
.cfclassic .cognito input[type="email"],
.cfclassic .cognito input[type="tel"],
.cfclassic .cognito input[type="number"],
.cfclassic .cognito input[type="url"],
.cfclassic .cognito textarea,
.cfclassic .cognito select {
  border: 1px solid #bbbbbb !important;
  background: #ffffff !important;
  border-left: 2px solid #1d70b8 !important;
  margin: 0 !important;
  padding: 9px 5px !important;
  text-indent: 5px;
  color: #333 !important;
  width: 100% !important;
  box-sizing: border-box;
  font-family: 'Georgia', serif;
}

.cfclassic .cognito textarea {
  min-height: 100px;
  resize: none;
  text-indent: 0;
  padding: 5px !important;
}

.cfclassic .cognito input::placeholder,
.cfclassic .cognito textarea::placeholder {
  color: #999;
}

/* Form fields container */
.cfclassic .cognito .c-forms-form-field {
  margin-bottom: 15px;
  width: 100% !important;
}

/* Submit button */
.cfclassic .cognito button[type="submit"],
.cfclassic .cognito .c-button {
  color: #FFF !important;
  background: #16578D !important;
  margin: 0;
  padding: 10px 25px !important;
  border: 0 !important;
  cursor: pointer;
  text-shadow: none;
  font-family: 'Georgia', serif;
  font-size: 14px;
}

.cfclassic .cognito button[type="submit"]:hover,
.cfclassic .cognito .c-button:hover {
  background: #1d70b8 !important;
}

/* Error styling */
.cfclassic .cognito .c-error,
.cfclassic .cognito .c-forms-form-field.c-error input,
.cfclassic .cognito .c-forms-form-field.c-error textarea {
  color: #FF4242 !important;
  border-color: #FF4242 !important;
}

.cfclassic .cognito .c-error-message {
  color: #FF4242 !important;
  background: transparent !important;
}

/* Field wrapper */
.cfclassic .cognito .c-forms-form-field-wrapper {
  background: transparent !important;
}

/* Success message */
.cfclassic .cognito .c-success {
  color: #fff !important;
  background: transparent !important;
}

/* Focus state */
.cfclassic .cognito input:focus,
.cfclassic .cognito textarea:focus,
.cfclassic .cognito select:focus {
  outline: none;
  background-color: #fff !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .cfclassic .cognito {
    max-width: 100%;
  }
}

/* Hide Cognito Forms footer elements */
.cfclassic .cog-abuse,
.cfclassic .cog-branding {
  display: none !important;
}
