/* MingleTiles Directory Form Styles */

@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;700;900&display=swap');

.mt-form-widget {
  font-family: 'Red Hat Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Header */
.mt-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.mt-form-header h2 {
  color: #1800AD;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.mt-form-header p {
  color: #6B7280;
  font-size: 1.125rem;
  margin: 0;
}

/* Form */
.mt-form {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mt-form-group {
  margin-bottom: 1.5rem;
}

.mt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .mt-form-row {
    grid-template-columns: 1fr;
  }
}

label {
  display: block;
  color: #1800AD;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

input[type="text"],
input[type="email"],
input[type="url"],
select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

input:focus,
select:focus {
  outline: none;
  border-color: #7ED957;
}

small {
  display: block;
  color: #6B7280;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.mt-form-note {
  display: block;
  color: #FF66C4;
  font-size: 0.875rem;
  margin: -0.5rem 0 1.5rem 0;
  font-weight: 500;
}

/* Submit Button */
.mt-btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  background: #7ED957;
  color: white;
  box-shadow: 0 4px 15px rgba(126, 217, 87, 0.3);
}

.mt-btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(126, 217, 87, 0.4);
}

.mt-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Messages */
.mt-form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.mt-form-message-success {
  background: #ECFDF5;
  color: #059669;
  border-left: 4px solid #7ED957;
}

.mt-form-message-error {
  background: #FEF2F2;
  color: #DC2626;
  border-left: 4px solid #DC2626;
}

/* Responsive */
@media (max-width: 640px) {
  .mt-form-widget {
    padding: 1rem 0.5rem;
  }

  .mt-form {
    padding: 1.5rem;
  }

  .mt-form-header h2 {
    font-size: 1.5rem;
  }
}
