@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/eot/IRANSansWeb_Black.eot');
    src: url('../fonts/eot/IRANSansWeb_Black.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/woff2/IRANSansWeb_Black.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/woff/IRANSansWeb_Black.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/IRANSansWeb_Black.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/eot/IRANSansWeb_Bold.eot');
    src: url('../fonts/eot/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/woff2/IRANSansWeb_Bold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/woff/IRANSansWeb_Bold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/IRANSansWeb_Bold.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/eot/IRANSansWeb_Medium.eot');
    src: url('../fonts/eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/woff2/IRANSansWeb_Medium.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/woff/IRANSansWeb_Medium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/IRANSansWeb_Medium.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/eot/IRANSansWeb_Light.eot');
    src: url('../fonts/eot/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/woff2/IRANSansWeb_Light.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/woff/IRANSansWeb_Light.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/IRANSansWeb_Light.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/eot/IRANSansWeb_UltraLight.eot');
    src: url('../fonts/eot/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/woff2/IRANSansWeb_UltraLight.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/woff/IRANSansWeb_UltraLight.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/IRANSansWeb_UltraLight.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/eot/IRANSansWeb.eot');
    src: url('../fonts/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/woff2/IRANSansWeb.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/woff/IRANSansWeb.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/IRANSansWeb.ttf') format('truetype');
}

* {
    font-family: IRANSans;
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    background: url("../images/bg.jpg") repeat;
}

nav {
    background-color: #1d78be;
    color: #ffffff !important;
}

.navbar-dark .navbar-brand {
    color: #ffffff !important;
}

.navbar-d .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
}

nav {
    background-color: #1d78be !important;
    color: #ffffff !important;
}

.bg-dark {
    background-color: #1d78be !important;
}

@media (max-width: 1200px) {
    .container {
        padding: 0;
        margin: 0;
    }

    body {
        padding: 0;
    }
}

@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 1200px !important;
    }
}

@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 1200px !important;
    }
}


.back-yellow {
    background-color: #f4c43a;
    padding: 15px 10px;
    width: 100%;
    color: white;
    vertical-align: middle;
}

.bottom-margin {
    border-top: 2px dashed white;
    background-color: #f4c43a;
    width: 100%;
    height: 5px;
    position: absolute;
    bottom: 2px;
    padding: 0px;
    right: 0px;
}

.app-image {
    width: 128px;
    text-align: center;
    color: #212121;
    margin: 3px;
    font-size: 1rem;
    max-width: 128px;
    border-radius: 6px;
}

.app-back {
    background-color: #eee;
    margin-left: 0px;
    margin-right: 0px;
}

.card-app {
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    padding: 10px;
    margin: 3px;
}

.col {
    padding: 0px;
}

.parent {
    display: flex;
    width: 100%;
    /*height: 100px;*/
    align-items: center; /* Align Items Vertically */
    justify-content: space-between; /* Align Items Horizontally (with equal space in between each of them */
}

.children {
    display: flex;
}

.p-right {
    width: 100%;
    padding: 5px;
}

.col-item {
    padding-right: 3px !important;
    padding-left: 3px !important;
}

a {
    color: white;
}

.shfooter .collapse {
    display: inherit;
}

@media (max-width: 767px) {
    .shfooter ul {
        margin-bottom: 0;
    }

    .shfooter .collapse {
        display: none;
    }

    .shfooter .collapse.show {
        display: block;
    }

    .shfooter .title .fa-angle-up,
    .shfooter .title[aria-expanded=true] .fa-angle-down {
        display: none;
    }

    .shfooter .title[aria-expanded=true] .fa-angle-up {
        display: block;
    }

    .shfooter .navbar-toggler {
        display: inline-block;
        padding: 0;
    }

}

.resize {
    text-align: center;
}

.resize {
    margin-top: 3rem;
    font-size: 1.25rem;
}

/*RESIZESCREEN ANIMATION*/
.fa-angle-double-right {
    animation: rightanime 1s linear infinite;
}

.fa-angle-double-left {
    animation: leftanime 1s linear infinite;
}

@keyframes rightanime {
    50% {
        transform: translateX(10px);
        opacity: 0.5;
    }
    100% {
        transform: translateX(10px);
        opacity: 0;
    }
}

@keyframes leftanime {
    50% {
        transform: translateX(-10px);
        opacity: 0.5;
    }
    100% {
        transform: translateX(-10px);
        opacity: 0;
    }
}

footer {
    background-color: #1d78be;
}

.app-exp {
    padding: 15px;
    width: 100%;
}

.bottom-p {
    width: 100%;
    margin: 5px;
}

.btn-store {
    color: #212121;
    min-width: 300px;
    padding: 12px 20px !important;
    border-color: #212121 !important;
}

.btn-store:focus,
.btn-store:hover {
    color: #ffffff !important;
    background-color: #168eea;
    border-color: #168eea !important;
}

.btn-store .btn-label,
.btn-store .btn-caption {
    display: block;
    text-align: left;
    line-height: 1;
}

.btn-store .btn-caption {
    font-size: 24px;
}

.btn-link {
    color: #168eea;

    padding: 6px 12px !important;
    /*border-color: #212121 !important;*/
}


.btn-link:hover {
    color: #ffffff !important;
    background-color: #168eea;
    border-color: #168eea !important;
    text-decoration: none;
}

.p-1-sh {

    padding-left: 6px;
}

.page-itm * {
    direction: rtl !important;
}

.screenshot-strip {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 8px 0 16px 0;
    display: flex;
    gap: 10px;
    scrollbar-width: none;
}

.screenshot-strip::-webkit-scrollbar {
    height: 3px;
}

.screenshot-strip::-webkit-scrollbar-track {
    background: #e0e0e0;
}

.screenshot-strip::-webkit-scrollbar-thumb {
    background: #bbb;
}

.strip-item {
    display: inline-block;
    width: 100px;
    flex-shrink: 0;
    background: #f5f5f5;
    cursor: pointer;
    position: relative;
    border: 1px solid #ddd;
}

.strip-item:active {
    opacity: 0.7;
}

.strip-img {
    width: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: auto;
}

.full-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.15s, opacity 0.15s;
}

.full-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-image {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #777;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    border-radius: 20%;
}

.modal-nav:active {
    background: #ddd;
}

.nav-prev {
    left: 10px;
}

.nav-next {
    right: 10px;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #eee;
    border: 1px solid #ccc;
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    border-radius: 50%;
}


.counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #eee;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: #333;
    border: 1px solid #ccc;
}

.profile-single {
    width: 90px;
    height: 90px;
}

.chat-container {
    background-color: #e6ebef;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 85vh;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: #1e2a3e;
    color: white;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #ffc107;
}

/*.user-badge {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    flex-wrap: wrap;*/
/*    gap: 10px;*/
/*}*/

.avatar {
    width: 44px;
    height: 44px;
    background-color: #0d6efd;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.avatar-left {
    background: linear-gradient(135deg, #0b5ed7, #0a58ca);
}

.avatar-right {
    background: linear-gradient(135deg, #20c997, #198754);
}

.user_name {
    margin-left: 0.2rem;
    margin-right: 0.2rem;

}

/*.online-dot {*/
/*    width: 12px;*/
/*    height: 12px;*/
/*    background-color: #2ecc71;*/
/*    border-radius: 50%;*/
/*    display: inline-block;*/
/*    margin-right: 0.125rem;*/
/*    margin-left: 0.125rem;*/

/*    box-shadow: 0 0 0 2px #fff;*/
/*}*/

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1rem;
    background: #f8fafc;
    scroll-behavior: smooth;
}

.message {
    display: flex;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.2s ease-out;
}

.message.me {
    justify-content: flex-end;
}

.message.other {
    justify-content: flex-start;
}

.bubble {
    max-width: 75%;
    padding: 0.7rem 1rem;
    border-radius: 24px;
    position: relative;
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    text-align: right;
    font-size: 1.3rem;
}

.message.me .bubble {
    background: white;
    color: black;
    border-bottom-left-radius: 6px;
    border: 1px solid #cccccc;

}

.message.other .bubble {
    background: #efffde;
    border: 1px solid #afd19d;
    color: black;
    border-bottom-right-radius: 6px;

}

.message-time {
    font-size: 0.7rem;
    margin-top: 4px;
    opacity: 0.7;
    display: block;
    text-align: left;
    direction: ltr;
}

.message.me .message-time {
    text-align: left;
    color: #6c757d;
}

.message.other .message-time {
    color: #6c757d;
}

.message-sender {
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 4px;
    display: block;
    color: #2c3e66;
    text-align: right;
}

.chat-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
}

.input-group-custom {
    display: flex;
    gap: 12px;
    align-items: center;
}

.input-group-custom input {
    flex: 1;
    border-radius: 50px !important;
    border: 1px solid #cbd5e1;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    transition: 0.2s;
}

.input-group-custom input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
    outline: none;
}

.btn-send {
    border-radius: 60px !important;
    padding: 0.5rem 1.3rem;
    font-weight: 600;
    background-color: #0d6efd;
    border: none;
}

.btn-send:hover {
    background-color: #0b5ed7;
    transform: scale(0.97);
}

/* استایل اسکرول بار */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #a0aec0;
    border-radius: 10px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .chat-container {
        height: 92vh;

    }

    .bubble {
        max-width: 85%;
        font-size: 0.9rem;
    }

    .user-badge h5 {
        font-size: 1rem;
    }

    /*.avatar {*/
    /*    width: 38px;*/
    /*    height: 38px;*/
    /*    font-size: 1.2rem;*/
    /*}*/

    .btn-send {
        padding: 0.4rem 1rem;
    }
}

.sample-badge {
    background: #e9ecef;
    border-radius: 30px;
    padding: 0.2rem 0.7rem;
    font-size: 0.7rem;
    color: #2c3e50;
}


.box-img-modal .user {
    text-align: center;
    position: relative;
}

.box-img-modal .user .img-user {
    margin-bottom: 20px;
    margin-top: 20px;
    display: inline-block;
}

.box-img-modal .user .img-user img {
    border: 3px solid #f5c63c;
    max-width: 100px;
    width: auto;
    display: inline-block;
}

.box-img-modal .user h5 {
    max-width: 100px;
    text-align: center;
    padding: 5px;
    /*overflow: hidden;*/
    height: 30px;
    position: absolute;
    margin: auto;
    text-align: center;
    display: block;
    left: 0;
    right: 0;
    bottom: -20px;
    margin: auto;
    font-size: 13px;
    display: inline-block;
}


.box-modal-btn .btn {
    background: #f5c63c;
    color: #bd5703;
    height: 40px;
    position: relative;
    white-space: nowrap;
    border-bottom: 3px solid #edb53e;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 85px;
    flex: 1 1 85px;
    max-width: 85px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 13px;
}

.box-modal-btn .btn img {
    max-height: 40px;
    display: inline-block;
}


.btn-replay img {
    width: 15px;
    height: 15px;
    display: none;
}

.modal-body .winner {
    font-size: 18px;
}


.modal-header-chat .head-close {
    display: block;
    background: #1d78be;
    color: #ffffff;
    width: 100%;
    padding: 10px;
    min-height: 50px;
}

.modal-header-chat .head-top {
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    text-align: center !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    background-color: #fff;
}

.modal-body-chat-massage ul {
    list-style: none;
    padding: 2px 2px !important;
    margin: 0 !important;
    display: block;
    background: #21170e;
    opacity: 0.95;
    text-align: center;
    max-height: 450px;
    overflow: auto;
    position: relative;
    top: 0;
    bottom: 40px;
    right: 0;
    left: 0;
    width: 100%;
}

.modal-body-chat-massage ul li {
    display: inline-block;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 49.2%;
    -webkit-box-shadow: 2px 2px 2px #a4a4a4;
    box-shadow: 2px 2px 2px #a4a4a4;
    border-radius: 10px;
    margin: 2px 0px !important;
    padding: 10px 5px;
    background-color: #fff;
    font-size: 13px;
    font-weight: bold;
}

.modal-body-chat-massage ul li a {
    color: #373737;
}


.modal-body-chat-emoji ul {
    list-style: none;
    margin: 0;
    padding: 3px 2px !important;
    background-color: #21170e;
    opacity: 0.95;
    text-align: center;
}

.modal-body-chat-emoji ul li {
    width: 23.5%;
    display: inline-block;
    -webkit-box-shadow: 2px 2px 2px #a4a4a4;
    box-shadow: 2px 2px 2px #a4a4a4;
    border-radius: 10px;
    margin: 2px 0px !important;
    background-color: #ffffff;
}


.modal-body-soldier ul {
    list-style: none;
    padding: 0;
    margin: auto;
    text-align: center;
}

.modal-body-soldier ul li {
    width: 23%;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}


button:focus, .btn:focus {
    border: none !important;
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

a:link, a:visited, a:hover, a:active {
    text-decoration: none;
}

canvas {
    margin: 0 auto;
}

.box-buttons .btn {
    background-color: #f5c63c;
    color: #bd5703;
    border-bottom: 3px solid #edb53e;
    width: 100px;
}

.box-buttons .btn {
    background-color: #f5c63c;
    color: #bd5703;
    border-bottom: 3px solid #edb53e;
    width: 100px;
}

.game {
    display: none;
}

.profile-account .profile-body {
    width: 300px;
    background-color: #1d78be;
    min-height: 300px;
    min-width: 300px;
    color: white;
    box-shadow: 0px 2px 10px #7377d9;
    height: 390px;
    padding: 0px 15px;
}

.profile-account .chess {
    height: 390px;
    width: auto;
}

.profile-account .profile-body .hedaer-profile-body {
    text-align: center;
    padding: 10px;
}

.profile-account .profile-body .hedaer-profile-body img {
    border-radius: 50%;
    width: 110px;
    height: 100%;
    padding: 2px;
    background-color: #fff;
    box-shadow: 0px 3px 5px #3b356e;
    margin-bottom: 5px;
}

.title-profile-body {
    padding: 30px 10px 0px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.profile-body .btn {
    width: 100%;
    margin-bottom: 15px;
}

.hedaer-profile-body .name {
    height: 30px;
    font-size: 20px;
    overflow: hidden;
}

.hedaer-profile-body span {
    font-size: 13px;

}

.items {
    display: flex;
    flex-grow: 1;

}

.items ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
    width: 100%;

}

.items ul li {
    background-color: #fff;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    box-shadow: 0px 3px 5px #bababa;
    z-index: 9999 !important;
    position: relative;
    margin: 0px 0px 10px 0px;
    max-height: 123px;
    height: 100%;
    position: relative;
    border: 1px solid #efefef;
    justify-content: flex-start;
}

.items ul li:last-child {
    margin-bottom: 0;
}


.items ul li img {
    display: inline-block;
    top: 0;
    bottom: 0;
    right: 10px !important;
    left: auto;
    position: relative;
    margin: auto 0px;
    padding: 10px 0px;
    position: relative;
    background-color: #fff;
    max-width: 105px;
}

.items ul li .item-card {
    margin: 0px 20px;
}

.items ul li .item-card h5 {
    font-size: 15px;
    margin: 10px 0px;
}

.items ul li .item-card p {
    font-size: 12px;
}

.items ul li .item-card .btn {
    border: 2px solid #f5c63c;
    width: 90px;
    font-size: 14px;
    margin-bottom: 10px;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 100%;
    }
}


@media (max-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 100%;
    }

    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .container, .container-sm {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .profile-account .profile-body {
        height: auto !important;
    }

    .profile-account .chess {
        width: auto !important;
        height: 100% !important;
        position: relative;
        left: 0;
        right: 0;
        margin: 0px auto;
    }


    .profile-account .profile-body {
        width: 100% !important;
        margin-bottom: 10px;
    }


    .items ul li {
        height: auto !important
    }

}

#login_dialog small {
    font-size: 15px !important;
    display: flex;
    justify-content: center !important
}

#login_dialog button {
    font-size: calc(12px + (13 - 12) * ((100vw - 360px) / (1600 - 320))) !important;;
    padding: calc(6px + 5 * ((100vw - 320px) / 780)) !important;
    color: #000 !important
}

#login_dialog button:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline-width: 0
}

#login_dialog .btn-icon {
    border: 1px solid #ccc;
    background-color: transparent;
    border-radius: 0;
    letter-spacing: 1px
}

#login_dialog .btn-icon:hover {
    background-color: #52B4DB;
    color: #fff !important;
    border: 1px solid #ccc
}

#login_dialog label {
    font-size: 11px !important;
    vertical-align: middle !important
}


#login_dialog .custom-control-label span {
    position: relative;
    top: 4px
}

#login_dialog .modal-content {
    width: calc(400px + 10 * ((100vw - 320px) / 680))
}

#login_dialog .cross {
    cursor: pointer
}


#avatar_dialog {
    z-index: 10000;
}

.avatars {
    position: relative;
}

.avatars {

    height: 130px;
    list-style: none;
    display: inline;
    margin: 0;
    padding: 0;
    overflow-x: scroll;

}

.avatars li {
    margin: 3px;
    display: inline-block;
    white-space: nowrap;
    overflow-x: auto;

}

.avatars-contain {
    margin: 10px;
}


.card-avt .card-body {
    padding: 0.2rem !important;
}

.avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 5%;
    /*margin-top: 0.5rem;*/
}

.unselect {
    background-color: #f3c639;
}

.selected {
    background-color: #ef5350;
}

.card-avt {
    cursor: pointer;
}

.nameRow {
    margin-right: 0px !important;
    margin-left: 0px !important;
    padding: 10px;

}

#register {
    margin: 10px;
}

nav {
    background-color: #1d78be;
    color: #ffffff !important;
}

.navbar-dark .navbar-brand {
    color: #ffffff !important;
}

.navbar-d .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
}


.bottom-margin {
    border-top: 2px dashed white;
    background-color: #f4c43a;
    width: 100%;
    height: 5px;
}


container-fluid {
    padding: 0px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.row, .col {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.modal .modal-dialog {
    width: 400px;
    max-width: 100%;
}

@media only screen and (max-width: 480px) {
    .modal .modal-dialog {
        position: relative;
        width: auto;
        margin: 10px !important;
    }

    #dialog_result .modal-dialog, #errorDialog .modal-dialog {
        position: absolute !important;
        min-width: 200px !important;
    }
}

#dialog_result .modal-dialog, #errorDialog .modal-dialog {
    max-width: 280px !important;
}

#errorReg {
    color: red;
    visibility: hidden;

}

.center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) !important;
}

@media only screen and (max-width: 480px) {
    .center {
        left: calc(50% - 10px) !important;
    }

}

.p-0 {
    padding: 0 !important;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(200, 200, 200, 0.8);
    border-radius: 5px;
}


::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}


.chat-button button {
    background-color: #1d78be;
    color: white;
    height: 45px;
}

.chat-button button:hover {
    background-color: #2d88ce;
}

.chat-input input {
    height: 45px;
}


svg.radial-progress circle {
    fill: rgba(0, 0, 0, 0);
    stroke: #fff;
    stroke-dashoffset: 219.91148575129; /* Circumference */
    stroke-width: 10;
}

svg.radial-progress circle.incomplete {
    opacity: 0.25;
}

svg.radial-progress circle.complete {
    stroke-dasharray: 219.91148575129; /* Circumference */
}

svg.radial-progress text {
    /*fill: #fff;*/
    font: 400 1em/1 'Oswald', sans-serif;
    text-anchor: middle;
}


#chartScore svg.radial-progress:nth-of-type(6n+1) circle {
    stroke: #fa8818;
}

#chartWins svg.radial-progress:nth-of-type(6n+1) circle {
    stroke: #24be3a;
}


nav {
    background-color: #1d78be;
    color: #ffffff !important;
}


container-fluid {
    padding: 0px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.row, .col {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

svg {
    display: flex;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

#pleaseWaitDialog .modal-dialog {
    align-items: center;
    justify-content: center;
    width: 130px;
}

#pleaseWaitDialog .modal-body {
    background: black;
}

.modal {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

.modal-dialog {
    /*display: inline-block;*/
    text-align: left;
    vertical-align: middle;
}

#pleaseWaitDialog .modal-dialog {
    display: inline-block;
}


@media screen and (max-width: 480px) {
    .button-buy {
        font-size: 0.8rem;
    }
}


.emoji-sample ul {
    display: inline-block;
    list-style: none;

}

.emoji-sample ul li {
    display: inline-block;
    list-style: none;

}

@media screen and (max-width: 480px) {
    .emoji-sample ul li img {
        width: 45px;
        height: 45px;
    }
}


.button-support {
    outline-color: #f5c63c;
    outline-style: solid;
    outline-width: 2px;
    background-color: white;
    color: #c56f0c;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    height: 45px;
    border-radius: 5px;

}

@media screen and (max-width: 480px) {
    .button-support {
        font-size: 0.9rem;
    }
}

.button-support:hover {
    outline-color: #f5d64c;
    outline-style: solid;
    outline-width: 2px;
    background-color: white;
    color: #212121;
}

.container {
    padding: 0 !important;
}

.mid-result {
    min-width: 50px;
    text-align: center;

}

.cancelError {

    background-color: #f5c63c;
    color: #c56f0c;
    outline-style: none;
    border-style: none;
    border-radius: 5px;
    padding: 5px;
}

.cancelError:hover {
    background-color: #f5d64c;
    color: #c56f0c;
}

.swal-footer {
    text-align: center;
}

.swal-text {
    text-align: center;
}

.amount-coins {
    text-align: right;
}

.amount-coins img {
    float: right;
    width: 40px;
    height: 40px;
    transform: translate(0, -25%);
}

.admin-msg-hed {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    font-weight: bolder;
}

.modal-body-msg {
    background-color: #e7eaef;
    position: relative;
    min-height: 200px;
    overflow: auto;
    margin-bottom: 5px !important;
    padding: 5px 10px !important;
    max-height: 300px;
}

.modal-body-msg .card {
    margin-bottom: 10px;
    padding: 10px;
}

.modal-body-msg .card .time {
    color: #9E9E9E;
}

.modal-body-msg .card .text {
    color: #212121;
    font-weight: bold;
}

.modal-body-about {
    background-color: #e7eaef;
    position: relative;
    overflow: auto;
    margin-bottom: 5px !important;
    padding: 5px 10px !important;

}

.modal-body-about .card {
    margin-bottom: 5px;
    padding: 10px;
}

.img-email {
    width: 200px;
    text-align: center;
}

.btn-get-coins {

    background-color: #f5c63c;
    color: #c56f0c;
    /*outline-style: none;*/
    /*border-style: none;*/
    /*border-radius: 5px;*/
    padding: 5px;
}

.btn-get-coins:hover {
    background-color: #f5d64c;
    color: #c56f0c;
}

.grecaptcha-badge {
    z-index: 100000;
}

.profile-single {
    width: 90px;
    height: 90px;
}

#sendReport {
    cursor: pointer;
}


.text-report ul {
    display: inline-block;
    list-style: none;
    text-align: center;
    width: 100%;
}

.text-report ul li {
    display: inline-block;
    list-style: none;
    width: 45%;
}

.report-bottom {

    background-color: #f5c63c;
    color: #c56f0c;
    outline-style: none;
    border-style: none;
    border-radius: 5px;
    padding: 5px;
}

.report-bottom:hover {
    background-color: #f5d64c;
    color: #c56f0c;
}

#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}


.user-card {
    height: 100%;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 36px -14px rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

.avatar-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2c7da0, #1f5068);
    font-weight: 600;
    font-size: 1.4rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.badge-unanswered {
    background-color: #e11d48;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: white;
}

.status-online {
    color: #0f7b3a;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-offline {
    color: #9e2d2f;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.last-online-text {
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #2d3e50;
    border: 1px solid #eef2f9;
    margin-bottom: 12px;
}

.card-body-custom {
    padding: 0.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-body {
    padding: 0.1rem;
}


.info-row {
    margin: 10px 0 8px 0;
}

.header-icon {
    background: #1e466e20;
    padding: 6px 12px;
    border-radius: 60px;
    font-size: 0.9rem;
}

.container-custom {
    max-width: 1600px;
}

/* دکمه پاسخ با استایل جذاب */
.btn-reply {
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
    background: #0d6efd;
    color: white;
    border: none;
    padding: 8px 12px;
}

.btn-reply:hover {
    background: #0b5ed7;
    transform: scale(0.98);
}

.btn-reply:active {
    transform: scale(0.96);
}

@media (min-width: 1400px) {
    .col-xl-2-5 {
        flex: 0 0 auto;
        width: 20%;
    }
}


.card-container {
    min-height: 120px;
    transition: all 0.2s;
}

.single-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    animation: fadeSlide 0.3s ease-out;
    border: 1px solid rgba(255, 255, 245, 0.7);
    display: none; /* در ابتدا مخفی */
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    background: #212529;
    padding: 20px 24px 12px 24px;
    border-bottom: 2px solid #dce5f0;
    position: relative;
}

.card-header h3 {
    font-size: 1.8rem;
    color: #1e466e;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.card-header h3 span {
    background: #2c6e9e;
    color: white;
    font-size: 1.2rem;
    padding: 6px 14px;
    border-radius: 40px;
}

.close-card {
    position: absolute;
    top: 20px;
    left: 24px; /* چون راست‌چین نیستیم، ولی برای فارسی راحت‌تره */
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 32px;
    font-weight: 500;
    cursor: pointer;
    color: #7f8fa4;
    width: 44px;
    height: 44px;
    border-radius: 40px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-card:hover {
    background: #ffebee;
    color: #d32f2f;
    transform: scale(1.02);
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #2c3e66;
}

.feature-list li::before {
    content: "✓";
    background: #2a7f49;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 30px;
    font-size: 14px;
    margin-left: 8px;
}

.card-footer {
    background: #f9fbfd;
    padding: 14px 28px;
    border-top: 1px solid #e2edf7;
    font-size: 0.8rem;
    color: #5c6f87;
    text-align: center;
}

.single-card.show {
    display: block;
}

.note-tip {
    font-size: 0.85rem;
    text-align: center;
    margin-top: 20px;
    color: #3a5a78;
    background: #eef3fc;
    padding: 8px;
    border-radius: 60px;
}


.user-badge {
    position: relative; /* برای قرارگیری دکمه بستن نسبت به این المان */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: #1e2a3e;
 }

.close-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.05);
    font-size: 32px;
    font-weight: 500;
    cursor: pointer;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 40px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;



}

.close-badge:hover {
    color: black;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    display: inline-block;
}
.online-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #eeeeee;
    border-radius: 50%;
    margin-left: 5px;
}

.offline-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #eeeeee;
    border-radius: 50%;
    margin-left: 5px;
}
.status-online-dot {
    background-color: #0f7b3a;
}

.status-offline-dot {
    background-color: #9e2d2f;
  }
.d-flex {
    display: flex;
}
.align-items-center {
    align-items: center;
}
.gap-2 {
    gap: 8px;
}

.bar_status{
    background-color: #212529;
    text-align: center;
    color: white;
    margin-left: 0.1rem!important;
    margin-right:0.1rem!important;
    padding:0.2rem;
    margin-bottom:0.2rem;
    border-radius: 10px;
    min-height: 25px
}


