/* forms.css - Shared form and page component styles for Nataly English.
 * Enhances Bulma defaults for .box, .title, .field, .label, .input,
 * .textarea, select, .button, .notification, and .help elements.
 * Loaded globally via base.html.
 */

.box {
  background-color: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 2rem;
}

.title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.subtitle {
  margin-bottom: 2rem;
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  font-weight: 600;
  color: #363636;
  margin-bottom: 0.5rem;
}

.input,
.textarea,
select {
  border-radius: 8px;
  border-color: rgba(0, 0, 0, 0.15);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus,
.textarea:focus,
select:focus {
  border-color: #3273dc;
  box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.15);
}

.input:hover,
.textarea:hover,
select:hover {
  border-color: rgba(0, 0, 0, 0.25);
}

.button {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease;
}

.button.is-primary:hover {
  background-color: #2366d1;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(50, 115, 220, 0.3);
}

.button.is-light:hover {
  background-color: #e8e8e8;
}

.notification {
  border-radius: 8px;
}

.help {
  font-size: 0.875rem;
  margin-top: 0.375rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .box {
    padding: 1.5rem;
  }

  .title {
    font-size: 1.5rem;
  }
}
