@layer base{
  button:not([disabled]), [role="button"]:not([disabled]){
    cursor: pointer;
  }
}
:root{
  --primary-color: #10b981; /* Emerald 500 */
}
html{
  /*overflow-y: scroll;*/
}
body{
  font-family: 'Inter', sans-serif;
  background-color: #0f172a; /* Slate 900 */
}
body[data-theme="blue"] {
    --head-bg: #007bff; --head-fg: white;
    --foot-bg: #71AFFF; --foot-fg: white;
    --row-bg: white;
    --row-border: #dddddd;
}
body[data-theme="dark"] {
    --head-bg: #1e293b; --head-fg: #94a3b8;
    --foot-bg: #334155; --foot-fg: #94a3b8;
    --row-bg: #0f172a; --row-fg: #e2e8f0;
    --row-border: #475569;
}
body[data-theme="green"] {
    --head-bg: #065f46; --head-fg: #d1fae5;
    --foot-bg: #6ee7b7; --foot-fg: #065f46;
    --row-bg: #f0fdf4;
    --row-border: #a7f3d0;
}
body[data-theme="warm"] {
    --head-bg: #92400e; --head-fg: #fef3c7;
    --foot-bg: #fde68a; --foot-fg: #78350f;
    --row-bg: #fffbeb;
    --row-border: #fcd34d;
}
table thead tr th{
    background-color: var(--head-bg) !important;
    color: var(--head-fg) !important;
    border-color: var(--row-border) !important;
}
table tbody tr td, table tbody tr th{
    background-color: var(--row-bg) !important;
    color: var(--row-fg) !important;
    border-color: var(--row-border) !important;
}
table tbody tr.owner td, table tbody tr.owner th{
    background-color: var(--foot-bg) !important;
    color: var(--foot-fg) !important;
}
tbody tr:hover td {
    background-color: #fefce8 !important;
}
tbody tr:hover td:hover {
    background-color: #fef9c3 !important;
    color: black !important;
    border-color: red !important;
    text-decoration: underline red !important;
}
tbody td[title]:not([title=""]) {
    position: relative;
    cursor: help;
}
tbody td[title]:not([title=""])::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 12px 12px 0;
    border-color: transparent #e53e3e transparent transparent;
}
tbody td pre, .swal2-html-container pre{
    text-wrap: auto;
    font-size: var(--text-sm);
    line-height: var(--text-sm--line-height);
}
header img{
  max-height: 30px;
  max-width: 110px;
}
.card{
  background-color: #1e293b; /* Slate 800 */
  border: 1px solid #334155; /* Slate 700 */
  color: white;
}
.card.border-none{
  border-style: none;
}
table.card.p-3 td{
  padding: calc(var(--spacing) * 3);
}
table.card.p-3 th{
  padding: calc(var(--spacing) * 3);
}
.btn, .btns button{
    cursor: pointer;
    display: inline-block;
    padding: 3px 12px;
    border-radius: 9999px;
    color: white;
    text-decoration: none;
    transition: background 0.15s;
}
.btn:hover, .btns button:hover{
    background: #ff6600;
}
.btn.active, .btns button:active{
    background: #10b981;
}
.btn-primary, .btns-primary button{
    background: #007bff;
}
.btn-secondary{
    background: #6b7280;
}
