/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  color: #1f2937;
  background: #f9fafb;
  line-height: 1.5;
}

a { color: #2563eb; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"] {
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  width: 100%;
}

input[type="submit"],
button[type="submit"] {
  cursor: pointer;
}

/* Devise form overrides */
.devise-form {
  max-width: 400px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.devise-form h2 {
  margin-top: 0;
}

.devise-form .field {
  margin-bottom: 1rem;
}

.devise-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.devise-form input[type="submit"] {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
}

.devise-form .actions {
  margin-top: 1.25rem;
}
