/*
Theme Name: Transparenzbekanntmachung
Theme URI: https://www.ceeju.io
Author: Ruben Heppner / Ceeju
Author URI: https://www.ceeju.io
Description: Simple WordPress theme for Transparenzbekanntmachung.
Version: 0.0.1
Text Domain: transparenzbekanntmachung
*/

@font-face {
  font-family: "Krypitschu M Head";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/krypitschu-m/tb-font-head.woff2") format("woff2");
}

@font-face {
  font-family: "Krypitschu M Body";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/krypitschu-m/tb-font-body.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --text: #191919;
  --accent: #2B44FF;
  --grey: #E5E5E5;
  --max: 90vw;
  --pad: 20px;
  --radius: 24px;
  --tb-font-heads: "Krypitschu M Head", "Helvetica Neue", "Arial", sans-serif;
  --body: "Krypitschu M Body", "Helvetica Neue", "Arial", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}

.auth-card {
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.tb-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
}

.tb-modal-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.tb-modal-card h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 400;
}

.tb-modal-card p {
  margin: 0 0 20px;
}

.auth-card h2 {
  margin: 0 0 20px;
  font-size: 1.5rem;
  font-weight: 400;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  font-size: 0.9rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"],
.auth-form input[type="file"],
.auth-form input[type="date"],
.auth-form textarea,
.auth-form select {
  width: 100%;
  padding: 12px 16px;
  padding-right: 40px;
  min-height: 48px;
  border: 1px solid #dcdcdc;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--body);
}

.auth-form select {
  padding-right: 56px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23191919' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  background-size: 12px 8px;
}

.auth-form button {
  margin-top: 8px;
  padding: 12px 18px;
  min-height: 48px;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  min-height: 48px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.auth-checkbox-text {
  line-height: 1.4;
}

.auth-checkbox input[type="checkbox"] {
  --checkbox-size: 18px;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  cursor: pointer;
  flex: 0 0 var(--checkbox-size);
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  min-width: var(--checkbox-size);
  min-height: var(--checkbox-size);
  max-width: var(--checkbox-size);
  max-height: var(--checkbox-size);
  aspect-ratio: 1 / 1;
  line-height: 1;
  border: 1.5px solid #d1d5db;
  border-radius: 50%;
  display: inline-grid;
  place-content: center;
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-checkbox input[type="checkbox"]:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.auth-checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(43, 68, 255, 0.4);
  outline-offset: 2px;
}

.auth-message {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.auth-message--error {
  background: #ffe8e8;
  color: #8a1c1c;
  border: 1px solid #f3c0c0;
}

.auth-message--success {
  background: #e8f1ff;
  color: #1f4aa3;
  border: 1px solid #b8d3ff;
}

.auth-message--success.auth-message--auto-hide {
  animation: authMessageFade 3s ease 1.5s forwards;
}

@keyframes authMessageFade {
  to {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.auth-footer {
  margin-top: 16px;
  font-size: 0.9rem;
}

.auth-hint {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
}

.site-header {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 1000;
}

.site-header .container {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  padding: 0 var(--pad);
}

.site-title {
  margin: 0;
  font-size: 1em;
  font-weight: 400;
  font-family: var(--body);
}

.site-title a {
  color: var(--text);
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 20px;
  font-size: 1em;
  font-family: var(--body);
}

.header-link {
  color: #191919;
  text-decoration: none;
}

.header-link:hover,
.header-link:focus {
  text-decoration: underline;
}

body:not(.logged-in) .only-logged-in {
  display: none !important;
}

body.logged-in .only-logged-out {
  display: none !important;
}


.site-footer {
  background: transparent;
  position: static;
  height: 50px;
  z-index: 1000;
  font-size: 1em;
  color: var(--text);
}

.site-footer .container {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  padding: 0 var(--pad);
}

.footer-left {
  font-family: var(--body);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 20px;
  font-family: var(--body);
  font-size: 0.9rem;
}

.footer-nav .header-link {
  color: var(--text);
}

@media (max-width: 1199px) {
  .site-footer {
    height: auto;
  }

  .site-footer .container {
    height: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    max-width: 100%;
    padding-top: 16px;
    padding-bottom: 48px;
  }

  .footer-nav {
    order: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-left {
    order: 2;
    color: var(--text);
  }

  .footer-nav .header-link {
    color: var(--text) !important;
  }

  .site-header .container,
  .site-footer .container {
    max-width: 100%;
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.front-main {
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
}

.split-main {
  min-height: calc(100vh - 100px);
  padding-top: 50px;
}

.page-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - 100px);
}

.page-split-left {
  padding: 80px 20% 80px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-split-layout:has(.dashboard-tabs),
.page-dashboard .page-split-layout,
.page-template-page-dashboard-php .page-split-layout {
  grid-template-columns: 2fr 1fr;
}

.page-split-left:has(.dashboard-tabs),
.page-dashboard .page-split-left,
.page-template-page-dashboard-php .page-split-left {
  justify-content: flex-start;
  padding-right: var(--pad);
}

.page-split-left:has(.dashboard-tabs) .front-content,
.page-dashboard .front-content,
.page-template-page-dashboard-php .front-content {
  width: 100%;
}

.page-split-left:has(.dashboard-tabs) .dashboard-tabs,
.page-dashboard .dashboard-tabs,
.page-template-page-dashboard-php .dashboard-tabs {
  width: 100%;
  max-width: none;
}

.page-split-right {
  position: sticky;
  top: 50px;
  height: calc(100vh - 100px);
  background: var(--grey);
  overflow: hidden;
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.page-split-right .front-video,
.page-split-right .front-bg-image,
.page-split-right .front-video iframe {
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.front-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.front-col--left {
  background: var(--bg);
  padding: 80px var(--pad) 80px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.front-auth {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.front-content h1 {
  margin: 0 0 12px;
  font-size: 3em;
  font-weight: 400;
}

.auth-card--inline {
  width: min(520px, 100%);
  box-shadow: none;
  border: 1px solid #e6e6e6;
}

.auth-card--full {
  width: 100%;
}

.front-brand {
  margin-top: auto;
}

.front-brand-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.front-brand-logo {
  display: block;
  width: 120px;
  height: auto;
  margin-top: 8px;
}

.right-brand {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 1;
  gap: 12px;
}

.right-brand-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.right-brand-logo {
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
}

.front-col--right {
  background: var(--grey);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 80px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 80px var(--pad);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}



.dashboard-column-left {
  align-items: flex-start;
  justify-content: flex-start;
}

.dashboard-layout .dashboard-column-right,
.page-dashboard .dashboard-column-right,
.page-template-page-dashboard-php .dashboard-column-right {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: flex-end !important;
  text-align: left;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.dashboard-layout .glass-card--dashboard {
  align-self: center;
  margin: 0 auto;
  width: 480px;
  max-width: 100%;
  box-sizing: border-box;
}

.dashboard-left-content {
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
}

.glass-card {
  position: relative;
  z-index: 1;
  width: min(520px, 80%);
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #000;
  backdrop-filter: blur(18px) saturate(160%) url(#glass-displacement);
  -webkit-backdrop-filter: blur(18px) saturate(160%) url(#glass-displacement);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.glass-card h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 400;
}

.glass-card--dashboard {
  margin: 0;
  color: #fff;
}

.glass-card p {
  margin: 0;
  line-height: 1.5;
}

.glass-filter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.front-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.front-bg-image--mobile {
  display: none;
}

.front-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.front-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  color: var(--text);
}

.responsive-table caption {
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: left;
  font-family: var(--tb-font-heads);
}

.responsive-table thead {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.responsive-table tbody,
.responsive-table tr,
.responsive-table th,
.responsive-table td,
.responsive-table tfoot {
  display: block;
  padding: 0;
  text-align: left;
  white-space: normal;
}

.responsive-table tbody tr {
  margin-bottom: 12px;
  border: 1px solid #e6e6e6;
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
}

.responsive-table tbody tr:last-of-type {
  margin-bottom: 0;
}

.responsive-table th,
.responsive-table td {
  padding: 6px 0;
  vertical-align: middle;
}

.responsive-table th[scope="row"] {
  font-weight: 500;
  padding-bottom: 10px;
}

.responsive-table td {
  text-align: right;
  border-bottom: 1px solid #eee;
}

.responsive-table td[data-title]::before {
  content: attr(data-title);
  float: left;
  font-size: 0.75rem;
  color: #777;
}

.responsive-table tfoot {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #666;
}

.responsive-table tfoot td {
  border: 0;
  padding-top: 10px;
  text-align: left;
}

.dashboard-desc-cell {
  font-weight: 500;
}

.dashboard-status-cell,
.dashboard-date-cell,
.dashboard-delete-cell {
  white-space: nowrap;
}

.dashboard-delete-cell {
  text-align: center;
}

.dashboard-link-cell {
  white-space: normal;
  overflow-wrap: anywhere;
  position: relative;
}

.dashboard-copy {
  border: 1px solid #dcdcdc;
  background: #f7f7f7;
  padding: 6px 8px;
  border-radius: var(--radius);
  color: #333;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.dashboard-copy-url {
  display: none;
}

.dashboard-copy-icon {
  display: block;
  flex: 0 0 auto;
}

.dashboard-copy:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.dashboard-copy-status {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  transform: translateY(4px);
  background: #fff;
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.dashboard-link-cell:hover .dashboard-copy-status {
  opacity: 1;
  transform: translateY(0);
}

.dashboard-copy-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dashboard-copy-status.is-hiding {
  opacity: 0 !important;
  transform: translateY(4px) !important;
}

.dashboard-delete-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translate(-50%, 4px);
  background: #fff;
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.dashboard-delete-cell:hover .dashboard-delete-tooltip,
.dashboard-delete-cell:focus-within .dashboard-delete-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dashboard-date-full {
  display: none;
}

.dashboard-date-short {
  display: inline-block;
  font-family: var(--body);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 48em) {
  .responsive-table {
    font-size: 0.95rem;
  }

  .responsive-table thead {
    position: relative;
    clip: auto;
    height: auto;
    width: auto;
    overflow: visible;
  }

  .responsive-table tbody {
    display: table-row-group;
  }

  .responsive-table tfoot {
    display: table-footer-group;
  }

  .responsive-table tr {
    display: table-row;
  }

  .responsive-table th,
  .responsive-table td {
    display: table-cell;
    padding: 10px 8px;
  }

  .responsive-table th {
    background: rgba(43, 68, 255, 0.08);
    border: 1px solid rgba(43, 68, 255, 0.2);
    text-align: left;
    font-weight: 500;
  }

  .responsive-table td {
    border: 1px solid #e6e6e6;
    text-align: left;
  }

  .responsive-table tbody tr {
    margin-bottom: 0;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .responsive-table tbody tr:nth-of-type(even) {
    background: #fafafa;
  }

  .responsive-table td[data-title]::before {
    content: none;
  }

  .responsive-table th[scope="row"] {
    background: transparent;
    border: 1px solid #e6e6e6;
    font-weight: 400;
  }

  .dashboard-desc-cell {
    width: 32%;
  }

  .dashboard-status-cell,
  .dashboard-date-cell {
    text-align: center;
  }

  .dashboard-link-cell {
    width: 30%;
    text-align: left;
  }

  .dashboard-copy {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 12px;
    text-align: left;
  }

  .dashboard-copy-url {
    display: block;
    width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 0.85rem;
    line-height: 1.35;
  }

  .dashboard-copy-icon {
    display: none;
  }

  .dashboard-delete-cell {
    text-align: center;
  }

  .dashboard-date-full {
    display: inline;
  }

  .dashboard-date-short {
    display: none;
  }

}

.dashboard-delete-form {
  margin: 0;
}

.dashboard-delete-wrap .dashboard-delete-form {
  display: flex;
  justify-content: center;
}

.dashboard-delete {
  border: 1px solid #dcdcdc;
  background: #f7f7f7;
  padding: 6px 8px;
  border-radius: var(--radius);
  color: #333;
  cursor: pointer;
}

.dashboard-delete:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dashboard-delete:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.dashboard-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e6f6ea;
  color: #1f6b3a;
  font-size: 0.75rem;
  font-weight: 500;
}

.dashboard-status-pill--planned {
  background: #fff4cc;
  color: #7a5b00;
}

.dashboard-action-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 6px;
}

.dashboard-user {
  color: var(--text);
}

.dashboard-user p {
  margin: 0 0 12px;
}

.dashboard-user-intro {
  padding-top: 25px;
}

.dashboard-user .dashboard-action {
  color: var(--text);
}

.dashboard-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 3px 12px;
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
}

.dashboard-action svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.dashboard-action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.front-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  border: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  border-radius: var(--radius);
}

@media (max-width: 1199px) {
  body {
    overflow-x: hidden;
  }

  .front-grid {
    grid-template-columns: 1fr;
  }

  .page-split-layout {
    grid-template-columns: 1fr;
  }

  .page-split-left {
    padding: 40px var(--pad);
    order: 1;
    justify-content: flex-start;
  }

  .page-split-right {
    position: relative;
    top: auto;
    height: 30vh;
    margin-top: 24px;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    order: 2;
  }


  .page-split-right .front-video,
  .page-split-right .front-bg-image,
  .page-split-right .front-video iframe {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .dashboard-layout .glass-card--dashboard {
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
  }

  .front-main {
    height: auto;
    min-height: 100vh;
    width: 100%;
  }

  .front-col--left {
    padding: 40px var(--pad);
    overflow: visible;
  }

  .front-col--right {
    order: 2;
    padding: 40px var(--pad);
    min-height: 30vh;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .dashboard-layout .dashboard-column-right,
  .page-dashboard .dashboard-column-right,
  .page-template-page-dashboard-php .dashboard-column-right {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .front-col--left {
    order: 1;
  }

  .front-video,
  .front-bg-image,
  .front-video iframe {
    border-radius: var(--radius);
  }

  .front-video {
    display: none;
  }

  .front-bg-image--mobile {
    display: block;
  }
}
h1,
h2,
h3,
h4,
h5,
h6,
.glass-card h2 {
  font-family: var(--tb-font-heads);
  line-height: 1.1;
}

h3 {
  font-size: 1.4em;
}
.dashboard-tabs {
  display: grid;
  gap: 20px;
  width: 100%;
}

.dashboard-tab-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 10px;
}

.dashboard-tab {
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 0.95rem;
  cursor: pointer;
}

.dashboard-tab.is-active {
  border-color: #dcdcdc;
  background: #f7f7f7;
}

.dashboard-tab-panel {
  display: none;
}

.dashboard-tab-panel.is-active {
  display: block;
}

.dashboard-user-approval-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 170px;
}

.dashboard-user-approval-form {
  margin: 0;
}

.dashboard-user-approval {
  border: 1px solid transparent;
  border-radius: var(--radius);
  width: 100%;
  padding: 6px 8px;
  font-family: var(--body);
  font-size: 0.75rem;
  line-height: 1.1;
  cursor: pointer;
  color: #fff;
  white-space: nowrap;
  text-align: center;
}

.dashboard-user-approval--approve {
  background: #1f8a4c;
  border-color: #1f8a4c;
}

.dashboard-user-approval--reject {
  background: #c73636;
  border-color: #c73636;
}

.dashboard-user-approval:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 47.99em) {
  .dashboard-user-approval-cell {
    text-align: left !important;
  }
}

@media (min-width: 48em) {
  .dashboard-users-table {
    table-layout: fixed;
  }

  .dashboard-users-table th,
  .dashboard-users-table td {
    overflow-wrap: anywhere;
  }

  .dashboard-users-table th:nth-child(4),
  .dashboard-users-table td:nth-child(4) {
    width: 170px;
  }
}

.dashboard-delete-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
