/*
 * 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: "Helvetica Neue", Arial, sans-serif;
  background: #f6f7fb;
  color: #1b1f24;
}

main.container {
  width: 100%;
}

.page {
  width: 100%;
}

.flash {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-weight: 600;
}

.flash.notice {
  background: #e7f5ed;
  color: #116530;
  border: 1px solid #b6e2c6;
}

.flash.alert {
  background: #ffecec;
  color: #8a1c1c;
  border: 1px solid #f2b8b8;
}

.login-card {
  background: #ffffff;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  padding: 24px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.08);
}

.dashboard {
  background: #ffffff;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.08);
}

.login-card h1,
.dashboard h1 {
  margin: 0 0 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

input[type="text"],
input[type="password"] {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cdd6e1;
  font-size: 16px;
}

input[type="submit"],
.link-button {
  background: #2b59c3;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}

.link-button {
  background: transparent;
  color: #2b59c3;
  padding: 0;
}

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

.filters {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 16px 0 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.filters a {
  color: #2b59c3;
  text-decoration: none;
}

.filters a.active {
  font-weight: 700;
  text-decoration: underline;
}

.table-wrap {
  overflow-x: auto;
}

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

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid #e4e8ef;
  text-align: left;
  white-space: nowrap;
}

th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5b6472;
}
