.user {
    display: flex;
    align-items: center;
    gap: 2px;
}

.avatar img,
.avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #6f42c1;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

th {
    font-size: 12px;
    font-weight: normal;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--da-border-strong);
}

td:not(:first-child) {
    padding-left: 10px;
}

th:not(:first-child) {
    padding-left: 10px;
}

td {
    padding: 0;
    font-size: 14px;
}

tr {
    padding-bottom: 10px;
}

tr .hidden-menu {
    visibility: hidden;
}

tr:hover .hidden-menu {
    visibility: visible;
}

.swal2-confirm {
    background-color: #0078d4 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 2px !important;
    height: 32px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 32px !important;
    cursor: pointer !important;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    transition: background-color 0.2s ease !important;
}

.swal2-confirm:hover {
    background-color: #106ebe !important;
}

.swal2-cancel {
    background-color: transparent !important;
    color: var(--da-text) !important;
    border: 1px solid var(--da-border-strong) !important;
    border-radius: 2px !important;
    height: 32px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
    line-height: 32px !important;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.swal2-cancel:hover {
    background-color: var(--da-surface-alt) !important;
}

.swal2-popup {
    border-radius: 0 !important;
}

.swal2-confirm:focus,
.swal2-cancel:focus {
    outline: none !important;
    box-shadow: none !important;
}

tbody>tr:hover {
    background-color: var(--da-row-hover);
}

th:hover {
    border-right: 1px solid var(--da-border-strong);
    background-color: var(--da-row-hover);
}

.caret-off::after {
    display: none;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

.swal2-input {
    border-radius: 0 !important;
    height: 30px !important;
    font-size: 14px !important;
    background-color: var(--da-surface-alt) !important;
    color: var(--da-text) !important;
    outline: none !important;
}

.new-EvolveAssist-button:hover {
    background-color: var(--da-row-hover) !important;
}

.swal2-validation-message {
    margin: 0px !important;
}

.azdev-button {
    background-color: var(--da-primary);
    color: var(--da-on-primary);
    border: 0;
    border-radius: 2px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    height: 32px;
}

.azdev-button:hover {
    background-color: #106ebe;
}

.azdev-button i {
    margin-right: 6px;
    font-size: 16px;
}

th[data-sort] {
    cursor: pointer;
    user-select: none;
}

.sort-icon {
    margin-left: 6px;
    color: var(--da-text-secondary);
    font-size: 12px;
}

.pagination-button {
    background: var(--da-surface);
    color: var(--da-text);
    border: 1px solid var(--da-border-strong);
    border-radius: 0;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    font-size: 14px;
    padding: 4px 10px;
}

.workitem-header {
    width: 40%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-header {
    width: 20%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon-column {
    width: 30px;
}

#loadingSpinner {
    display: none;
    position: fixed;
    inset: 0;
    justify-content: center;
    align-items: center;
    background: color-mix(in srgb, var(--da-bg) 45%, transparent);
    z-index: 2000;
}

#loadingSpinner .ea-main-spinner {
    width: 3rem;
    height: 3rem;
}

.row-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.row-action .hidden-menu {
    margin-left: 12px;
    visibility: hidden;
}

tr:hover .row-action .hidden-menu {
    visibility: visible;
}

.dropdown-menu {
    border-radius: 8px;
}

.dropdown-item {
    font-size: 14px;
    padding: 8px 12px;
}

.dropdown-item i {
    width: 18px;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: var(--da-row-hover);
    width: auto;
}

body {
    overflow: scroll;
}

.card {
    border: 0;
}

.card-header {
    background-color: var(--da-surface);
}

#headerLabel {
    font-size: 18px;
    font-weight: 300;
}

.trial-license-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8a5a00;
    background: #fff4ce;
    border: 1px solid #ffd97a;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.trial-license-pill i {
    font-size: 10px;
}

#newChatBtn.azdev-button {
    background-color: var(--da-primary);
    color: var(--da-on-primary);
    border: 0;
    border-radius: 2px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    height: 32px;
}

#EvolveAssistListBody {
    display: none;
}

#txtEvolveAssistNameFilter {
    background-color: var(--da-surface-alt);
    color: var(--da-text);
    font-size: 14px;
    outline: none;
    border-radius: 0;
    width: 100%;
    height: 100%;
    padding: 8px 15px;
    border: none;
}

#txtEvolveAssistNameFilter:focus {
    box-shadow: none;
}

.evolve-search-wrap {
    background-color: var(--da-surface-alt);
    padding: 0;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.evolve-search-icon {
    padding-left: 20px;
}

#workItemsGrid {
    padding-top: 20px;
}

#EvolveAssistListTable {
    width: 100%;
}

#EvolveAssistListTable thead tr {
    background-color: var(--da-surface);
}

#EvolveAssistListTable tbody td {
    padding-top: 4px;
    padding-bottom: 4px;
}

#EvolveAssistListTable .row-action a[id^="project-link-"] {
    color: inherit;
}

#EvolveAssistListTable .row-action a[id^="project-link-"]:hover {
    text-decoration: underline;
}

#EvolveAssistListTable .workitem-link {
    color: inherit;
}

#EvolveAssistListTable .workitem-link:hover {
    text-decoration: underline;
}

.ea-row-menu-btn {
    width: auto;
    height: auto;
    border-radius: 0 !important;
    background: var(--da-surface-alt) !important;
    color: var(--da-text-secondary) !important;
    border: 0 !important;
    padding: 2px 8px !important;
    font-size: 14px !important;
}

.ea-row-menu-btn:hover {
    background-color: var(--da-row-hover) !important;
}

#EvolveAssistGridPaging {
    position: fixed;
    bottom: 0;
    padding-top: 10px;
}

.pagination-button {
    background: var(--da-surface);
    color: var(--da-text);
    border: 1px solid var(--da-border-strong);
    border-radius: 0;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    font-size: 14px;
    padding: 4px 10px;
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.pagination-button.active {
    background: var(--da-primary);
    border-color: var(--da-primary);
    color: var(--da-on-primary);
}

.pagination-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#noEvolveAssistMessage {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 50px;
    display: none;
}