:root {
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  background: #f3f5fa;
  color: #182033;
}

.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem 2rem;
}

.container.small {
  max-width: 560px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 3px 12px rgba(20, 29, 61, 0.08);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.8rem;
}

.one-col {
  grid-template-columns: 1fr;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.95rem;
}

input,
select,
button {
  font: inherit;
  padding: 0.55rem;
  border: 1px solid #ccd3e5;
  border-radius: 8px;
}

button {
  background: #1f6feb;
  border: 0;
  color: white;
  cursor: pointer;
}

button.danger {
  background: #c62828;
}

.full {
  grid-column: 1 / -1;
}

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

th,
td {
  text-align: left;
  border-bottom: 1px solid #edf0f7;
  padding: 0.6rem;
  vertical-align: top;
}

.inline-form,
.action-form {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.status {
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: bold;
}

.status.pending { color: #9a6700; }
.status.approved { color: #067647; }
.status.rejected { color: #b42318; }

.flash {
  padding: 0.7rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: bold;
}

.flash.success { background: #e7f6ec; color: #067647; }
.flash.error { background: #fdecec; color: #b42318; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 1rem;
  text-align: center;
}

.big {
  font-size: 2rem;
  margin: 0.3rem 0;
}

.link {
  margin-left: 1rem;
}

.help {
  margin-top: 1rem;
  font-size: 0.92rem;
}
