.effected {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 250ms; }

.status-200, .running {
  background-color: #d3f7c9;
  color: #22650f;
  border: 1px solid #3fbe1c; }
  .status-200:hover, .running:hover {
    background-color: #c1f4b3;
    text-decoration: none; }
  .status-200 .animate-pulse, .running .animate-pulse {
    background-color: #3fbe1c; }

.status-204, .idle {
  background-color: #cbe6f7;
  color: #104567;
  border: 1px solid #1d81bf; }
  .status-204:hover, .idle:hover {
    background-color: #b5dbf4;
    text-decoration: none; }
  .status-204 .animate-pulse, .idle .animate-pulse {
    background-color: #1d81bf; }

.status-304, .new {
  background-color: #cbe6f7;
  color: #020a0e;
  border: 1px solid #104567; }
  .status-304:hover, .new:hover {
    background-color: #b5dbf4;
    text-decoration: none; }
  .status-304 .animate-pulse, .new .animate-pulse {
    background-color: #1d81bf; }

.status-404, .offline {
  background-color: #fff7c7;
  color: #7b6900;
  border: 1px solid #e1c000; }
  .status-404:hover, .offline:hover {
    background-color: #fff3ae;
    text-decoration: none; }
  .status-404 .animate-pulse, .offline .animate-pulse {
    background-color: #e1c000; }

.status-503, .status-502, .status-500, .unavailable, .error {
  background-color: #fcc9bc;
  color: #681905;
  border: 1px solid #c93009; }
  .status-503:hover, .status-502:hover, .status-500:hover, .unavailable:hover, .error:hover {
    background-color: #fbb5a4;
    text-decoration: none; }
  .status-503 .animate-pulse, .status-502 .animate-pulse, .status-500 .animate-pulse, .unavailable .animate-pulse, .error .animate-pulse {
    background-color: #c93009; }

.flash {
  color: #fff;
  transition-property: color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 250ms; }
  .flash.detail {
    color: limegreen; }

.clock {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 0.2rem;
  padding: 0.3rem;
  font-family: 'Monaco', monospace;
  font-size: 0.8rem;
  color: gainsboro;
  font-weight: normal;
  margin-bottom: 2em; }
.field-yaml textarea{
  background-color: #ebebeb;
  color: #333;
  font-family: monospace;
  padding: 1em;
  min-height: 80em;
}

/* Three-state select checkbox */
#select-all {
  cursor: pointer;
}

.node-overview__heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.node-overview__timestamp { color: #64748b; font-size: .8rem; margin-top: .5rem; }
.node-overview__legend { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.node-overview__legend form { margin: 0; }
.node-overview__toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.node-overview__toolbar .node-overview__legend { flex: 1; margin-bottom: 0; }
.node-overview__monitor-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.node-overview__sort { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0; }
.node-overview__sort label { margin: 0; font-size: .7rem; color: #475569; white-space: nowrap; }
.node-overview__sort select { width: auto; max-width: 100%; margin: 0; padding: .3rem 1.5rem .3rem .5rem; font-size: .7rem; }
.node-overview__monitor-toggle { white-space: nowrap; }
.node-overview__monitor-count { display: none; font-size: .75rem; color: #475569; white-space: nowrap; }
.node-overview__monitor-status { color: #9f1239; font-size: .7rem; }
.node-overview__monitor-status:empty { display: none; }
.node-overview__filter { cursor: pointer; border: 2px solid transparent; padding: .35rem .75rem; line-height: 1.5; text-transform: none; box-shadow: none; }
.node-overview__filter:hover { border-color: currentColor; }
.node-overview__filter[aria-pressed="true"] { border-color: currentColor; box-shadow: 0 0 0 2px #fff, 0 0 0 3px currentColor; }
.node-overview__filter:focus-visible { outline: 2px solid #0f172a; outline-offset: 4px; }
.node-overview__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .65rem 1rem; }
.node-overview__tile { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; padding: .65rem .85rem; border: 1px solid #cbd5e1; border-top: 4px solid #64748b; border-radius: .75rem; background: #f8fafc; color: #0f172a; text-decoration: none; overflow-wrap: anywhere; }
.node-overview__tile:hover, .node-overview__tile:focus-visible { box-shadow: 0 4px 12px #0f172a20; text-decoration: none; outline: 2px solid #64748b; outline-offset: 2px; color: #0f172a; }
.node-overview__tile--ok { border-top-color: #15803d; background: #f0fdf4; }
.node-overview__tile--ready { border-top-color: #0369a1; background: #f0f9ff; }
.node-overview__tile--warning { border-top-color: #b45309; background: #fffbeb; }
.node-overview__tile--error { border-top-color: #be123c; background: #fff1f2; }
.node-overview__company { color: #475569; font-size: .75rem; line-height: 1.3; }
.node-overview__name { font-size: 1.05rem; line-height: 1.3; }
.node-overview__details { font-size: .7rem; color: #64748b; }
.node-overview__signal { font-size: .7rem; line-height: 1.35; color: #475569; margin-top: auto; padding-top: .15rem; }
.node-overview__badge { display: inline-block; border-radius: 1rem; padding: .2rem .65rem; font-size: .7rem; font-weight: 600; color: #475569; background: #e2e8f0; }
.node-overview__badge--ok { color: #166534; background: #dcfce7; }
.node-overview__badge--ready { color: #075985; background: #e0f2fe; }
.node-overview__badge--warning { color: #92400e; background: #fef3c7; }
.node-overview__badge--error { color: #9f1239; background: #ffe4e6; }

body.node-monitor-active { overflow: hidden; }
body.node-monitor-active .app-container > :not(.main-content),
body.node-monitor-active .main-content > :not(.node-overview) { display: none; }
.node-overview.is-monitor { position: fixed; inset: 0; z-index: 10000; width: 100vw; height: 100vh; height: 100dvh; box-sizing: border-box; margin: 0; padding: 10px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; background: #f8fafc; }
.node-overview.is-monitor .node-overview__heading,
.node-overview.is-monitor .node-overview__hint,
.node-overview.is-monitor .node-overview__explanation { display: none; }
.node-overview.is-monitor .node-overview__toolbar { flex: 0 0 auto; margin: 0; gap: 6px; }
.node-overview.is-monitor .node-overview__legend { gap: 5px; min-width: 0; }
.node-overview.is-monitor .node-overview__monitor-count { display: inline; }
.node-overview.is-monitor .node-overview__monitor-toggle { padding: .3rem .65rem; font-size: .75rem; }
.node-overview.is-monitor .node-overview__grid { flex: 1; min-width: 0; min-height: 0; grid-template-columns: repeat(var(--monitor-columns, 1), minmax(0, 1fr)); grid-template-rows: repeat(var(--monitor-rows, 1), minmax(0, 1fr)); gap: var(--monitor-gap, 4px); overflow: hidden; }
.node-overview.is-monitor .node-overview__tile { min-width: 0; min-height: 0; padding: var(--monitor-padding, 3px); gap: var(--monitor-item-gap, 2px); border-top-width: 3px; border-radius: 5px; overflow: hidden; }
.node-overview.is-monitor .node-overview__company { flex-shrink: 0; max-width: 100%; font-size: var(--monitor-company-font, 9px); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node-overview.is-monitor .node-overview__name { flex: 1; min-height: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--monitor-font, 11px); line-height: 1.1; }
.node-overview.is-monitor .node-overview__tile > .node-overview__badge { flex-shrink: 0; max-width: 100%; padding: 1px 4px; font-size: var(--monitor-status-font, 9px); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node-overview.is-monitor .node-overview__details,
.node-overview.is-monitor .node-overview__signal { display: none; }
.node-overview.is-monitor.has-monitor-details .node-overview__signal { display: block; flex-shrink: 0; max-width: 100%; margin: 0; padding: 0; font-size: clamp(8px, var(--monitor-company-font), 11px); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node-overview.is-monitor > [data-overview-empty]:not([hidden]) { margin: 0; }

#node-overview-company { max-width: 15rem; }
@tailwind base;
@tailwind components;
@tailwind utilities;

.page.active {
  @apply text-blue-400;
}

.node-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1.5rem;
}

.node-card-status {
  min-width: 0;
  border: 1px solid rgba(100, 116, 139, .4);
  border-radius: 1rem;
  background: rgba(15, 23, 42, .2);
  padding: .5rem;
}
.node-card-actions { display: flex; gap: .625rem; flex-shrink: 0; }
.node-card-actions a { justify-content: center; }
.node-card-body { padding: 1.25rem 1.5rem; }
.node-card-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}
.node-card-dates {
  display: grid;
  flex: 0 0 auto;
  max-width: 100%;
  gap: .375rem;
}
.node-card-date {
  display: grid;
  grid-template-columns: 11rem max-content;
  align-items: baseline;
  gap: .75rem;
  font-size: .75rem;
  line-height: 1.5;
  text-transform: uppercase;
}
.node-card-date-label { color: #94a3b8; letter-spacing: .08em; }
.node-card-date-value {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border-radius: 9999px;
  padding: .25rem .75rem;
  background: rgba(16, 185, 129, .08);
  color: #047857;
  font-weight: 600;
  letter-spacing: .08em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.node-card-date-value.text-blue-700 {
  background: rgba(59, 130, 246, .09);
  color: #1d4ed8;
}
.node-card .register { overflow-wrap: anywhere; }

@media (max-width: 639px) {
  .node-card-header, .node-card-body { padding: 1rem; }
  .node-card-status { flex-direction: column; align-items: flex-start; }
  .node-card-actions { width: 100%; }
  .node-card-actions a { flex: 1; }
  .node-card-summary, .node-card-dates { width: 100%; }
  .node-card-date { grid-template-columns: minmax(0, 1fr); gap: .125rem; }
  .node-card-dates { gap: .625rem; }
  .node-card .tracking-widest { letter-spacing: .04em; }
  .node-card-date-value { letter-spacing: .035em; }
}
/* Minimal Chosen tweaks for dark navigation */
.chosen-container .chosen-single {
  background: #0f172a;
  border: 1px solid #475569;
  color: #e2e8f0;
  height: 30px;
  line-height: 30px;
}

.chosen-container-active .chosen-single,
.chosen-container .chosen-single:hover {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px #22c55e66;
}

.chosen-container .chosen-drop {
  background: #0f172a;
  border: 1px solid #475569;
}

.chosen-container .chosen-results li.highlighted {
  background: #22c55e;
  color: #0f172a;
}

.chosen-container-single .chosen-search input[type="text"] {
  background: #0f172a;
  border: 1px solid #475569;
  color: #e2e8f0;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
