:root {
  --accent: #d5fd35;
  --accent-strong: #bfe72c;
  --accent-soft: #f4ffd2;
  --danger: #ef4444;
  --danger-dark: #dc2626;
  --sidebar: #17212f;
  --sidebar-muted: #233044;
  --page: #eef2f6;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --border: #dbe1e8;
  --border-strong: #c7d0da;
  --text: #1f2933;
  --muted: #607080;
  --shadow: 0 10px 26px rgba(31, 41, 55, 0.08);
  --shadow-soft: 0 3px 12px rgba(31, 41, 55, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 32px 32px 32px 292px;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--page);
}

body > :not(.link):not(script) {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

.wan-ip-badge {
  position: absolute;
  top: 24px;
  left: 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  width: auto;
  max-width: 360px;
  margin: 0;
  padding: 0 0 0 2px;
  color: #17212f;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.wan-ip-badge div {
  display: block;
  white-space: nowrap;
}

.wan-ip-badge span {
  display: inline-block;
  width: 58px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.wan-ip-badge strong {
  font-size: 13px;
}

h1,
h2 {
  color: #202a36;
  letter-spacing: 0;
  text-align: center;
}

h1 {
  margin: 0 auto 22px;
  font-size: 30px;
  line-height: 1.18;
}

h2 {
  margin: 26px auto 16px;
  font-size: 21px;
  line-height: 1.25;
}

p {
  line-height: 1.55;
}

.link {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 248px;
  max-width: none;
  margin: 0;
  padding: 24px 14px;
  overflow-y: auto;
  background: var(--sidebar);
  box-shadow: 5px 0 22px rgba(15, 23, 42, 0.22);
}

.sidebar-title {
  margin: 0 0 24px;
  padding: 14px 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.btn,
button,
input[type="submit"],
.terug-knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 15px;
  color: #223018;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  background: var(--accent);
  border: 1px solid #abc933;
  border-radius: 7px;
  box-shadow: 0 2px 0 rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
.terug-knop:hover {
  background: var(--accent-strong);
  border-color: #9ebd25;
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.link .btn {
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
  margin: 0 0 9px;
  padding: 12px 13px;
  color: #f8fafc;
  background: var(--sidebar-muted);
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: none;
  text-align: left;
  white-space: normal;
}

.link .btn:hover {
  color: #17212f;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
  transform: none;
}

.btn-danger,
.btn-delete {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger-dark);
}

.btn-danger:hover,
.btn-delete:hover {
  color: #fff;
  background: var(--danger-dark);
}

.link .btn-danger {
  color: #fff;
  background: #9f2430;
  border-color: rgba(255, 255, 255, 0.12);
}

.link .btn-danger:hover {
  color: #fff;
  background: var(--danger-dark);
}

.container,
.card,
.notfound,
.form-card,
.topinfo {
  width: 100%;
  margin-bottom: 22px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid rgba(199, 208, 218, 0.8);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.container {
  position: relative;
  padding-top: 116px;
  background-image: url("images/Logo_Dos-IT.png");
  background-repeat: no-repeat;
  background-position: calc(100% - 26px) 24px;
  background-size: 210px auto;
}

.container > :first-child,
.card > :first-child,
.form-card > :first-child {
  margin-top: 0;
}

.form-card,
.topinfo {
  background: var(--panel-soft);
}

form {
  width: 100%;
  max-width: 780px;
  margin: 18px auto;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.container form,
.form-card form {
  box-shadow: none;
}

.container > form,
body > form {
  margin-bottom: 22px;
}

td form {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

label {
  display: block;
  margin: 0 0 7px;
  color: #263241;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 38px;
  padding: 9px 11px;
  margin: 5px 0 15px;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #9fbd24;
  box-shadow: 0 0 0 3px rgba(213, 253, 53, 0.24);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

form .btn,
form button,
form input[type="submit"] {
  margin-top: 4px;
}

table {
  width: 100%;
  margin: 20px auto;
  overflow: hidden;
  background: var(--panel);
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  word-wrap: break-word;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

th,
td {
  padding: 12px 13px;
  border-bottom: 1px solid #e6ebf0;
  text-align: left;
  vertical-align: top;
}

th {
  color: #243018;
  font-size: 14px;
  background: var(--accent);
}

tr:nth-child(even) td {
  background: #fbfcfd;
}

tr:last-child td {
  border-bottom: 0;
}

tr:hover td {
  background: #f3f7fb;
}

.melding,
.message,
.fout,
.error {
  max-width: 900px;
  margin: 10px auto 20px;
  padding: 14px 16px;
  border-radius: 10px;
}

.melding,
.message {
  color: #14532d;
  font-weight: 700;
  text-align: center;
  background: #ecfdf3;
  border: 1px solid #b7e4c7;
}

.fout,
.error {
  color: #991b1b;
  background: #fff1f1;
  border: 1px solid #fecaca;
}

.highlight {
  padding: 0 3px;
  font-weight: 700;
  background: var(--accent-soft);
  border-radius: 3px;
}

.row {
  display: flex;
  gap: 14px;
}

.row > div {
  flex: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr auto;
  gap: 14px;
  align-items: end;
}

.page-actions {
  margin: 18px 0 24px;
  text-align: center;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.customer-form {
  max-width: 980px;
}

.customer-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.customer-card,
.customer-grid > .customer-card,
.customer-grid > a.customer-card {
  display: block;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  color: inherit;
  text-decoration: none;
}

.customer-grid > a.customer-card {
  color: inherit;
}

.clickable-card {
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.clickable-card:hover {
  border-color: #b8c7d6;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.customer-card-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e8edf2;
}

.customer-card h3 {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.25;
}

.customer-contact {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.customer-details {
  display: grid;
  gap: 13px;
  margin: 0;
}

.customer-details div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
}

.customer-details dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.customer-details dd {
  min-width: 0;
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.customer-details a {
  color: #2455a6;
  font-weight: 700;
  text-decoration: none;
}

.customer-details a:hover {
  text-decoration: underline;
}

.customer-open-cases {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e8edf2;
}

.customer-open-cases-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #526274;
  font-size: 13px;
  font-weight: 800;
}

.customer-open-cases-title span {
  min-width: 28px;
  padding: 3px 8px;
  color: #5b4a22;
  text-align: center;
  background: #f6f0df;
  border: 1px solid #dfd0a8;
  border-radius: 999px;
}

.customer-case-list {
  display: grid;
  gap: 8px;
}

.customer-case-list a,
.customer-more-link {
  color: #2455a6;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.customer-case-list a {
  display: flex;
  gap: 8px;
  align-items: center;
}

.customer-case-list a:hover,
.customer-more-link:hover {
  text-decoration: underline;
}

.customer-case-list .case-number {
  flex: 0 0 auto;
  margin: 0;
}

.customer-more-link {
  display: inline-block;
  margin-top: 10px;
}

.cmdb-customer-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.cmdb-customer-grid {
  margin-bottom: 24px;
}

.customer-search-form {
  max-width: 900px;
}

.customer-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.customer-search-row input {
  margin: 0;
}

.project-form {
  max-width: 980px;
}

.project-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 14px;
  align-items: end;
}

.project-form-action {
  padding-bottom: 15px;
}

.period-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 24px;
}

.period-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.period-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.period-card strong {
  display: block;
  color: #17212f;
  font-size: 26px;
  line-height: 1.1;
}

.period-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.project-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.project-card-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e8edf2;
}

.project-card h3 {
  margin: 0 0 8px;
  color: #17212f;
  font-size: 24px;
  line-height: 1.18;
}

.case-number {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 4px 8px;
  color: #5b4a22;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  background: #f6f0df;
  border: 1px solid #dfd0a8;
  border-radius: 999px;
}

.project-name {
  display: inline-block;
  max-width: 100%;
  padding: 5px 9px;
  color: #526274;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  background: #eef2f6;
  border: 1px solid #dce3ea;
  border-radius: 999px;
}

.status-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: #263241;
  font-size: 13px;
  font-weight: 700;
  background: var(--accent-soft);
  border: 1px solid #d4e78f;
  border-radius: 999px;
}

.status-badge.muted {
  color: #52616f;
  background: #eef2f6;
  border-color: #d8e0e8;
}

.project-search-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin: 18px 0 24px;
}

.project-empty-card {
  border-style: dashed;
  background: #fbfcfd;
}

.project-metrics {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.metric-value {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.metric-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.project-detail-hero {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.project-detail-hero h1 {
  margin: 8px 0 0;
  text-align: left;
}

.project-hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.project-detail-side {
  display: grid;
  gap: 14px;
  justify-items: end;
  min-width: 170px;
}

.detail-metric {
  padding: 14px 16px;
  text-align: right;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.detail-form {
  max-width: 980px;
}

.detail-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
}

.detail-form-wide {
  grid-column: 1 / -1;
}

.section-header {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-header h2 {
  margin: 0;
  text-align: left;
}

.compact-action-form {
  max-width: none;
  margin: 12px 0 26px;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.worklog-list {
  display: grid;
  gap: 14px;
}

.worklog-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.worklog-employee {
  display: inline-block;
  width: fit-content;
  margin: 0 0 10px;
  padding: 4px 8px;
  color: #435268;
  font-size: 13px;
  font-weight: 800;
  background: #eef2f7;
  border: 1px solid #d5dde8;
  border-radius: 999px;
}

.worklog-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  border-bottom: 1px solid #e8edf2;
}

.worklog-meta strong {
  color: #17212f;
  font-size: 18px;
}

.worklog-text {
  margin-bottom: 14px;
  line-height: 1.55;
}

.overview-filter-form {
  max-width: 980px;
}

.overview-filter-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.overview-filter-action {
  padding-bottom: 15px;
}

.overview-log-heading {
  margin-bottom: 12px;
}

.overview-log-heading h3 {
  margin: 0 0 5px;
  color: #17212f;
  font-size: 22px;
  line-height: 1.2;
}

.overview-log-heading span {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.user-form {
  max-width: 460px;
}

.export-form {
  max-width: 520px;
}

.cmdb-select-form {
  max-width: 520px;
}

.device-form {
  max-width: 980px;
}

.device-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 18px;
}

.device-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.device-card-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e8edf2;
}

.device-card h3 {
  margin: 0 0 5px;
  color: #17212f;
  font-size: 22px;
  line-height: 1.2;
}

.device-subtitle {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.device-category {
  display: inline-block;
  width: fit-content;
  margin-top: 8px;
  padding: 4px 8px;
  color: #34495f;
  font-size: 13px;
  font-weight: 800;
  background: #eef4fb;
  border: 1px solid #cfdeee;
  border-radius: 999px;
}

.device-details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.device-details > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
}

.device-details dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.device-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.device-details a {
  color: #2455a6;
  font-weight: 700;
  text-decoration: none;
}

.device-details a:hover {
  text-decoration: underline;
}

.device-password-row {
  align-items: center;
}

.device-details .password-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.device-details .password-tools input {
  flex: 1 1 180px;
  min-width: 0;
  margin: 0;
  font-family: Consolas, monospace;
}

.device-details .password-tools .btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 92px;
  min-height: 36px;
  padding: 8px 10px;
  white-space: nowrap;
}

.todo-form {
  max-width: 980px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 22px 0 28px;
}

.customer-welcome {
  margin: 20px 0 22px;
  padding: 16px 18px;
  color: #17212f;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.customer-welcome a {
  color: #2455a6;
  text-decoration: none;
}

.customer-welcome a:hover {
  text-decoration: underline;
}

.customer-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.customer-welcome-actions .btn {
  color: #333;
  font-size: 14px;
  text-decoration: none;
}

.customer-welcome-actions .btn:hover {
  text-decoration: none;
}

.dashboard-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.dashboard-card-cases {
  background: #f1f7ff;
  border-color: #c8dbf2;
}

.dashboard-card-week {
  background: #f2fbf6;
  border-color: #c8e7d3;
}

.dashboard-card-month {
  background: #f8f5ff;
  border-color: #ddd2f3;
}

.dashboard-card-backups {
  background: #fff6f4;
  border-color: #efc9c3;
}

.dashboard-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-card strong {
  display: block;
  color: #17212f;
  font-size: 26px;
  line-height: 1.1;
}

.dashboard-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.home-cases-section {
  margin: 8px 0 28px;
}

.home-case-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.home-case-item {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.home-case-item:hover {
  border-color: #b8c7d6;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.home-case-item .case-number {
  flex: 0 0 auto;
  margin: 0;
}

.home-case-item strong,
.home-case-item small {
  display: block;
}

.home-case-item strong {
  margin-bottom: 4px;
  color: #17212f;
}

.home-case-item small {
  color: var(--muted);
  font-weight: 700;
}

.time-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr auto;
  gap: 12px;
  align-items: end;
}

.time-filter-action {
  align-self: end;
}

.employee-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0 26px;
}

.employee-summary-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.employee-summary-card span,
.employee-summary-card small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.employee-summary-card strong {
  display: block;
  margin: 8px 0 6px;
  color: #17212f;
  font-size: 24px;
}

.todo-form-grid,
.todo-edit-grid {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 14px;
  align-items: end;
}

.todo-form-action {
  padding-bottom: 15px;
}

.todo-status-form select,
.todo-status {
  margin: 0;
  font-weight: 700;
  text-align: center;
}

.todo-status-open {
  background: #dcfce7;
  border-color: #86efac;
}

.todo-status-wacht-op-klant {
  background: #fed7aa;
  border-color: #fdba74;
}

.todo-status-in-behandeling {
  background: #dbeafe;
  border-color: #93c5fd;
}

.todo-status-inplannen {
  background: #fef3c7;
  border-color: #fcd34d;
}

.todo-status-factureren {
  background: #ede9fe;
  border-color: #c4b5fd;
}

.todo-edit-form {
  max-width: none;
}

.center {
  text-align: center;
}

.hidden,
#klantForm,
#projectForm,
#materiaalForm,
#apparaatForm {
  display: none;
}

.succes {
  color: #15803d;
  font-weight: 700;
}

.mislukt {
  color: #b91c1c;
  font-weight: 700;
}

.small,
.subtitle,
.footer {
  color: var(--muted);
  font-size: 13px;
}

.subtitle {
  margin: -8px auto 22px;
  text-align: center;
}

.footer {
  margin-top: 24px;
  text-align: center;
}

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

.grid .card {
  margin: 0;
}

.topline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #cfd8e3;
  border-radius: 50%;
  vertical-align: middle;
}

.dot.green {
  background: #18a058;
  border-color: #18a058;
  box-shadow: 0 0 0 4px rgba(24, 160, 88, 0.12);
}

.dot.yellow {
  background: #facc15;
  border-color: #facc15;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.18);
}

.dot.red {
  background: #d92d20;
  border-color: #d92d20;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.12);
}

.dot.white {
  background: #fff;
}

.job-title {
  font-size: 18px;
  font-weight: 700;
}

.status {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
}

.meta {
  color: #5f6f80;
  font-size: 14px;
  line-height: 1.6;
}

.subject {
  margin-top: 10px;
  color: #738295;
  font-size: 13px;
  word-break: break-word;
}

body.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

body.login-page form {
  max-width: 400px;
  margin: 0;
}

body.login-page button {
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 900px) {
  body {
    padding: 20px;
  }

  body > :not(.link):not(script) {
    max-width: none;
  }

  .container {
    padding-top: 104px;
    background-position: center 22px;
    background-size: 180px auto;
  }

  .link {
    position: static;
    width: auto;
    margin: -20px -20px 20px;
    box-shadow: none;
  }

  .wan-ip-badge {
    top: 22px;
    left: 20px;
  }

  .row,
  .form-grid,
  .customer-form-grid,
  .customer-search-row,
  .project-form-grid,
  .device-form-grid,
  .time-filter-grid,
  .todo-form-grid,
  .todo-edit-grid {
    display: block;
  }

  .customer-grid,
  .period-summary,
  .project-grid,
  .device-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .customer-card-header,
  .customer-details div,
  .project-card-header,
  .project-detail-hero,
  .section-header,
  .worklog-meta,
  .device-card-header,
  .device-details div {
    display: block;
  }

  .device-details .password-tools {
    display: grid;
    grid-template-columns: 1fr;
  }

  .device-details .password-tools .btn {
    width: 100%;
  }

  .project-detail-side {
    justify-items: start;
    margin-top: 16px;
  }

  .detail-form-grid {
    display: block;
  }

  .overview-filter-grid {
    display: block;
  }

  .customer-card-header .btn,
  .project-card-header .status-badge {
    margin-top: 12px;
  }

  table {
    display: block;
    overflow-x: auto;
    table-layout: auto;
  }
}
