body {
    background: rgb(14, 14, 14);
    font-family: "Google Sans", sans-serif !important;
}

#content {
    width: 100%;
}

input:focus {
    box-shadow: 0 0 0 3px rgb(255, 18, 18);
    border: 1px solid rgb(255, 18, 18);
}

input {
    background: #ffffffad !important;
    border: 1px solid #dc3545 !important;
    color: #000 !important;
    font-weight: 500 !important;
}


.img-vs {
    text-align: center
}

.img-vs img {
    width: 60px;
    height: 70px;
    margin: 0 auto;
}

.form-floating>label {
    color: #000 !important;
    font-weight: 500 !important;
}

.btn-action button {
    padding-top: 10px;
    padding-bottom: 10px;
}

.btn-hide {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.btn-hide div {
    background: #ffffff20;
    width: 100px;
    height: 40px;
    border-radius: 5px;
}

.box-result {
    background: #fff;
    border-radius: 5px;
    /* border: 1px solid #dc3545; */
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
    height: 150px;
    position: relative;
}

.box-result .text{
    height: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#matrixCanvas{
    width: 100%;
    height: 150px;
}

.box-result p {
    margin: 0;
}

.border-running {
    --angle: 0deg;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 2px; */
    /* độ dày viền */
    border-radius: 12px;
    background:
        linear-gradient(#131219, #131219) padding-box,
        linear-gradient(var(--angle), #ff0000, #ffd700, #ff0000) border-box;
    border: 3px solid transparent;
    animation: rotate 4s linear infinite;
    overflow: hidden;
}

/* Ảnh */
.border-running img {
    width: 100%;
    border-radius: 10px;
    display: block;
    cursor: pointer;
    transition: transform 0.4s ease; /* mượt */
}

.border-running:hover img {
    transform: scale(1.1); /* zoom 10% */
}

/* Animation */
@keyframes rotate {
    to {
        --angle: 360deg;
    }
}

/* Khai báo biến để animate được */
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.swal2-popup.swal2-modal{
    max-width: 420px !important;
}

button.swal2-confirm.swal2-styled {
    background: #157347 !important;
}

h2#swal2-title {
    font-size: 22px;
}

.menu-bar{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #3333339c;
}

.menu-bar ul{
    margin: 0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.menu-bar ul li{
    list-style: none;
    color: #cbcbcb;
    font-size: 14px;
    width: 33.3%;
}

.name-user ul li:first-child {
    max-width: 33.3%;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis
}

.name-user ul li:nth-last-child(2){
    text-align: center;
}

.name-user ul li:nth-last-child(1){
    text-align: right;
}

.box-auth{
    width: 95%;
    background: #33333391;
    padding: 10px;
    border-radius: 10px;
}

.form-auth input{
    width: 100%;
    margin-bottom: 10px;
    background: #fff !important;
    border-radius: 5px;
    padding: 8px;
}

.form-auth label{
    color: #fff;
}

.form-auth .checkbox-memorize{
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 15px;
}

.form-auth .checkbox-memorize input{
    width: auto;
    height: auto;
    margin: 0;
}

.form-auth .checkbox-memorize span{
    font-size: 14px;
}

.form-auth .btn-submit{
    background: #157347;
    border: none;
    color: #fff;
    margin: 0 auto;
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 14px;
    width: 100%;
}

.box-auth h1{
    font-weight: bold;
    font-size: 22px;
    color: #fff;
    text-align: center;
}

div#swal2-html-container {
    margin: 0;
    padding: 5px;
}

.box-form-play{
    display: flex;
    gap: 5px;

}

.box-form-play select{
    background: #ffffffad !important;
    border: 1px solid #dc3545 !important;
    color: #000 !important;
    font-weight: 500 !important;
}

.box-form-play .select2-container--default .select2-selection--single{
    background: #ffffffad !important;
    border: 1px solid #dc3545 !important;
    color: #000 !important;
    font-weight: 500 !important;
}

.box-form-play .select2-container--default input{
    border: none !important;

}

.box-form-play .select2-container--default input:focus {
    box-shadow: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 40px;
    color: #000;
}

span.select2-selection.select2-selection--single {
    height: 38px;
}

.box-form-play .form-control{
    height: 38px;
    border-radius: 4px;
}

.box-form label{
    color: #ff3c3c;
    font-weight: 500;
    background: #fff;
    padding: 0 10px;
    font-size: 14px;
    border-radius: 2px;
    margin: 0;
}

.ketqua-modal p{
    margin-bottom: 5px;
}