[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
    display: none !important;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: linear-gradient(left, #fff, #e4e4e4);
    border: 1px solid #aaa;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a423d;
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(left, #22ADD4, #1E98BA);
}


button:focus,
input:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
}

.cursor-pointer>*,
.cursor-pointer {
    cursor: pointer;
}

body {
    overflow-x: hidden;
}

.nav-sep {
    margin: 10px 0;
    border-top: 1px solid #e9ecef;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh;
    z-index: 1000;
    background: #f8f9fa;
    transition: all 0.3s ease-in-out;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.1);
}

#sidebar.active {
    left: 0;
}

#content {
    width: 100%;
    transition: all 0.3s;
}

#sidebar.pinned+#content {
    margin-left: 250px;
}

#sidebar-pin {
    width: 36px !important;
    height: 36px !important;
    text-align: center !important;
    border: none;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 1.1em;
    border: 10 px solid red;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
}

#sidebar-collapse {
    background: none;
    border: none;
}

#top-nav {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#top-nav.scrolled {
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@keyframes slideIn {
    from {
        left: -250px;
    }

    to {
        left: 0;
    }
}

@keyframes slideOut {
    from {
        left: 0;
    }

    to {
        left: -250px;
    }
}

#sidebar.slide-in {
    animation: slideIn 0.3s forwards;
}

#sidebar.slide-out {
    animation: slideOut 0.3s forwards;
}

.sidebar-nav {
    font-size: 16px;
    color: #333;
}

.sidebar-nav .active {
    font-size: 16px;
    font-weight: 600;
    color: #374F90;
}

.sidebar-nav:hover {
    color: #374F90;
}

.sidebar-nav a {
    display: block;
    padding: 10px 20px;
    color: #333;
    transition: 0.3s;
}

.img-logo {
    display: inline-block;
    width: 50px;
}

/* Opponents */
.vs-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    padding-top: 36px;
}

.vs-text {
    font-size: 4rem;
    font-weight: bold;
    color: #dc3545;
}

.points-container {
    position: relative;
    display: inline-block;
}

.points {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 33%;
    height: 30px;
    color: #ebebeb;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    border-radius: 10px;
    background-color: #dc3545;
    z-index: 1;
    box-shadow: rgb(0, 0, 0, 0.5) 3px 3px 6px 0px inset, rgba(0, 0, 0, 0.3) -3px -3px 6px 1px inset;
    overflow: hidden;
}

.points::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 70%);
    border-radius: 10px;
    opacity: 0.3;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}


.opponent-img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 0;
}

/*
.opponent-img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;

    border: 1px solid #e9ecef;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
*/

.opponent-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #202020;
    text-transform: uppercase;
    word-spacing: 1px;
    letter-spacing: 2px;
}

.opponent-caption {
    text-transform: none;
    font-size: .85em;
    font-weight: normal;
    font-style: italic;
    font-family: "Playfair Display", "Bookman", serif;
    color: #999;
    letter-spacing: -0.005em;
    word-spacing: 1px;
    letter-spacing: none;
}

.tournament-info {
    font-size: 1.2rem;
}

.tournament-status {
    font-size: 1.1rem;
    font-weight: bold;
}

/* User info */
.user-info-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.user-info-list li {
    padding: 0 10px;
    color: #9f9f9f;
}

.user-info-list li:not(:last-child) {
    border-right: 1px solid #ededed;
}

.user-info-list li:first-child {
    padding-left: 0;
}

.user-info-list li:last-child {
    padding-right: 0;
}

.user-info-list .btn-close {
    padding: 0;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #000;
    opacity: 0.5;
    cursor: pointer;
}

.user-info-list .btn-close:hover {
    opacity: 1;
}

.btn-close:hover {
    color: #dc3545 !important;
}

/* Console */
.console-card {
    border-radius: 0px;
    border: none;
    background-color: #f8f9fa;
    overflow: hidden;
    height: 100vh;
}

.console-card .card-header {
    font-size: .8rem;
    border-color: #ededed;
}

@media (min-width: 1000px) {
    .console-card {
        border-radius: 15px;
        border: 1px solid #efefef;
        margin: 20px;
        /* box-shadow: 6px 6px 6px 1px rgba(0, 0, 255, .1); */
        box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, .1);
        height: auto;
    }
}


.round-number {
    width: 50px;
    height: 50px;
    padding: 6px;
    display: inline-block;
    font-size: 1.5rem;
    background-color: #d5d5d5;
    border-radius: 10px;
    border: 1px solid #9f9f9f;
}

.info-block {
    width: 80px;
    height: 60px;
    display: inline-block;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2px;
    text-align: center;
    /*box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);*/
    /*border: 1px solid #ced4da;*/
    border: 1px solid #e9ecef;
    -webkit-box-shadow: 4px 4px 5px -3px rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 4px 4px 5px -3px rgba(0, 0, 0, 0.12);
    box-shadow: 4px 4px 5px -3px rgba(0, 0, 0, 0.12);
}

.info-block.max {
    width: 120px;
}

@media (max-width: 767px) {
    .info-block {
        width: 120px;
    }
}

.info-block .main-info {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2px;
}

.info-block .label {
    position: relative;
    top: -4px;
    font-size: .7rem;
    color: #6c757d;
    margin: 0;
}

/* Pin Code */
.pin-card {
    width: 100%;
    max-width: 600px;
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.pin-input {
    width: 23%;
    max-width: 60px;
    height: 60px;
    text-align: center;
    font-size: 36px;
    margin-right: 10px;
    border-radius: 10px;
    border: 1px solid #ced4da;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pin-input:last-child {
    margin-right: 0;
}

.btn-pin {
    border-radius: 10px !important;
    padding: 12px 22px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pin-logo {
    text-decoration: none;
    color: #000;
}

.pin-logo h2 {
    font-size: 2rem;
    font-weight: bold;
}

/* Console */
.fighter-actions-title {
    font-size: .8rem;
    font-weight: bold;
    margin-bottom: 0;
    font-style: italic;
    color: #ced4da;
    ;
}

.fighter-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
}

.round-info {
    font-size: 1.2rem;
}

.score-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 0.9rem;
}

.action-btn {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    font-size: .9em !important;
    padding: 5px;
    margin: 2px;
    width: 100%;
}

.action-btn.active {
    background-color: #0d6efd;
    color: white;
}

@media (max-width: 960px) {
    .action-btn {
        font-size: .8em !important;
    }
}

.btn-outline-secondary {
    width: 100%;
}

.action-btn {
    width: 30%;
}

@media (max-width: 1400px) {
    .opponent-img {
        width: 150px;
        height: 175px;
    }
}

@media (max-width: 768px) {
    .fighter-name {
        font-size: 1rem;
    }

    .fighter-nickname {
        font-size: 0.8rem;
    }

    .round-control-btn {
        font-size: 0.8rem;
        padding: 5px;
    }

    .confirm-score-btn {
        font-size: 0.8rem;
        padding: 5px;
    }

    .opponent-img {
        width: 100px;
        height: 125px;
    }

    .vs-text {
        font-size: 2rem;
    }

    .action-btn {
        width: 100%;
    }
}

.card-header,
.card-footer {
    height: 36px;
}

.header-icons {
    height: 36px;
    display: flex;
    align-items: center;
}

.card-header .btn-sm {
    height: 28px;
    font-size: .9em;
    padding: 2px 16px;
    border-radius: 25px;
    border: 1px solid #ededed;
}

.btn {
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 25px;
}

.header-icons .bi {
    font-size: 1.2em;
}

.header-icons .bi.active {
    color: #1f9a00;
    font-size: 1.2em;
}

.deliver {
    border-right: 1px solid #ededed;
}



h1 {
    position: relative;
    padding: 0;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 40px;
    color: #080808;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

h1 span {
    display: block;
    font-size: 0.5em;
    line-height: 1.3;
}

h1 em {
    font-style: normal;
    font-weight: 600;
}


.two h1 {
    text-transform: capitalize;
}

.two h1:before {
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 60px;
    height: 2px;
    content: "";
    background-color: #c50000;
}

.two h1 span {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 3em;
    padding-left: 0.25em;
    color: rgba(0, 0, 0, 0.4);
    padding-bottom: 10px;
}

.alt-two h1 {
    text-align: center;
}

.alt-two h1:before {
    left: 50%;
    margin-left: -30px;
}

.underline {
    display: inline-block;
    text-align: center !important;
    width: 32px !important;
    height: 36px;
    text-align: center;
    margin-top: 6px;
    font-weight: 600 !important;
    padding: 0 6px !important;
}

.btn-outline-dark {
    border-color: #ededed;
    color: #9f9fa2;
}

.btn.btn-confirm:active {
    animation: vibrate 0.5s ease-in-out;
}

@keyframes vibrate {
    0% {
        transform: translateX(0);
    }

    10% {
        transform: translateX(-3px);
    }

    20% {
        transform: translateX(3px);
    }

    30% {
        transform: translateX(-3px);
    }

    40% {
        transform: translateX(3px);
    }

    50% {
        transform: translateX(-2px);
    }

    60% {
        transform: translateX(2px);
    }

    70% {
        transform: translateX(-2px);
    }

    80% {
        transform: translateX(2px);
    }

    90% {
        transform: translateX(-1px);
    }

    100% {
        transform: translateX(0);
    }
}


/* Swal 2 */

.swal2-select {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background-color: #f9f9f9;
    color: #333;
    margin-top: 10px;
}

.swal2-select:hover {
    border-color: #3085d6;
}

.swal2-select:focus {
    outline: none;
    border-color: #3085d6;
    box-shadow: 0 0 5px rgba(48, 133, 214, 0.3);
}

.swal2-html-container label {
    font-size: 14px;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

#swal2-player-select {
    margin-top: 15px;
}

.actions-title {
    position: relative;
    top: 16px;
}

.actions-title h1 {
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 16px 0;
    grid-gap: 22px;
    color: #333;
}

.actions-title h1:after,
.actions-title h1:before {
    position: relative;
    top: -6px;
    content: " ";
    display: block;
    border-bottom: 1px solid #ddd;
    background-color: #f8f8f8;
}


/* ------------------------------------ */
.click-shadow {
    position: relative;
    border-radius: 4em;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    /* Safari */
}

.click-shadow:hover {
    transition-duration: 0.1s;
    z-index: 1;
}

.click-shadow:after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 4em;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 0 10px 40px #ba4a00;
}

.click-shadow:active:after {
    box-shadow: 0 0 0 0 #ba4a00;
    position: absolute;
    border-radius: 4em;
    left: 0;
    top: 0;
    opacity: .3;
    transition: 0s;
}

.click-shadow:active {
    top: 1px;
}

.confirm-button {
    width: 130px;
}

@media (max-width: 962px) {
    .hide-small {
        display: none;
    }

    .confirm-button {
        width: 60px;
    }
}

/* ------------------------------------ */
.width-100 {
    width: 100%;
}

.width-50 {
    width: 46%;
}

.width-33 {
    width: 30%;
}

.embossed-text {
    color: #a3a3a3 !important;
    text-shadow: 1px 1px 0 #eee, -1px -1px 0 #fff;
}

/* ------------------------------------ */

.popup-menu {
    position: absolute;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px;
    z-index: 1000;
}

.popup-menu .btn {
    display: block;
    width: 100%;
    margin: 4px 0;
    text-align: left;
    z-index: 1000;
}

.popup-menu .btn i {
    margin-right: 8px;
}

.target-element {
    cursor: pointer;
    padding: 20px;
    background: #f8f9fa;
    display: inline-block;
    margin: 50px;
}

.popup-menu .btn i {
    margin-right: 8px;
}

.popup-menu:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.popup-menu.bottom:after {
    display: none;
    top: -8px;
    bottom: auto;
    border-top: none;
    border-bottom: 8px solid white;
    z-index: 1;
}

.dropdown-item {
    padding: 8px 16px;
    display: block;
    width: 100%;
    text-align: left;
    color: #333;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

/* Extra rounds */
.btn-extra-round {
    background-color: #0b7846 !important;
    border-left: 1px solid #045a32 !important;
    border-color: #045a32 !important;
    margin-left: 4px !important;
}

.btn-extra-round:hover {
    background-color: #026236 !important;
}

.btn-extra-round.active {
    background-color: #dc3545 !important;
    border-left: 1px solid #ca0619 !important;
    border-color: #ca0619 !important;
}