.admin-action-button {
    border-radius: 0;
    display: inline-flex;
}

.counter {
    align-items: center;
    background: red;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    justify-content: center;
    height: 14px;
    line-height: 12px;
    padding: 2px;
    position: absolute;
    right: -16px;
    top: -4px;
    width: 14px;
}

.bordered.selectpicker + .dropdown-toggle {
    background-color: #fff;
    border: 1px solid #dee2e6;
    outline: none;
}

.bootstrap-select.disabled {
    cursor: default;
}

.selectpicker:disabled + .dropdown-toggle {
    background-color: transparent;
    border-color: transparent;
    opacity: 1;
}

.selectpicker.edit:disabled + .dropdown-toggle .filter-option-inner-inner {
    padding-left: 0;
}

.selectpicker.edit + .dropdown-toggle .filter-option-inner-inner {
    padding-left: 13px;
    text-align: center;
}

.selectpicker:disabled + .dropdown-toggle:after {
    content: none;
}

.bs-placeholder.btn-light.dropdown-toggle {
    color: #000;
}

.bs-placeholder.btn-light.dropdown-toggle:hover {
    background-color: #fff;
    color: #000;
}

.sidebar-link .counter {
    right: -2px;
    top: -10px;
}

.fluid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-collapse > span {
    display: -webkit-box;
    max-width: 80px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.mh-32 {
    height: auto;
    max-height: 100%;
}

.mobile-max-width {
    max-width: 150px;
}

.photo-button-wrapper {
    cursor: pointer;
    position: relative;
}

.photo-button {
    padding: 3px 12px;
}

.photo-input {
    appearance: none;
    cursor: pointer;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

a.admin-action-button,
button.admin-action-button {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: center;
    vertical-align: baseline;
}

a.admin-action-button.desktop-only,
button.admin-action-button.desktop-only {
    display: none;
}

.admin-action-button {
    padding: 0 2px;
}

.admin-action-button span:first-child {
    align-items: center;
    display: flex;
    height: 24px;
}

form.admin-delete-form {
    display: inline-flex;
    width: fit-content;
}

.edit-input {
    appearance: none;
    border: none;
    display: block;
    text-align: center;
}

.edit-input:disabled {
    background-color: transparent;
    color: #000;
}

.admin-form-input-wrapper {
    display: flex;
    gap: 6px;
    flex-direction: column;
}

.admin-header-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    width: 100%;
}

.admin-input {
    width: 300px;
}

.admin-input-checkbox {
    cursor: pointer;
    display: inline-flex;
    height: 24px;
    margin-top: 0;
    width: 24px;
}

.admin-input-wrapper {
    max-width: 300px;
}

.admin-input-checkbox-wrapper {
    align-items: center;
    display: flex;
    gap: 8px;
}

.admin-players-wrapper {
    background-color: lightblue;
}

.admin-root {
    display: flex;
    width: 100%;
}

.dashboard-root {
    flex-direction: column;
    width: 100%;
}

.admin-section-wrapper {
    align-items: center;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 17px;
    height: fit-content;
    justify-content: center;
    position: relative;
    width: 100%;
}

.admin-section-wrapper > svg {
    height: 44px;
    width: 44px;
}

.photo-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.photo-cell > div {
    max-width: 100%;
    position: relative;
}

.photo-cell > div:only-child {
    max-width: 100%;
}

.photo-cell img {
    max-height: 200px;
    max-width: 100%;
}

.photo-delete-button {
    align-items: center;
    background-color: #dc3545;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    padding: 2px;
    position: absolute;
    right: -4px;
    top: -4px;
}

.photo-delete-button > svg {
    height: 12px;
    width: 12px;
}

.photo-link-wrapper {
    align-items: center;
    background-color: #ffc107;
    display: flex;
    height: 100%;
    width: 100%
}

td.table-photo-cell {
    padding: 8px;
}

.admin-sidebar-aside {
    background-color: #2b3035;
}

.admin-sidebar {
    height: fit-content;
    padding: 16px 8px;
    position: sticky;
    top: 0;
    width: 52px;
}

.admin-table-action {
    display: flex;
    height: 100%;
    min-height: 40px;
}

.admin-table-action-heading {
    width: 70px;
}

.admin-prize-wrapper {
    background-color: gold;
}

.admin-tournaments-wrapper {
    background-color: lightcoral;
}

.admin-root aside > div {
    background-color: #2b3035;
}

.admin-root section {
    width: 100%;
}

.admin-table-tournament {
    font-size: 16px;
    margin-top: 10px;
}

.admin-table-tournament td:not(.admin-table-action) a,
.admin-table-tournament th button {
    padding: 8px 4px;
}

.admin-table-tournament .admin-table-action {
    padding: 0;
}

.admin-table-tournament td {
    padding: 8px 4px;
}

.admin-wrapper {
    width: 100%;
}

.left {
    text-align: left;
}

.sidebar-link {
    align-items: center;
    display: flex;
    gap: 12px;
    padding: 16px 6px;
}

.sidebar-link svg {
    height: 24px;
    width: 24px;
}

@media screen and (min-width: 480px) {
    .mobile-collapse > span {
        display: block;
        max-width: 100%;
    }

    .mobile-max-width {
        max-width: 200px;
    }
}

@media screen and (min-width: 767px) {
    a.admin-action-button.desktop-only,
    button.admin-action-button.desktop-only {
        display: inline-block;
    }

    .mh-32 {
        max-height: 32px;
    }

    .photo-cell {
        gap: 16px;
    }

    .photo-cell > div {
        max-width: calc(50% - 8px);
    }

    .photo-delete-button {
        right: -6px;
        top: -6px;
    }

    .photo-delete-button > svg {
        height: 16px;
        width: 16px;
    }

    .photo-link-wrapper {
        align-items: start;
        background-color: transparent;
    }

    .sidebar-link .counter {
        right: -16px;
        top: -4px;
    }

    td.table-photo-cell {
        padding: 16px 8px;
    }

    .fluid {
        flex-direction: row;
        gap: 100px;
    }

    .admin-action-button span:first-child {
        display: none;
    }

    a.admin-action-button,
    button.admin-action-button {
        display: inline-block;
        height: 100%;
    }

    .admin-action-button {
        border-radius: 6px;
        padding: 3px 12px;
    }

    .admin-header-panel {
        gap: 24px;
    }

    .admin-link {
        display: flex;
    }

    .admin-sidebar {
        width: 280px;
    }

    .admin-table-tournament td {
        padding: 8px;
    }
}

@media screen and (min-width: 1024px) {
    .admin-root {
        height: 100%;
        min-height: calc(100vh - 100px);
    }

    .admin-section-wrapper {
        height: 100%;
        width: 50%;
    }

    .admin-section-wrapper > svg {
        height: 124px;
        width: 124px;
    }

    .dashboard-root {
        flex-direction: row;
    }
}
