/* fontawsome */
@import url("../../assets/css/all.css");

/* dataTables */
@import url("../../assets/css/dataTables.bootstrap5.min.css");

/* select2 css */
@import url("../../assets/css/select2.min.css");

/* venobox css */
@import url("../../assets/css/venobox.min.css");

/* bootstrep css */
@import url("../../assets/css/styles.css");


/* datepicker css */
@import url("../../assets/css/daterangepicker.min.css");

/* font link  */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&family=Style+Script&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Titan+One&display=swap');

:root {
    --rs-main-color: #e5e5e5;
    --rs-primary-color: linear-gradient(45deg, #2265BE, #382794);
    --rs-second-color: #f33;
    --rs-font-color: #000;
    --rs-white-color: #fff;
    --rs-font-style: 'Poppins', sans-serif;
}

/**user-selext-content**/
::-moz-selection {
    /* Code for Firefox */
    color: var(--rs-white-color);
    background: #382794;
}

::selection {
    color: var(--rs-white-color);
    background: #382794;
}

/**user-selext-content-end**/
body {
    /*-webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;*/
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: var(--rs-font-style);
    color: var(--rs-font-color);
    /*    overflow-x: hidden !important;*/
    text-transform: capitalize;
}

.body-wrapper {
    overflow: hidden;
}

/* loader and scrollbar */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, .9);
    z-index: 99;
}

#status {
    width: 100px;
    height: 100px;
    position: fixed;
    left: 50%;
    top: 50%;
    background-color: green;
    /*background-image: url('../../images/Loader.gif');*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transform: translate(-50%, -50%);
}

/*scroll bar css**/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #382794;
}

/*loader and scrollbar end*/
/* input focus */
.form-control:focus {
    box-shadow: 0 0 5px 0px rgb(56 39 148 / 40%) !important;
    border-color: #382794;
    color: #000;
}

.form-control {
    padding: 7px 16px;
    /* color: #000; */
    border: 1px solid #a1a1a1;
    font-size: 14px;
}

.form-label {
    font-weight: 500;
    color: #000;
    font-size: 14px;
}

/* select2 css */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: black;
    line-height: 37px;
    font-size: 14px;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #c2c2c2;
    border-radius: 8px;
}

.select2-container .select2-selection--single {
    height: 37px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 37px;
}

.select_new span.select2.select2-container.select2-container--default {
    width: 100% !important;
}

.select_new span.selection {
    width: 100%;
    display: block;
}

.select2-container--default .select2-selection--multiple {
    width: 100%;
}

span.selection {
    display: block;
    width: 100%;
}

span.select2.select2-container.select2-container--default {
    width: 100% !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #dfe5ef 1px;
    height: 39px;
    line-height: 25px;
    border-radius: 8px;
    padding: 0 8px;
}

span.select2-container.select2-container--default.select2-container--open {
    z-index: 9999 !important;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #dfe5ef;
    height: 40px;
    line-height: 25px;
    padding: 0 10px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: linear-gradient(45deg, #2265BE, #382794);
}

/* datatable css */
.table>:not(caption)>*>* {
    padding: 10px;
}

table.dataTable thead>tr>th,
table.dataTable thead>tr>th_asc {
    background: #382794;
    color: #fff;
    text-align: center;
}

.footer {
    position: fixed;
    margin: 0 auto;
    left: 220px;
    right: 0;
    z-index: 99;
    background: #ffff;
    box-shadow: 0 0 0px 1px #372996;
    bottom: 0;
    color: #000000;
    background: rgb(55 42 151 / 10%);
}

.left-sidebar .scroll-sidebar {
    overflow-y: auto;
    padding: 0px 10px 0;
    height: calc(100vh - 70px);
    border-radius: 7px;
}

#main-wrapper[data-layout=vertical][data-header-position=fixed] .body-wrapper>.container-fluid,
#main-wrapper[data-layout=vertical][data-header-position=fixed] .body-wrapper>.container-lg,
#main-wrapper[data-layout=vertical][data-header-position=fixed] .body-wrapper>.container-md,
#main-wrapper[data-layout=vertical][data-header-position=fixed] .body-wrapper>.container-sm,
#main-wrapper[data-layout=vertical][data-header-position=fixed] .body-wrapper>.container-xl,
#main-wrapper[data-layout=vertical][data-header-position=fixed] .body-wrapper>.container-xxl {
    max-width: 100%;
    padding: 80px 15px 50px 15px;
}

/**menu css***/
ul.submenu {
    padding-left: 15px;
    display: none;
}

ul.submenu.active {
    display: block;
}

/*dashboard*/
.white_shadow {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 0 4px 0px #d6d6d6;
    border-radius: 4px;
}

.dasboard .left {
    width: calc(100% - 100px);
    padding: 15px;
}

.dasboard .right {
    display: flex;
    align-items: end;
    justify-content: end;
    width: 100px;
    background: linear-gradient(45deg, #2265BE, #382794);
    color: #fff;
    border-radius: 170px 0 0 0;
    border: 0px solid red;
}

.dasboard .right h4 {
    color: #fff;
    font-size: 24px;
    margin: 0;
    padding: 0 15px 20px 0;
}

/*dashboard 2*/
.dasboard-2 .right {
    background: transparent;
    width: auto;
    position: absolute;
    top: 50%;
    right: 20px;
    height: 100%;
    transform: translateY(-50%);
}

.dasboard-2 .right h4 {
    color: linear-gradient(45deg, #2265BE, #382794);
}

.dasboard-2 .left {
    width: 100%;
}

.dasboard-2 .right h4 {
    padding: 0;
    font-size: 110px;
    color: #ffffff;
    opacity: 0.2;
    transition: all 900ms ease-in-out;
    line-height: 1;
    margin: 0;
}

.dasboard-2:hover .right h4 {
    opacity: 1;
    transition: all 500ms ease-in-out;
}

.dasboard-2 .left h3,
.dasboard-2 .left span {
    color: #fff;
}

.dasboard-2 {
    background: linear-gradient(45deg, #2265BE, #382794);
    padding: 25px 20px;
}

/*dashboard 3*/
.dasboard-3 {
    padding: 10px 20px;
    align-items: center;
    background: #fff;
    color: #fff;
    border-radius: 8px;
    /* background: -webkit-linear-gradient(to right, #0083B0, #00B4DB);
    background: linear-gradient(to right, linear-gradient(45deg, #2265BE, #382794), #00B4DB); */
    z-index: 1;
    border: 1px solid #d6d6d6;
}

.dasboard-3:before {
    position: absolute;
    content: '';
    top: -50px;
    left: -30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #2265BE, #382794);
    border-radius: 100%;
    opacity: 0;
    z-index: -1;
}

.dasboard-3 {
    overflow: hidden;
}

.dasboard-3:after {
    position: absolute;
    content: '';
    bottom: -70px;
    right: -20px;
    width: 80px;
    height: 90px;
    background: linear-gradient(45deg, #2265BE, #382794);
    border-radius: 100%;
    opacity: 0;
    z-index: -1;
}

.dasboard-3 h3 {
    color: #382794;
    font-weight: 600;
}

.dasboard-3 .left {
    /* width: calc(100% - 100px); */
    color: #000000;
    font-weight: 600;
    padding-right: 25px;
}

.dasboard-3 .right span {
    background: linear-gradient(45deg, #2265BE, #382794);
    width: 70px;
    height: 70px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    color: #fff;
    border: 2px solid rgb(55 41 149 / 20%);
}

.dasboard-4 {
    display: block;
    text-align: center;
    margin-top: 30px;
    padding: 50px 0 0;
    background: rgb(63 166 240 / 10%);
}

.dasboard-4 h3 {
    color: linear-gradient(45deg, #2265BE, #382794);
}

.dasboard-4 .left span {
    color: #a4a4a4;
}

.dasboard-4 .right {
    position: absolute;
    left: 0;
    color: #fff;
    background: rgb(114, 216, 117);
    background: -moz-linear-gradient(-45deg, rgba(114, 216, 117, 1) 0%, rgba(58, 161, 252, 1) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(114, 216, 117, 1) 0%, rgba(58, 161, 252, 1) 100%);
    background: linear-gradient(135deg, rgba(114, 216, 117, 1) 0%, rgba(58, 161, 252, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#72d875', endColorstr='#3aa1fc', GradientType=1);
    top: -30px;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    right: 0;
    margin: 0 auto;
}

.bottom_row p {
    margin: 0;
    background: rgb(114, 216, 117);
    background: -moz-linear-gradient(-45deg, rgba(114, 216, 117, 1) 0%, rgba(58, 161, 252, 1) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(114, 216, 117, 1) 0%, rgba(58, 161, 252, 1) 100%);
    background: linear-gradient(135deg, rgba(114, 216, 117, 1) 0%, rgba(58, 161, 252, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#72d875', endColorstr='#3aa1fc', GradientType=1);
    justify-content: center;
    color: #fff;
    padding: 10px 0;
}

.dasboard-4 .left {
    padding: 20px 0;
}

/**/
.app-header {
    box-shadow: 0 0 1px #c5c5c5;
    background: linear-gradient(45deg, #2265BE, #382794);
    background-image: url(../images/sidebar.png);
    background-position: bottom center;
    background-repeat: repeat;
    background-size: 5%;
}

.daterange {
    background: #fff;
    cursor: pointer;
    padding: 7px 10px;
    border: 1px solid #c2c2c2;
    width: 100%;
    border-radius: 8px;
    font-size: 14px;
}

.app-header .navbar .navbar-nav .nav-item .nav-link {
    background: linear-gradient(45deg, #2265BE, #382794);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    padding: 0;
    text-align: center;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 0px 2px #fff;
    font-size: 14px;
}

.app-header .navbar .navbar-nav .nav-item .nav-link:hover {
    background: #FBBA00;
}

.nav-icon-hover:hover:before {
    background: transparent;
}

table.dataTable thead>tr>th,
table.dataTable thead>tr> {
    padding-left: 10px !important;
    font-weight: 500;
    text-align: center !important;
}

table.dataTable.table-striped>tbody>tr {
    text-align: center;
    vertical-align: middle;
}

table.dataTable td {
    color: #000 !important;

}

table.dataTable td,
table.dataTable th {
    text-align: center !important;
    padding: 5px !important;
    vertical-align: middle;
}

.dataTables_scrollBody th,
.dataTables_scrollBody th div {
    font-size: 14px !important;
    height: auto !important;
    font-weight: 500;
}

.dataTables_scrollHeadInner {
    display: none;
}

div.dataTables_wrapper div.dataTables_filter {
    padding-bottom: 15px;
}

table.dataTable>tbody>tr:hover {
    background: #f6f6f6;
}

.bg_login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.login_from {
    max-width: 450px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px 40px 40px;
    border-radius: 10px;
    box-shadow: 0 0 2px 1px #f2f2f2;
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
}

.login_rs h2 {
    text-align: center;
    font-size: 24px;
}

.login_rs h3 {
    padding: 15px 0;
}

.btn-primary:hover,
.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    background: linear-gradient(45deg, #352f9a, #2265be);
    border-color: #352f9a;
}

/* .login_from:before, .login_from:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, #2265BE, #382794);
    bottom: 0;
    left: 0;
    z-index: -1;
}

.login_from:after {bottom: 5px;background: #FBBA00;} */

.app {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.doors {
    display: flex;
}

.door {
    background: rgb(239 57 64 / 20%);
    box-shadow: 0 0 3px 2px rgb(239 57 64) inset;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 1ex;
    margin: 1ch;
}

.boxes {
    /* transform: translateY(0); */
    transition: transform 1s ease-in-out;
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 3rem;
}

.app .buttons {
    margin: 1rem 0 2rem 0;
}

.app button {
    cursor: pointer;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 0 0.2rem 0 0.2rem;
}

.info {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.item_bx {
    width: 50px;
    height: 50px;
    background: gainsboro;
    position: relative;
}

.item_bx span {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    right: 0;
    border: 1px solid #FBBA00;
}

.winner_name {
    font-size: 22px;
    color: #FBBA00;
    font-weight: 500;
}

.spin-animation {
    /* Example animation properties */
    transform: rotate(360deg);
    transition: transform 0.5s ease-in-out;
}

.leaderboard .item {
    background: #ffffff;
    padding: 10px 5px;
    border-radius: 8px;
    /* display: flex; */
    align-items: center;
    /* width: auto; */
    margin-bottom: 10px;
    /* justify-content: space-between; */
    box-shadow: 0 0 30px #e1e1e1;
    margin: 0 5px 10px;
    border: 2px solid #fff;
}

.leaderboard .item .uer_name i {
    display: none;
    color: #fa9907;
}

.item.stoppedItem {
    border: 2px solid #ef3940;
}

.leaderboard .item.stoppedItem .uer_name i {
    width: 100%;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    font-size: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.2;
    color: black;
}

.leaderboard .item p {
    margin: 0;
}

.leaderboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.leaderboard .item .uer_icon {
    text-align: center;
}

.leaderboard .item .uer_name {
    width: auto;
    padding: 0 10px;
    font-size: 16px;
}

.uer_mo span {
    font-size: 12px;
}

.uer_mo {
    text-align: center;
}

.leaderboard .item {
    position: relative;
}

.left-sidebar {
    z-index: 1024;
    background-image: url(../images/sidebar.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
}

.sidebar-nav ul .sidebar-item .sidebar-link:hover {
    background: linear-gradient(45deg, #2265BE, #382794);
    color: #fff;
}

.show-sidebar .left-sidebar .close-btn {
    right: -14px;
}

.left-sidebar .close-btn {
    position: absolute;
    top: 16px;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #2265BE, #382794);
    color: #fff;
    text-align: center;
    line-height: 36px;
    border-radius: 50px;
    border: 3px solid #fff;
}

.new_bt {
    box-shadow: 0 0 0 1px #b93802 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #AA0000, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 20px 10px 0px 10px;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0px 3px 6px BLACK;
    border: 6px dotted white !important;
    cursor: pointer;
}

.login_rs span {
    color: #382794;
    display: inline;
    font-weight: 600;
}

.title_lucky h3 {
    font-family: 'Titan One', sans-serif;
    text-align: center;
    font-size: 32px;
    /* background: #FFFF00; */
    /* background: linear-gradient(to right, #FFB76B 0%, #FFA73D 30%, #FF7C00 60%, #ff9900 100%); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    color: #FBBA00;
}

.winner_show {
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 700px;
    margin: 0 auto;
}

.winner_show .rank_img {
    width: 250px;
    height: 250px;
    position: relative;
}

.winner_show .rank_img img {
    width: 100%;
}



.winner_show .rank_img span {
    font-size: 160px;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: self-end;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: calc(100% - 60px);
    color: #FBBA00a12;
    font-family: 'Playfair Display', serif;
}

.winner_show .winner_detiles {
    width: calc(100% - 250px);
    padding: 0 25px;
}

.winner_show .winner_detiles h2 {
    font-family: 'Titan One', sans-serif;
    font-size: 42px;
    color: #FBBA00a12;
}

.winner_show .winner_detiles p {
    margin: 0;
    font-size: 24px;
}

.winner_new {
    margin: 15px auto 0;
    max-width: 1000px;
    padding: 0;
    border-radius: 10px;
    border-radius: 75px;
}

.rank_t img {
    width: 100px;
    margin: 0 auto;
}

.rank_t {
    text-align: center;
    padding-bottom: 0;
}

.winner_detil {
    text-align: left;
}

.winner_name span {
    color: #FBBA00000;
    font-size: 22px;
    font-family: 'Titan One', sans-serif;
}

.congratulations {
    text-align: center;
    padding: 10px 0;
    font-size: 64px;
    font-weight: 900;
    background: #FFB76B;
    background: linear-gradient(to right, #FFB76B 0%, #FFA73D 30%, #FF7C00 60%, #FF7F04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Style Script', cursive;
}

.winner_new,
.view_animation {
    display: none;
    /* Hide all winner cards initially */
}

.view_animation.show {
    display: block;
}

.reset_bt {
    box-shadow: 0 0 0 1px #d28703 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #bd7901, 0 8px 8px 1px rgba(0, 0, 0, 0.5);
}

.winner_detil h2 {
    font-weight: 700;
    color: #ff9900;
    font-size: 36px;
}

.winner_detil p {
    font-weight: 600;
}

.winner_new {
    position: relative;
    z-index: 1;
}

.winner_new:before {
    position: absolute;
    /* content: ''; */
    width: 100%;
    height: 100%;
    background-image: url(../images/winner-bg.png);
    top: 0;
    left: 0;
    background-position: center;
    z-index: -1;
    opacity: 0.03;
    background-size: cover;
}

.winner_name_dec {
    display: flex;
    flex-wrap: wrap;
    border-radius: 100%;
    z-index: 1;
    position: relative;
    justify-content: center;
}

.winner_name_dec .right:before {
    background-image: url(../images/winner-bg.png);
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    display: block;
    background-position: center;
    opacity: 0.03;
}

.winner_name_dec .right {
    position: relative;
}

.winner_name_dec .rank_t {
    width: 150px;
    height: 150px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0px 9px #ffae1f;
    border-radius: 100%;
}

.winner_name {
    padding: 0 15px;
    width: 150px;
    text-align: center;
}

.winner_name .rank_name {
    display: block;
}

.winner_detil {
    padding: 0 15px;
}

.winner_name_dec .right {
    width: calc(100% - 150px);
    display: flex;
    margin-left: auto;
    align-items: center;
    background: white;
    box-shadow: 0 0 30px #e5e5e5;
    border-radius: 0px 90px 90px 0px;
    z-index: -1;
    margin-left: -50px;
    overflow: hidden;
    padding-left: 60px;
}

.winner_new {
    display: none;
    opacity: 0;
    transform: translateY(100px);
    -webkit-transform: translateY(100px);
    -moz-transform: translateY(100px);
    -ms-transform: translateY(100px);
    -o-transform: translateY(100px);
}

.winner_new.buzzer-active {
    animation: fadeInUp 1s ease-in-out forwards;
    -webkit-animation: fadeInUp 1s ease-in-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
        -webkit-transform: translateY(100px);
        -moz-transform: translateY(100px);
        -ms-transform: translateY(100px);
        -o-transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo_login {
    text-align: center;
    padding-bottom: 25px;
}

.logo_login img {
    width: 250px;
}

.btn {
    padding: 7px 15px;
}

.login_rs h3 {
    padding-bottom: 10px;
    position: relative;
    display: table;
    margin: 0 auto;
    color: #000000;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 20px;
}


.dasboard-3 .right i {
    color: #ffffff;
}

.modal-title {
    color: #00385e;
}

.toggle {
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.toggle input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.toggle label {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.toggle label:before {
    content: '';
    width: 40px;
    height: 22px;
    background: rgb(255 0 0 / 50%);
    position: relative;
    display: inline-block;
    border-radius: 46px;
    box-sizing: border-box;
    transition: 0.2s ease-in;
}

.toggle label:after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    left: 2px;
    top: 2px;
    z-index: 2;
    background: #fff;
    box-sizing: border-box;
    transition: 0.2s ease-in;
}

.toggle input[type="checkbox"]:checked+label:before {
    background: rgb(110 220 95 / 70%);
}

.toggle input[type="checkbox"]:checked+label:after {
    left: 20px;
}

.small_bt {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 4px;
    /* background: #d0e4f4;
  color: linear-gradient(45deg, #2265BE, #382794); */
    border: 1px solid #362d98;
    color: #362d98;
}

.btn-outline-success.small_bt {
    background: rgb(0 63 12 / 10%);
    color: #003f0c;
    border-color: #003f0c;
}

.btn.btn-outline-success.small_bt:hover {
    background: #003f0c;
    color: #fff;
}

.answers_row h6 {
    background: linear-gradient(45deg, #2265BE, #382794);
    color: #fff;
    font-size: 16px;
    padding: 15px 15px 15px 35px;
    margin: 0 15px;
    border-radius: 8px;
    font-weight: 400;

    position: relative;
}

.answers_row p {
    background: rgb(234 234 234);
    padding: 10px;
    margin: 10px 0 0 0;
    border-radius: 4px;
    position: relative;
    font-size: 14px;
}

.answers_row p i {
    position: absolute;
    left: -20px;
    top: 13px;
    width: 40px;

    background: #000;
    color: #fff;

    height: 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
}

.answers_row h6 i {
    position: absolute;
    left: -20px;
    top: 13px;
    width: 40px;
    background: rgb(0 108 181 / 100%);
    color: #fff;
    height: 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
}

.view a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    border-radius: 4px;
}

.v_img a {
    background: #13deb9;
    color: #fff;
}

.v_video a {
    background: #fbba00;
    color: #fff;
}

.v_pdf a {
    background: #f49137;
    color: #fff;
}

/* .bg_login:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;

  opacity: 0.1;

  background: #1E9600;
  background: -webkit-linear-gradient(to right, #FF0000, #FFF200, #1E9600);
  background: linear-gradient(to right, #FF0000, #FFF200, #1E9600);
} */
.qr_code {
    text-align: center;
    border: 1px solid linear-gradient(45deg, #2265BE, #382794);
    border-radius: 8px;
    padding: 10px;
    max-width: 180px;
    margin: 0 auto 30px;
}

.input-group span svg path {

    stroke: linear-gradient(45deg, #2265BE, #382794);
}

.qr_code img {
    width: 100%;
}

.input-group-text {
    border: 1px solid #a1a1a1;
    cursor: pointer;
}

/* HTML: <div class="loader"></div> */
.loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 90%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #372a96;
    font-size: 30px;
}

.loader1 {
    width: 60px;
    height: 60px;
    display: flex;
    color: linear-gradient(45deg, #2265BE, #382794);
    --c: #0000 calc(100% - 20px), currentColor calc(100% - 19px) 98%, #0000;
    background:
        radial-gradient(farthest-side at left, var(--c)) right /50% 100%,
        radial-gradient(farthest-side at top, var(--c)) bottom/100% 50%;
    background-repeat: no-repeat;
    animation: l18-0 2s infinite linear .25s;
}

.loader1::before {
    content: "";
    width: 50%;
    height: 50%;
    background: radial-gradient(farthest-side at bottom right, var(--c));
    animation: l18-1 .5s infinite linear;
}

@keyframes l18-0 {

    0%,
    12.49% {
        transform: rotate(0deg)
    }

    12.5%,
    37.49% {
        transform: rotate(90deg)
    }

    37.5%,
    62.49% {
        transform: rotate(180deg)
    }

    62.5%,
    87.49% {
        transform: rotate(270deg)
    }

    87.5%,
    100% {
        transform: rotate(360deg)
    }
}

@keyframes l18-1 {
    0% {
        transform: perspective(150px) rotateY(0) rotate(0)
    }

    50% {
        transform: perspective(150px) rotateY(180deg) rotate(0)
    }

    80%,
    100% {
        transform: perspective(150px) rotateY(180deg) rotate(90deg)
    }
}

.que_user {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    background: rgb(168 168 168 / 10%);
    padding: 15px;
    border-radius: 8px 8px 0px 0;
    border-bottom: 3px solid linear-gradient(45deg, #2265BE, #382794);
    /*box-shadow: 5px 5px 0px 0px #e6dfdf;
  */
    : ;
    -webkit-border-radius: 8px 8px 0px 0;
    -moz-border-radius: 8px 8px 0px 0;
    -ms-border-radius: 8px 8px 0px 0;
    -o-border-radius: 8px 8px 0px 0;
}

.que_user .left {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 108 181 / 16%);
    border-radius: 50px;
    color: linear-gradient(45deg, #2265BE, #382794);
    font-weight: 500;
}

.que_user .right {
    width: calc(100% - 65px);
    font-size: 14px;
}

.que_user .right p {
    margin: 0;
    color: #3c3c3c;
}

.que_user .right span {
    font-size: 18px;
    padding-bottom: 5px;
    display: block;
    font-weight: 600;
    color: linear-gradient(45deg, #2265BE, #382794);
}

.daterangepicker .ranges li.active,
.daterangepicker td.active,
.daterangepicker td.active:hover {
    background: linear-gradient(45deg, #2265BE, #382794);
    color: #ffffff;
}

.daterangepicker td.in-range {
    background: rgb(251 186 0 / 10%);
}

.main_title {
    font-size: 22px;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.answers_row a {
    color: #1376b9;
    font-weight: 600;
}

.answers_row a:hover {
    color: #000;
}

.sm_bt {
    border-radius: 4px;
    width: 25px;
    height: 25px;
    padding: 0;
}

.offcanvas-header {
    background: linear-gradient(45deg, #2265BE, #382794);
}

.offcanvas-title {
    color: #fff;
}

.offcanvas-header .btn-close {
    color: #fff;
    opacity: 1;
    background-image: none;
    padding: 0;
    width: 30px;
    height: 22px;
    font-size: 20px;
    top: 24px;
    position: absolute;
    right: 15px;
}

.answer_table .table thead {
    background: #054b7a;
    color: #fff;
    text-align: left;
}

.container-login {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.container-login .bg_wrap {
    width: 40%;
    height: 100vh;
    background: linear-gradient(45deg, #2265BE, #382794);
    position: relative;
}

.login_from {
    width: 60%;
}

.container-login .bg_wrap svg {
    transform: rotate(90deg);
    position: absolute;
    right: 0;
    height: 100%;
}

.app-header .navbar {
    min-height: 60px;
    padding: 0;
}

.white_shadow_rs {
    box-shadow: 0 0 4px 0px #d6d6d6;
    border-radius: 8px;
    padding: 20px 10px;
    margin: 20px 0 0 0;
}

.text-bg-primary {
    color: #fff !important;
    background: #372895;
}

.modal-dialog-scrollable .modal-body {
    overflow: auto;
    margin: 5px;
    overflow-x: hidden;
}

.form-control::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #000;
}

.form-control::-moz-placeholder {
    /* Firefox 19+ */
    color: #000;
}

.form-control:-ms-input-placeholder {
    /* IE 10+ */
    color: #000;
}

.form-control:-moz-placeholder {
    /* Firefox 18- */
    color: #000;
}

table.dataTable.table-striped>tbody>tr {
    text-transform: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.login_rs .form-control,
.login_rs .btn {
    padding: 10px 16px;
}

.modal-header {
    border-bottom: 1px solid #c1c1c1;
}

.scan_rs {
    max-width: 350px;
    margin: 0 auto;
    background: #ffffff;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 0 2px 1px #f2f2f2;
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
}

.scan_rs img {
    width: 100%;
}

.footer img {
    width: 120px;
}

.rs_bg h2 {
    font-weight: 700;
}

.qr_rs {
    text-align: center;
    width: 100%;
    max-width: 200px;
}

.qr_rs p {
    font-weight: 600;
    font-size: 18px;
    padding: 15px 0;
}

.rs_bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    padding: 0 15px;
    justify-content: center;
}

.btn_rs {
    display: flex;
}

.btn_rs a {
    width: 150px;
    padding: 0 5px;
}

.btn_rs a img {
    width: 100%;
}

/*min-devices-media-query*/

@media (min-width: 575.98px) {
    ...
}

@media (min-width: 767.98px) {
    ...
}

@media (min-width: 991.98px) {
    ...
}

@media (min-width: 1024.98px) {
    ...
}

@media (min-width: 1199.98px) {
    .show-sidebar .left-sidebar {
        transform: translateX(-270px);
    }

    .show-sidebar .footer {
        left: 0;
    }

}

@media (min-width: 1200.98px) {
    ...
}

/*max-devices-media-query*/

@media (max-width: 1200.98px) {
    ...
}

@media (max-width: 1199.98px) {

    .footer {
        left: 0px;
    }

}

@media (max-width: 1024.98px) {
    ...
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: transparent;
        border: 0;
    }

    .container-login .bg_wrap {
        display: none;
    }

    .login_from {
        width: 100%;
    }

    .container-login {
        padding: 0 15px;
    }

    .login_from {
        padding: 40px 20px;
    }
}

@media (max-width: 767.98px) {
    .winner_name_dec .right {
        flex-wrap: wrap;
    }

    .winner_name .rank_name {
        display: inline-block;
    }

    .rs_bg {
        text-align: center;
    }

    .logo_login.text-start {
        text-align: center !important;
        padding: 15px 0;
    }

    .btn_rs,
    .qr_rs {
        justify-content: center;
        text-align: center;
        margin: 0 auto;
    }


    .btn_rs {
        padding-bottom: 15px;
    }
}

@media (max-width: 575.98px) {
    .winner_name_dec .right {
        width: 100%;
        margin: -30px 0 0 0;
        padding: 50px 0 20px;
        border-radius: 8px;
    }

    .winner_name {
        width: 100%;
    }

    .winner_detil {
        text-align: center;
        width: 100%;
        border-radius: 0;
    }

    .col-12.my-auto {
        padding: 4px 0;
    }

    .btn_rs a {
        display: block;
        width: 100%;
    }
}

label.error {
    text-align: left !important;
    display: block;
    padding-left: 10px;
    color: red;
}

.occ_upload .upload_photo {
    max-width: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 18px;
}

.occ_upload .upload_photo span.format_view {
    font-size: 10px;
}

.upload_photo {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background: rgb(87 138 214 / 10%);
    border: 2px dashed #578AD6;
    border-radius: 8px;
    padding: 20px 10px;
    position: relative;
}

.upload_photo input {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload_photo span {
    width: 50px;
    height: 50px;
    background: #578ad6;
    border: 1px solid #00000000;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    padding: 10px;
}

.upload_photo.add_more_images {
    background: rgb(88 138 214 / 10%);
    color: #588ad6;
    cursor: pointer;
    border: 1px solid #588ad6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 15px 6px 6px;
    border-radius: 50px;
    width: fit-content;
    margin: 0 auto;
}

.upload_photo.add_more_images span {
    background: #588ad6;
    padding: 0;
    margin: 0 10px 0 0px;
    width: 40px;
    height: 40px;
}

.upload_photo.add_more_images span i {
    top: 0;
    color: #fff;
}

.upload_photo .btn {
    position: absolute;
    top: 3px;
    right: 7px;
    padding: 0;
    color: #d90b1d;
    font-size: 14px;
    z-index: 999;
}

.upload_photo span img {
    width: 100%;
}

.upload_photo span.format_view {
    width: 100%;
    height: auto;
    display: block;
    background: transparent;
    padding: 0;
    font-size: 11px;
    color: #6c6c6c;
    font-weight: 400;
    margin: 0;
}

.upload_images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.upload_images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.editimage {
    position: relative;
}

.editimage #imageName {
    position: absolute;
    width: calc(100% - 220px);
    background: #fff;
    right: 0;
    top: 8px;
    left: 20px;
    margin: 0 auto;
    pointer-events: none;
}

#imagePreview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Space between preview items */
}

#imagePreview>div {
    position: relative;
    width: 100px;
    /* Fixed width for consistency */
    height: 100px;
    /* Fixed height for consistency */
    overflow: hidden;
    /* Crop excess image content */
    border: 1px solid #ddd;
    /* Optional: subtle border for clarity */
    border-radius: 4px;
    /* Optional: rounded corners */
}

#imagePreview img {
    width: 100%;
    /* Fill the container width */
    height: 100%;
    /* Fill the container height */
    object-fit: cover;
    /* Crop image to fit while maintaining aspect ratio */
    display: block;
    /* Remove any default spacing */
}

#imagePreview .btn-danger {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 2px 6px;
    font-size: 12px;
    line-height: 1;
}

@media (max-width: 576px) {
    #imagePreview>div {
        width: 80px;
        height: 80px;
    }

    #imagePreview .btn-danger {
        font-size: 10px;
        padding: 1px 4px;
    }
}