/* HELPER CLASSES */

/* COLORS */
.ws-bg {
  background-color: var(--ws-bg);
}

/* ELEMENTS */
.ws-card {
  background-color: var(--ws-card);
  box-shadow: var(--ws-shadow-card);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 24px;
}


/* TYPOGRAPHY */
.ws-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wv-neutral-900);
  margin: 25px 0 32px 0;
}

.ws-table-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wv-neutral-800);
  margin: 0;
}

/* NAV TABS */
.ws-nav-pills > li > a {
  color: var(--ws-neutral-800);
  border: 0px;
  border-bottom: 3px solid transparent;
  padding: 12px 16px;
  font-weight: 400;
  border-radius: 11px;
  /* transition: background 0.15s ease, color 0.15s ease; */
}

.ws-nav-pills > li > a:hover,
.ws-nav-pills > li > a:focus {
  color: var(--ws-primary);
  background: var(--ws-card);
}

/* active */
.ws-nav-pills > li.active > a,
.ws-nav-pills > li.active > a:hover,
.ws-nav-pills > li.active > a:focus {
  background-color: transparent;
  color: var(--ws-primary);
  font-weight: 600;
  border-bottom-color: var(--ws-primary);
  border-radius: 0;
}

/* TABLES */
.ws-table {
    margin-bottom: 0;
    background: var(--ws-card);
    overflow: hidden;
}

.ws-table thead {
    background-color: rgb(116, 129, 167, 0.05);
}

.ws-table thead th {
    border-bottom: 0 !important;
    color: var(--ws-neutral-800);
    font-weight: 600;
    font-size: 12px;
    line-height: 1.3;
    text-transform: none;
    padding: 14px 14px !important;
}

.ws-table tbody td {
    padding: 16px !important;
    border: 0px !important;
    border-bottom: 1px solid var(--ws-divider) !important;
    color: var(--ws-neutral-800);
    vertical-align: middle;
    font-weight: 400;
    font-size: 14px;
}

.ws-table tbody tr:hover td {
    background: rgba(246, 246, 246, 0.6);
}

.ws-table .text-right {
    font-variant-numeric: tabular-nums;
}

.ws-table .ws-row-link {
    cursor: pointer;
}

.ws-table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ws-icon-button {
    height: 30px;
    width: 30px;
    color: var(--ws-neutral-800);
    border-radius: 999px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ws-table-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 11px;
}

.ws-table-footer .dataTables_info {
    color: var(--ws-neutral-800);
    font-weight: 400;
    font-size: 12px;
    padding: 0;
}

.ws-table-footer .pagination {
    margin: 0;
}

.ws-table-footer .pagination > li > a {
    border: none;
    background: transparent;
    padding: 4px 8px;
    color: var(--ws-neutral-800);
    border-radius: 99px;
}

.ws-table-footer .pagination > li > a:hover {
    background: var(--ws-neutral-50);
    color: var(--ws-primary);
}

.ws-table-footer .pagination > li.disabled > a {
    opacity: 0.4;
}

.ws-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.ws-table-toolbar .dataTables_filter input {
    border-radius: 10px;
    border: 1px solid var(--ws-neutral-200);
    padding: 8px 14px;
    outline: none;
    min-width: 220px;
    transition: border-color .15s ease;
}

.ws-table-toolbar .dataTables_filter input:focus {
    border-color: var(--ws-neutral-400);
}

/* OTHER */
.ws-cell-horse {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ws-avatar {
    display: inline-block;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px var(--ws-neutral-200);
}

/* sizes */
.ws-avatar-24 {
    width: 24px;
    height: 24px;
}

.ws-avatar-40 {
    width: 40px;
    height: 40px;
}

.ws-avatar-60 {
    width: 60px;
    height: 60px;
}
