@font-face {
    font-family: DefaultFont;
    src: url(fonts/BMWMotorradTypeGlobal_Pro_reg.ttf)
}

@font-face {
    font-family: DefaultFont;
    src: url(fonts/Montserrat-Bold.ttf);
    font-weight: 700
}

* {
    font-family: DefaultFont;
    letter-spacing: 0px;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: rgb(21 21 21) !important;
}

a, .btn-link {
    color: #006bb7;
}

textarea {
    resize: none !important;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.sidebar {
    background-color: rgb(21 21 21 / 90%); 
    color: #fff;
}

.top-row {
    background-color: rgb(21 21 21 / 90%);
    justify-content: flex-start;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row a, .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row a:hover, .top-row .btn-link:hover {
    text-decoration: underline;
}

.top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row {
        justify-content: space-between;
    }

   .top-row a, .top-row .btn-link {
       margin-left: 0;
   }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 360px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-right: 3.5rem !important;
    padding-left: 3.5rem !important;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


.navbar-toggler {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked {
    background-color: rgba(255, 255, 255, 0.5);
}

.header-row {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand {
    font-size: 1.1rem;
}

.bi {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item {
    font-size: 0.85rem;
}

.nav-item .nav-link {
    color: #d7d7d7;
    background: none;
    border: none;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
}

.nav-item a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable {
    display: none;
    padding: 21px;
}

.navbar-toggler:checked ~ .nav-scrollable {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler {
        display: none;
    }

    .nav-scrollable {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

.statstable {
    color: #fff;
    font-size: 12px;
    margin-bottom: unset !important;
    font-size: .8rem;
}

.character-stats-table-row  {
    border-bottom: unset !important;
}

.character-stats-table-row td   {
    border-bottom: unset !important;
    padding: .2rem .2rem;
}

.character-stats-table-row:first-child  {
    border-top: 1px solid #6c757d;
}

.aa-body {
    background-image: url(images/bg/main3.jpg);
    background-position: center;
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.aa-itemslot {
    height: 44px;
    width: 44px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 3px;
    background-size: cover;
    transition: border 0.25s linear;
    position: relative;
}

.aa-gradecorner {
    position: absolute;
    left: 0;
    right: 0;
    width: 44px;
}

.aa-sealcorner {
    position: absolute;
    left: 0;
    right: 0;
    width: 44px;
}

.aa-moonrune {
    width: 25px;
    position: absolute;
    top: 20%;
    z-index: 10;
}

.aa-moonrune-gradecorner {
    width: 25px;
    position: absolute;
    top: 20%;
    z-index: 10;
}

.aa-moonrune-leftbind {
    left: -30px;
}

.aa-moonrune-rightbind {
    left: 50px;
}

.aa-itemslot:hover {
    cursor: pointer;
    box-shadow: 0px 0 5px 2px rgb(255 255 255 / 49%);
}

.aa-grade-1 {
    color: #BA976D !important;
}

.aa-grade-2 {
    color: #77b064 !important;
}

.aa-grade-3 {
    color: #558fd7 !important;
}

.aa-grade-4 {
    color: #cb72d8 !important;
}

.aa-grade-5 {
    color: #d78b06 !important;
}

.aa-grade-6 {
    color: #e17853 !important;
}

.aa-grade-7 {
    color: #f95252 !important;
}

.aa-grade-8 {
    color: #cf7d5d !important;
}

.aa-grade-9 {
    color: #8fa5ca !important;
}

.aa-grade-10 {
    color: #bf7900 !important;
}

.aa-grade-11 {
    color: #c90b0b !important;
}

.aa-grade-12 {
    color: #ae98fe !important;
}

select:disabled {
    cursor: not-allowed;
}

.aa-gem-slot {
    background: rgb(63 52 35);
    width: 40px;
    height: 40px;
    border: 2px solid #959595;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aa-gem-slot-small {
    background: rgb(63 52 35);
    width: 22px;
    height: 22px;
    border: 1px solid #959595;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aa-gem-slot:hover {
    cursor: pointer;
    box-shadow: 0px 0 5px 2px rgb(255 255 255 / 49%);
}

.aa-popover-item {
    height: 44px;
    width: 44px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 3px;
    background-size: cover;
    position: relative;
}

.popover.custom-popover {
    background: rgb(21 21 21 / 90%);
    border: 1px solid #474747 !important;
    border-radius: 0px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3) !important;
    max-width: 300px;
    min-width: 200px;
    z-index: 2000;
}

/* Combo dropdown hover tip (fixed, outside modal/list overflow) */
#aa-combo-hover-tip.aa-combo-hover-tip {
    position: fixed;
    z-index: 3000;
    pointer-events: none;
    margin: 0;
    max-width: 300px;
    min-width: 200px;
}

.popover.custom-popover .popover-arrow {
    display: none;
}

.popover.custom-popover .popover-arrow::before {
    border-color: transparent !important;
}

.popover.custom-popover .popover-header {
    /*background: #34495e !important;*/
    color: white !important;
    border-bottom: 2px solid #2c3e50 !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 15px !important;
    font-weight: 600 !important;
}

.popover.custom-popover .popover-body {
    color: #ecf0f1 !important;
    padding: 6px !important;
    border-radius: 0 0 8px 8px !important;
}

.item-popover .popover-header {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0px;
}

.item-image {
    width: 100%;
    border-radius: 5px;
    border: 2px solid #3498db;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #2c3e50;
}

.stat-label {
    color: #95a5a6;
}

.stat-value {
    color: #3498db;
    font-weight: bold;
}

.popover {
    border: none !important;
    box-shadow: none !important;
}

.popover-header, .popover-body {
    background: transparent !important;
    border: none !important;
}

.statstable tbody tr td {
    background: unset;
    color: #fff;
}

.form-label {
    margin-bottom: .2rem !important;
}

.line-spacer {
    height: 1px;
    border-bottom: 1px solid #ffffff42;
}

.stats-block p {
    margin: unset !important;
    padding: unset;
}

.small-p {
    font-size: 11px;
    margin: unset;
}

.set-item-unequiped {
    opacity: 0.5;
}

.odfspgh-xdsf {
    width: 310px;
    height: 525px;
    border-radius: 5px;
    background-color: #4285f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    background: url(/images/banner.jpg);
    cursor: pointer;
}

.stat-name {
    text-align: left;
    padding: 8px 0;
}

.stat-value {
    text-align: right;
    padding: 8px 0;
    font-weight: bold;
}

.h7-head {
    font-size: 16px;
    font-weight: bold;
}

.character-stats-table-row td {
    padding: .25rem 0 !important;
}

.link-icon {
    margin-left: 0.9rem;
    color: #fff;
    transition: all 0.3s ease;
    transition-delay: 0.05s;
    text-decoration: unset;
    font-weight: 700;
    cursor: pointer;
}

.link-icon:hover {
    color: #d70a19;
}

.calc-header {
    border-bottom: 1px solid #7b7b7b !important;
}

.calc-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    font-weight: 700;
    --bs-nav-tabs-border-width: 0 !important;
}

.nav-tabs .nav-item .nav-link.active {
    position: relative;
}

.nav-tabs .nav-item .nav-link.active:after {
    content: "";
    position: absolute;
    height: 2px;
    background: #fff;
    bottom: -1px;
    left: -1px;
    right: 0;
}

.nav-item .nav-link {
    color: #7e7e7e;
}

.nav-item .nav-link:focus {
    color: #7e7e7e;
}

.nav-item .nav-link:hover {
    background-color: transparent;
    color: #fff;
}

.nav-link.active {
    color: #fff !important;
    background-color: transparent !important;
    border-color: transparent !important;
}

.nav-item {
    border:unset !important;
}

.social-block {
    font-size: 16px;
}

.social-block-header {
    font-size: 14px !important;
    border-left: 1px solid #7b7b7b !important;
    padding: 4px 0px 4px 0px;
}

.tool-bar {
    font-size: 14px;
    margin-left: auto;
}

.tool-bar-item {
    margin-left: 1rem;
    display: flex;
    font-size: 14px;
}

.stats-block-right {
    background: rgb(21 21 21);
    border-radius: 5px;
    padding: 0px 20px 15px 20px;
}

.navigate-block {
    font-size: 16px;
    padding: 15px 0px 5px 0px;
}

.navigate-block .link-icon {
    margin-right: 0.7rem;
    margin-left: unset;
    padding: 5px;
}

.attack-active {
    color: #d70a19 !important;
}

.deffence-active {
    color: #d7900a !important;
}

.misc-active {
    color: #d7156d !important;
}

.additional-active {
    background: linear-gradient(45deg, #0008ff 0%, #ff0000 50%, #04ff00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.bigger-val {
    color: #7edd05 !important;
}

/* --- AURA-style dark controls & modals --- */

.modal-content {
    background: rgb(26 26 26) !important;
    border: 1px solid rgb(40 40 40) !important;
    border-radius: 6px !important;
    color: rgb(235 235 235) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55) !important;
}

.modal-header {
    border-bottom: 1px solid rgb(255 255 255 / 0.06) !important;
    color: #fff !important;
}

.modal-footer {
    border-top: 1px solid rgb(255 255 255 / 0.06) !important;
}

.modal-title,
.modal-header .h6,
.modal-body {
    color: rgb(235 235 235) !important;
}

.modal-backdrop {
    background-color: rgb(0 0 0) !important;
}

.form-label {
    color: rgb(200 200 200) !important;
}

.form-select,
.select-de-big {
    margin: 0;
    width: 100%;
    min-height: 38px;
    padding: 8px 32px 8px 12px;
    border: 1px solid rgb(40, 40, 40) !important;
    border-radius: 4px !important;
    background-color: rgb(34 34 34) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%23b0b0b0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 14px 14px !important;
    color: rgb(235 235 235) !important;
    font-size: 14px;
    line-height: 1.25;
    cursor: pointer;
    box-sizing: border-box;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    box-shadow: none !important;
}

.form-select::-ms-expand,
.select-de-big::-ms-expand {
    display: none;
}

.form-select:hover,
.select-de-big:hover {
    border-color: rgb(255 255 255 / 0.18) !important;
}

.form-select:focus,
.form-select:focus-visible,
.form-select:active,
.select-de-big:focus,
.select-de-big:focus-visible,
.select-de-big:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: rgb(255 255 255 / 0.22) !important;
    background-color: rgb(34 34 34) !important;
    color: rgb(235 235 235) !important;
}

.form-select:disabled,
.select-de-big:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.form-select option,
.select-de-big option {
    background-color: rgb(34 34 34);
    color: rgb(235 235 235);
}

.form-control,
.combobox-de,
textarea.form-control {
    background: rgb(26 26 26) !important;
    border: 1px solid rgb(40 40 40) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    color: rgb(235 235 235) !important;
    font-size: 14px;
}

.form-control::placeholder,
.combobox-de::placeholder {
    color: rgb(235 235 235 / 0.45) !important;
}

.form-control:focus,
.form-control:focus-visible,
.combobox-de:focus,
.combobox-de:focus-visible,
textarea.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: rgb(255 255 255 / 0.22) !important;
    background: rgb(26 26 26) !important;
    color: rgb(235 235 235) !important;
}

.form-control:disabled,
.form-control[readonly],
.combobox-de:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: rgb(22 22 22) !important;
    color: rgb(180 180 180) !important;
}

.btn-de,
.modal .btn-secondary,
.modal .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0 14px;
    min-height: 34px;
    border: 1px solid rgb(40, 40, 40) !important;
    border-radius: 4px !important;
    background: rgb(34 34 34) !important;
    color: rgb(235 235 235) !important;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    user-select: none;
    box-shadow: none !important;
    transition: background 0.1s ease, border-color 0.1s ease, color 0.1s ease;
}

.btn-de:hover,
.modal .btn-secondary:hover,
.modal .btn-primary:hover {
    background: rgb(42 42 42) !important;
    color: rgb(255 255 255) !important;
    border-color: rgb(255 255 255 / 0.18) !important;
}

.btn-de:active,
.modal .btn-secondary:active,
.modal .btn-primary:active {
    background: rgb(30 30 30) !important;
    border-color: rgb(255 255 255 / 0.22) !important;
}

.btn-de:focus-visible,
.modal .btn-secondary:focus-visible,
.modal .btn-primary:focus-visible {
    outline: 2px solid rgb(255 255 255 / 0.35);
    outline-offset: 2px;
}

.sidebar .form-control {
    width: 65px !important;
}

/* --- AURA green range sliders --- */

.ui-field-stack {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0;
}

.ui-field-stack--range {
    gap: 0.1rem;
    width: 100%;
}

.ui-range-row {
    --ui-range-label-col: 3.2rem;
    display: grid;
    grid-template-columns: var(--ui-range-label-col) minmax(120px, 1fr) auto;
    align-items: center;
    column-gap: 0.6rem;
    width: 100%;
    min-height: 1.75rem;
}

.ui-range-row .ui-field-label,
.ui-range-row .form-label.ui-field-label {
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0;
    justify-self: start;
    align-self: center;
    width: 100%;
    min-width: 0;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 14px;
    line-height: 1.25;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgb(200 200 200) !important;
}

.ui-range-value-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    padding: 0.25rem 0.5rem 0.1rem 0.5rem;
    border-radius: 3px;
    background: rgb(34 34 34);
    border: 1px solid rgb(52 52 52);
    box-sizing: border-box;
    justify-self: end;
}

.ui-range-value-box .ui-range-value {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.ui-range {
    --ui-range-accent: rgb(116 199 32);
    --ui-range-track: rgb(48 48 48);
    --range-fill-pct: 0%;
    width: 100%;
    margin: 0;
    height: 1rem;
    background: transparent !important;
    accent-color: var(--ui-range-accent);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: none !important;
    margin-top: 5px;
}

.ui-range:focus,
.ui-range:focus-visible,
.ui-range:focus-within,
.ui-range:active {
    outline: none !important;
    box-shadow: none !important;
}

.ui-range.form-range:focus {
    box-shadow: none !important;
}

.form-range.ui-range {
    --bs-focus-ring-color: transparent;
    --bs-focus-ring-opacity: 0;
    --bs-focus-ring-width: 0;
}

.ui-range::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
    transition: none !important;
    background: linear-gradient(
        to right,
        var(--ui-range-accent) 0%,
        var(--ui-range-accent) var(--range-fill-pct),
        var(--ui-range-track) var(--range-fill-pct),
        var(--ui-range-track) 100%
    );
}

.form-range.ui-range::-webkit-slider-thumb,
.ui-range::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    margin-top: -5.5px;
    border-radius: 50%;
    background: rgb(116 199 32) !important;
    background-color: rgb(116 199 32) !important;
    border: 2px solid rgb(116 199 32) !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: none !important;
}

.form-range.ui-range::-webkit-slider-thumb:hover,
.form-range.ui-range::-webkit-slider-thumb:active,
.form-range.ui-range::-webkit-slider-thumb:focus,
.form-range.ui-range:focus::-webkit-slider-thumb,
.form-range.ui-range:focus-visible::-webkit-slider-thumb,
.form-range.ui-range:active::-webkit-slider-thumb,
.ui-range::-webkit-slider-thumb:hover,
.ui-range::-webkit-slider-thumb:active,
.ui-range::-webkit-slider-thumb:focus,
.ui-range:focus::-webkit-slider-thumb,
.ui-range:focus-visible::-webkit-slider-thumb {
    background: rgb(116 199 32) !important;
    background-color: rgb(116 199 32) !important;
    border-color: rgb(116 199 32) !important;
    filter: none;
    transform: none;
    box-shadow: none !important;
    outline: none !important;
}

.ui-range::-moz-range-track {
    height: 5px;
    border-radius: 3px;
    background: var(--ui-range-track);
}

.ui-range::-moz-range-progress {
    height: 5px;
    border-radius: 3px;
    background: var(--ui-range-accent);
}

.form-range.ui-range::-moz-range-thumb,
.ui-range::-moz-range-thumb {
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgb(116 199 32) !important;
    background-color: rgb(116 199 32) !important;
    border: 2px solid rgb(116 199 32) !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: none !important;
}

.form-range.ui-range::-moz-range-thumb:hover,
.form-range.ui-range::-moz-range-thumb:active,
.form-range.ui-range:focus::-moz-range-thumb,
.form-range.ui-range:focus-visible::-moz-range-thumb,
.form-range.ui-range:active::-moz-range-thumb,
.ui-range::-moz-range-thumb:hover,
.ui-range::-moz-range-thumb:active,
.ui-range:focus::-moz-range-thumb,
.ui-range:focus-visible::-moz-range-thumb {
    background: rgb(116 199 32) !important;
    background-color: rgb(116 199 32) !important;
    border-color: rgb(116 199 32) !important;
    filter: none;
    box-shadow: none !important;
    outline: none !important;
}

.aa-item-search-hint {
    margin-top: 0.35rem;
    font-size: 12px;
    color: rgb(160 160 160);
}

/* Keep dropdown anchored to the control and above following form fields */
#itemsModal .modal-content,
#itemsModal .modal-body {
    overflow: visible;
}

.aa-combo {
    position: relative;
    width: 100%;
    z-index: 1;
}

.aa-combo.is-open,
.aa-combo:focus-within {
    z-index: 40;
}

.aa-combo--disabled {
    opacity: 0.55;
    pointer-events: none;
}

.aa-combo--disabled .aa-combo-toggle {
    cursor: not-allowed;
}

.aa-combo-input {
    padding-right: 2.25rem !important;
    cursor: text;
}

.aa-combo-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 2.25rem;
    height: 100%;
    border: none;
    background: transparent;
    color: rgb(176 176 176);
    cursor: pointer;
    z-index: 2;
    line-height: 1;
    padding: 0;
}

.aa-combo-toggle:hover {
    color: #fff;
}

.aa-combo-list {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    width: 100%;
    box-sizing: border-box;
    z-index: 50;
    max-height: 260px;
    overflow-y: auto;
    background: rgb(26 26 26);
    border: 1px solid rgb(40 40 40);
    border-radius: 4px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
    scrollbar-width: thin;
    scrollbar-color: rgb(116 199 32) rgb(40 40 40);
}

.aa-combo-list::-webkit-scrollbar {
    width: 8px;
}

.aa-combo-list::-webkit-scrollbar-track {
    background: rgb(40 40 40);
    border-radius: 4px;
}

.aa-combo-list::-webkit-scrollbar-thumb {
    background: rgb(116 199 32);
    border-radius: 4px;
}

.aa-combo-list::-webkit-scrollbar-thumb:hover {
    background: rgb(130 220 45);
}

.aa-combo-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    margin: 0;
    padding: 0.4rem 0.65rem;
    border: none;
    border-bottom: 1px solid rgb(40 40 40);
    background: transparent;
    color: rgb(235 235 235);
    text-align: left;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.aa-combo-option:last-child {
    border-bottom: none;
}

.aa-combo-option:hover,
.aa-combo-option.is-active {
    background: rgb(42 42 42);
}

.aa-combo-item-icon {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 3px;
    overflow: hidden;
    background: rgb(40 40 40);
}

.aa-combo-item-icon img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.aa-combo-item-icon .aa-combo-item-grade {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    pointer-events: none;
}

.aa-combo-item-icon--empty {
    background: rgb(34 34 34);
    border: 1px solid rgb(52 52 52);
}

.aa-combo-item-name {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.aa-combo-empty {
    padding: 0.65rem 0.75rem;
    color: rgb(150 150 150);
    font-size: 13px;
}
