
.divider {
  margin: 20px 0;
}

table {
  width: 100%;
  margin-top: 50px;
}

.search-container  {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.deploy-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  gap: 10px;
}

.script-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background-color: #eaeff6;
  border-radius: 12px;
  margin-top: 20px;
}

.script-content {
  flex: 2;
  min-width: 60%;
}

.script-params {
  flex: 1;
  min-width: 35%;
}

@media (max-width: 768px) {
  .script-container {
    flex-direction: column;
  }

  .script-content, .script-params {
    min-width: 100%;
  }
}

.select-container {
  margin-top: 20px;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.input-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.input-field {
  flex: 1 1 calc(33.33% - 16px);
  min-width: 250px;
}

.script-preview {
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  font-family: monospace;
  white-space: pre-wrap;
  min-height: 50px;
}

.full-width {
  width: 100%;
  margin-bottom: 16px;
}

.search-string {
  flex: 2;
  padding: 5px;
}

.search-boolean {
  flex: 1;
  padding: 5px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  border-bottom: 1px solid #ddd;
}

.mat-elevation-z8 {
  box-shadow: 0px 0px 0px rgba(0,0,0,0.2);
}

.paginator-container {
  display: flex;
  justify-content: end;
  margin-bottom: 30px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.client-item {
  position: relative;
}

.client-card {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;

  &:hover {
    background-color: #f0f0f0;
    transform: scale(1.02);
  }
}

.client-details {
  margin-top: 4px;
}

.client-name {
  display: block;
  font-size: 1.2em;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.client-ip {
  display: block;
  font-size: 0.9em;
  color: #666;
}

.header-container-title {
  flex-grow: 1;
  text-align: left;
  padding-left: 1em;
}

.button-row {
  display: flex;
  padding-right: 1em;
}

.client-card {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;

  &:hover {
    background-color: #f0f0f0;
    transform: scale(1.02);
  }
}

::ng-deep .custom-tooltip {
  white-space: pre-line !important;
  max-width: 200px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px;
  border-radius: 4px;
}

.selected-client {
  background-color: #a0c2e5 !important;
  color: white !important;
}

.button-row {
  display: flex;
  padding-right: 1em;
}

.disabled-client {
  pointer-events: none;
  opacity: 0.5;
}
