/* Custom Django Admin Stylesheet for Tabler Icons replacements */

/* Hide background SVG images and style inline icons */
.addlink, .changelink, .inlinechangelink, .deletelink, .viewlink, .inlineviewlink, .hidelink {
    background: none !important;
    padding-left: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
}

/* For links that have text inside them, we can add Tabler Icons before them */
.addlink::before, .changelink::before, .deletelink::before, .viewlink::before, .hidelink::before {
    font-family: "tabler-icons" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    display: inline-block;
}

.addlink::before {
    content: "\eb0b" !important; /* ti-plus */
}

.changelink::before {
    content: "\ea98" !important; /* ti-edit */
}

.deletelink::before {
    content: "\eb41" !important; /* ti-trash */
}

.viewlink::before {
    content: "\ea9a" !important; /* ti-eye */
}

.hidelink::before {
    content: "\ecf0" !important; /* ti-eye-off */
}

/* For widgets and inline lists that have nested i elements */
.inlinechangelink, .inlineviewlink {
    font-size: 0 !important; /* Hide original text */
    vertical-align: middle;
}

.inlinechangelink i, .inlineviewlink i {
    font-size: 16px !important;
    vertical-align: middle;
}

/* Related widget wrapper alignment */
.related-widget-wrapper-link {
    vertical-align: middle !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px;
    height: 24px;
    color: var(--text2, #8892A4) !important;
    border-radius: 4px;
    transition: color 0.15s, background-color 0.15s;
}

.related-widget-wrapper-link:hover {
    color: var(--accent, #1A6BFF) !important;
    background-color: var(--surface2, #161A22);
}

.related-widget-wrapper-link.delete-related:hover {
    color: var(--danger, #E24B4A) !important;
}


.flex-container{
    flex-direction: column;
}

.selector-clearall {
    color: #fff;
}


.selector-chooseall{
    color: #fff;
}

.field-email{
    text-align: start;
}