/*
 * 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.
 */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem;
  color: #1c1c1e;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
}

nav .nav-user {
  margin-left: auto;
  color: #666;
  font-size: 0.9rem;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.button, button {
  display: inline-block;
  background: #2563eb;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
}

.tabs {
  display: flex;
  gap: 1rem;
  border-bottom: none;
  padding-bottom: 0;
}

.tab {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #eee;
  color: #333;
  text-decoration: none;
}

.tab.active {
  background: #2563eb;
  color: white;
}

.flash .notice {
  background: #dcfce7;
  color: #166534;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.flash .alert, .alert {
  background: #fee2e2;
  color: #991b1b;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.signed {
  color: #166534;
  font-weight: 600;
}

.pending {
  color: #92400e;
}

form div {
  margin-bottom: 0.75rem;
}

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

input[type="text"], input[type="email"], input[type="password"], textarea, select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

textarea {
  min-height: 6rem;
}
