/** BASE **/
* {
  font-family: 'Kanit', sans-serif;
}

html,
body {
  font-size: 13px !important;
}

.disabled {
  pointer-events: none;
  opacity: 0.6;
}

.table>tbody>tr>td {
  vertical-align: middle;
}

/* Pattern Cards */
.pattern-card {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #e4e6ef;
}

.pattern-card:hover {
  border-color: #009ef7;
  box-shadow: 0 4px 20px rgba(0, 158, 247, 0.1);
}

.pattern-card.active {
  border-color: #009ef7;
  background-color: #f8faff;
  box-shadow: 0 4px 20px rgba(0, 158, 247, 0.2);
}

.pattern-card.active h5 {
  color: #009ef7;
}

/* Names list styles */
.name-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 5px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.name-item:hover {
  background: #e9ecef;
}

.name-delete-btn {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.name-item:hover .name-delete-btn {
  opacity: 1;
}

/* Loading Spinner */
.spinner-c7wet2-wrapper {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #000;
  opacity: 0.5;
}

.spinner-c7wet2 {
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: fixed;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(farthest-side, #474bff 94%, #0000) top/9px 9px no-repeat, conic-gradient(#0000 30%, #474bff);
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 9px), #000 0);
  animation: spinner-c7wet2 1s infinite linear;
}

@keyframes spinner-c7wet2 {
  100% {
    transform: rotate(1turn);
  }
}
