/* container */
.evems-table {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  display: block;
}

/* shared grid definition */
.evems-header,
.evems-row {
  display: grid !important; 
  grid-template-columns: 190px 190px 320px 1fr 180px 60px;
  align-items: center;
  padding: 8px 12px; /* same left/right */
}

.evems-table .evems-header > div,
.evems-table .evems-row > div {
  min-width: 0;
}

.evems-row {  border-bottom: 1px solid #eee; }



/* header */

.evems-header {
  background: #f9fafb;
  font-weight: 600;
  font-size: 0.95rem;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 30px;
}


/* rows */
.evems-row {
  align-items: center;
  border-bottom: 1px solid #eee;
  transition: background 0.15s ease;
  min-height: 44px;
}

/* zebra striping */
.evems-row:nth-child(even) {
  background: #fafafa;
}

.evems-row:hover {
  background: #f0f7ff;
}

/* columns */
.evems-hostname {
  font-weight: 300;
  font-size: 0.95rem;
  color: #374151;
  /*text-decoration: none;*/
}

.evems-guid {
  font-weight: 300;
  font-size: 0.95rem;
  color: #374151;
  text-decoration: none;
}


.evems-id:hover {
  text-decoration: underline;
}

.evems-name {
  color: #374151;
  font-size: 0.95rem;
}

/* actions */
.evems-actions a{
  margin-right: 2px;
  color: #2563eb;          /* same blue as links */
  font-size: 1.1em;
  text-decoration: none;
  
}


.evems-edit {
  color: #2563eb;          /* same blue as links */
  cursor: pointer;
}

.evems-edit:hover {
  color: #1d4ed8;
}

.evems-actions a:hover {
  color: #1d4ed8;
}


/* version */
.evems-version {
  font-size: 0.85rem;
  color: #6b7280;
}

/* status dot */
.evems-status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-left: 25px;
  display: block;
  position: relative;
}


.evems-status.ok { background: #22c55e; }
.evems-status.fail { background: #ef4444; }
.evems-status.unknown { background: #9ca3af; }
.evems-status.loading { opacity: 0.6;}

.evems-status.loading::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background: url(spinner.svg) center / contain no-repeat;
}

/*
.evems-table .evems-row {
  display: grid !important;
}
*/

.evems-desc-input {
  width: 100%;
  box-sizing: border-box;
}


.evems-desc-input {
  width: 100%;
  margin-top: 4px;
}


.evems-row.evems-share-none .evems-guidHR {
  font-weight: 600; /* or 700 if you want stronger */
}

.evems-row.evems-share-none .evems-hostname
{
  font-weight: 600; /* or 700 if you want stronger */
}



.evems-header > div:nth-child(4) {
  text-align: center;
  margin-right: 70px;

}



.evems-row > div:nth-child(5) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.evems-header > div:nth-child(5) {
  text-align: center;
}

.evems-btn {
  padding: 4px 10px;
  font-size: 0.85rem;
  line-height: 1.2;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #111827;
  cursor: pointer;
  border-radius: 10px;
}

.evems-btn:hover {
  background: #e5e7eb;
}

.evems-save {
  border-color: #22c55e;
  color: #166534;
}

.evems-save:hover {
  background: #dcfce7;
}

.evems-cancel {
  border-color: #9ca3af;
  color: #374151;
}

.evems-cancel:hover {
  background: #f3f4f6;
}

.evems-action.evems-disabled {
  opacity: 0.35;
  filter: grayscale(100%);
  cursor: not-allowed;
  pointer-events: none; /* extra safety */
}

.evems-action.evems-disabled:hover {
  background: none;
}

.evems-header > div[data-sort] {
  cursor: pointer;
  user-select: none;
}

.evems-header > div[data-sort]:hover {
  color: #2563eb;
}



