/* ========================================================================= */
/* PALATA.MOBI MAIN CONSOLIDATED STYLESHEET */
/* ========================================================================= */

/* ==================== SECTION: springStyle.css ==================== */

body {
    background-color: #332f28; /*434344*/
    max-width: 640px;
    font-family: Tahoma,Arial,sans-serif;
    margin: 0 auto;
    color: #000;
    font-size: medium;
}


table {
    border-collapse: collapse;
    border: 0px;
}

.font {
}

img.compact_v_i {
}

img.compact_v_l {
}

a.thinlink, a.thinlink:hover {
    font-weight: normal;
}

input, textarea {
    font-family: Verdana,Arial,sans-serif;
}

html, div, span, h1, h2, h3, form, p, img, ul, li {
    margin: 0;
    padding: 0;
}

.actionpad {
    padding-left: 12px;
}

.normalfont {
    font-size: medium;
}

.shadowlink {
    text-shadow: 0 1px 5px #ccbd9f;
}



select.selectbox2{
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width:95%;
height; 40px;
border: 2px solid #ababab;
border-radius: 6px;
line-height: 22px;
padding: 0 13px;
background: #f8f8f8 url(/assets/images/icons/down-arrow.png) no-repeat right;
background-size: 25px;
cursor: pointer;
transition: 300ms border-color;
}

select.selectbox{
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width:215px;
height; 32px;
border: 2px solid #d3d3d3;
border-radius: 6px;
line-height: 22px;
padding: 0 13px;
background: #f8f8f8 url(/assets/images/icons/down-arrow.png) no-repeat right;
background-size: 25px;
cursor: pointer;
transition: 300ms border-color;
}
select.selectbox:hover{border-color: #939393;}
label.checkbox {
}
label.checkbox input {
position: absolute;
left:-9999px;
}
label.checkbox .text{
font: 12px/14px sans-serif;
color:#666;
position: relativr;
top:-3px;
margin-left: 10px;
}

label.checkbox .checkbox{
display: inline-block;
width: 36px;
height: 14px;
border-radius: 14px;
background: rgba(0, 0, 0, .26);
position: relative;
transition: 300ms background;
}

label.checkbox .checkbox span{
width: 20px;
height: 20px;
position: absolute;
top:-3px;
left: 0;
background: #fff;
box-shadow: 0 1px 5px 0 rgba(0,0,0,.4);
border-radius: 50%;
transition:300ms left,background;
}

label.checkbox input:checked + .checkbox{
background: #114411;
}
label.checkbox input:checked + .checkbox span{
background: #66CC33;
left: 16px;
}
label.checkbox input:checked + .checkbox + .text {
color: #66CC33;
line-height: 1.6;
}

label.file input{
position: absolute;
left:-9999px;
}

label.file .file{
display: inline-block;
width: auto;
padding:0 15px;
height: 35px;
font: 14px/35px sans-serif;
background: #66CC33;
border-radius: 3px;
color: #fff;
cursor: pointer;
}
label.file .file:hover{
background: #114411
}



.sexselect {
    border: 0 none;
    border-spacing: 0;
    display: inline-block;
    margin: 0;
    padding: 0;
    text-align: center;
}

    .sexselect td {
        padding: 8px;
    }

.center {
    text-align: center;
}

.inbl {
    display: inline-block;
}

.delim-dash {
    border-top: 1px dashed #ccc;
}

.delim-solid {
    height: 1px;
    border-top: 1px solid #cfbfa1;
}

.delim-dotted {
    border-top: 1px dotted #ccc;
}

.margintb2 {
    margin-top: 4px;
    margin-bottom: 4px;
}

.margin5 {
    margin: 5px;
}

.soft-panel {
    padding: 2px;
    border-radius: 4px 4px 4px 4px;
    background-color: #F2E0BD;
    border: 1px solid #9C9079;
}

.soft-panel2 {
    padding: 2px;
    border-radius: 4px 4px 4px 4px;
    background-color: #dde7d8;
    border-bottom: 1px solid #83a56e;
    border-right: 1px solid #83a56e;
}

.clothes-panel {
    padding: 2px;
}

    .clothes-panel td {
        vertical-align: top;
    }

.sbtn a:hover, .sbtn-new a:hover {
    color: #fff;
    background: none repeat scroll 0 0 #f7422a;
}

.sbtn a, .sbtn-new a {
    color: #fff;
    display: block;
    font-weight: bold;
    padding: 5px 0;
    text-decoration: none;
    text-align: center;
}

.sbtn span, .sbtn-new span {
    color: gray;
    display: block;
    font-weight: bold;
    padding: 5px 0;
    text-decoration: none;
    text-align: center;
}

.sbtn {
    height: 32px;
    padding: 5px 0;
}

.sbtn-new {
    padding: 5px 0;
}

.btn {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #dd3b25;
    border-color: #de3b26 #852317 #852317 #ff442b;
    border-radius: 6px 6px 6px 6px;
    border-style: solid;
    border-width: 1px;
}

.btn_disabled {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #cccccc;
    border-color: #a1a1a1 #a1a1a1 #a1a1a1 #a1a1a1;
    border-radius: 6px 6px 6px 6px;
    border-style: solid;
    border-width: 1px;
}

.sbtn_b a:hover {
    color: #fff;
    background: none repeat scroll 0 0 #3866b1;
}

.sbtn_b a {
    color: #fff;
    display: block;
    font-weight: bold;
    padding: 5px 0;
    text-decoration: none;
    text-align: center;
}

.sbtn_b {
    height: 32px;
    padding: 5px 0;
}

.btn_b {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #264678;
    border-color: #265ade #173685 #173685 #2b76ff;
    border-radius: 6px 6px 6px 6px;
    border-style: solid;
    border-width: 1px;
}

.btn-grn {
    height: 32px;
    padding: 5px 0;
}

    .btn-grn a:hover {
        color: #fff;
        background: none repeat scroll 0 0 #22b333;
    }

    .btn-grn a {
        color: #fff;
        display: block;
        font-weight: bold;
        padding: 5px 0;
        text-decoration: none;
    }

.btn-grn-a {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #1d992c;
    border-color: #114a17;
    border-radius: 6px 6px 6px 6px;
    border-style: solid;
    border-width: 1px;
}

.img_thumb .img {
    margin-left: 10px;
}

.normal {
    font-weight: normal;
}

span.nick-highlight {
    font-weight: bold;
    color: #0c861a;
}

ul.numeric {
    list-style-type: decimal;
    list-style: decimal;
}

.header {
    color: #fff;
}

.post {
    padding-top: 12px;
}

.authorpost {
    padding-bottom: 12px;
}

.epic_n {
    color: #6300b4;
}

.epic {
    color: #6300b4;
    font-weight: bold;
}

a.epic:hover {
    color: #ab47fd;
    font-weight: bold;
}

.link-offline, a.link-offline:hover {
    color: #7e96ac;
}

.banned-link, a.banned-link:hover {
    color: #393939;
}

.banned-link-offline, a.banned-link-offline:hover {
    color: #a1a1a1;
}

.moderator-link {
    color: #4A0082;
}

.moderator-link-offline, a.moderator-link-offline:hover {
    color: #66487c;
}

a.moderator-link:hover {
    color: #8f28de;
}

.moderator-text {
    color: #4A0082;
}

.admin-link {
    color: #26285b;
}

.admin-link-offline {
    color: #42697b;
}

a.admin-link-offline:hover {
    color: #42697b;
}

a.admin-link:hover {
    color: #4b50d9;
}

.admin-text {
    color: #26285b;
}

.president-text {
    color: #BF2A57;
}

.president-text-m {
    color: #000;
}

.deputy-text {
    color: #1a3580;
}

.financier-text {
    color: #006611;
}

.green {
    color: #006611;
}

.blue {
    color: #00a3cc;
}

.navy {
    color: #1a3580;
}

.tomato {
    color: #BF2A57;
}

.red {
    color: red;
}

.pink {
    color: #8f28de;
}

.whitefont {
    color: black;
}

.time {
    color: #6b441b;
}

.minor-time {
    color: #6b441b;
}

img.pic {
    border-radius: 4px 4px 4px 4px;
    margin-bottom: 4px;
    margin-right: 4px;
    max-width: 100%;
}

img.icon_s {
    border-radius: 4px 4px 4px 4px;
    margin-bottom: 4px;
    margin-right: 4px;
}

img.icon_ava {
    border-radius: 4px 4px 4px 4px;
    margin-bottom: 4px;
    margin-right: 4px;
    float: left;
}

img.radius {
    border-radius: 4px 4px 4px 4px;
}

img.icon {
    /*border: 2px solid #285688;*/
    border-radius: 4px 4px 4px 4px;
    float: left;
    margin-bottom: 4px;
    margin-right: 4px;
    /*border: 1px solid #ff9b3a;*/
}

img.simpleicon {
    float: left;
    margin-right: 4px;
}

img.icon_l {
    /*border: 2px solid #285688;*/
    border-radius: 4px 4px 4px 4px;
    float: left;
    margin-bottom: 4px;
    margin-right: 4px;
    margin: 2px 7px 4px 0;
    /*border: 1px solid #ff9b3a;*/
}

div.row {
    margin-left: 55px;
    margin-right: 10px;
}

div.row_a {
    margin-left: 54px;
}

div.row_sub {
    margin-left: 34px;
}

img.caricon {
    float: left;
    margin-bottom: 4px;
    margin-right: 8px;
    /*border: 1px solid #ff9b3a;*/
}

.brdr {
    border-left: 1px solid white;
    border-right: 1px solid white;
}

.forummsg {
    color: #862219;
}

.bold {
    font-weight: bold;
}

.wide {
    width: 90%;
}

h3 {
    font-size: 1.1em;
    padding: 4px 0;
    font-weight: bold;
    color: #700035;
}

h1 {
    font-size: 1.3em;
    padding: 4px;
}

h2 {
    font-weight: normal;
    font-size: 1.1em;
    padding-top: 4px;
    padding-bottom: 4px;
}

h1 a {
    color: #FB9B5A;
}

    h1 a:hover {
        color: #FB9B5A;
    }

a {
    color: #004687;
    font-weight: bold;
}

.bonustext {
    padding: 4px;
    background: url(/assets/images/bg_d.png) repeat scroll 0 0 #ede5ce;
    border-top: 2px solid #9e9e9e;
    border-left: 2px solid #9e9e9e;
    border-right: 2px solid #333333;
    border-bottom: 2px solid #333333;
    border-radius: 4px 4px 4px 4px;
}

a.graylink {
    color: #004687;
    font-weight: normal;
}

    a.graylink:hover {
        color: #0077e5;
        font-weight: normal;
    }

a:hover {
    color: #0077e5;
    font-weight: bold;
}

li {
    list-style: none outside none;
}

div.delim {
    border-bottom: 1px solid #ffdfa2;
    border-top: 1px solid #9c9079;
    background-color: #f2e0bd;
    height: 4px;
    width: 100%;
    padding: 0;
}

    div.delim div {
        background: url("/assets/images/foot/progressbar_bg.png") repeat scroll 0 0 #006db7;
        height: 4px;
    }

div.pr_l {
    background-color: #f2e0bd;
    height: 2px;
    width: 100%;
    margin-top: 5px;
    padding: 0;
}

    div.pr_l div {
        background: #a1a1a1;
        height: 2px;
    }

.prlt {
    float: right;
}

.prrt {
    vertical-align: top;
}

div.pr_wrap_left {
    padding-left: 4px;
}

div.health {
    background: #999;
    height: 16px;
    width: 100px;
    padding: 0;
}

    div.health div {
        background: red;
        height: 16px;
    }

img {
    border: 0 none;
    vertical-align: middle;
}

div.caption {
    background-color: #006db7;
    background: url(/assets/images/head/letoheader.png) repeat-x scroll 0 center #006db7;
    /*background: url(/assets/images/head/vesna_new.png) repeat-x scroll 0 center #006db7;*/
    /*background: url("/assets/images/head/winter.png") repeat-x scroll 0 center #006db7;*/
    /*background: url(/assets/images/head/autumn.png) repeat-x scroll 0 center #006db7;*/
    background-size: auto 100%;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 10px;
}

div.caption h1 {
    font-size: 13px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 22px !important;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    font-weight: bold;
}

.caption a {
    font-weight: normal;
}

    .caption a:hover {
        font-weight: normal;
    }

h1 {
    color: #fff /*#fff*/;
    text-shadow: 0 1px 5px black;
    font-weight: normal;
}

.warehouse_count {
    color: #863c3c;
}

.warehouse_sell {
    color: #ccc;
}

div.img {
    vertical-align: middle;
}

div.block {
    padding: 4px;
}

.lbg {
}

.prgrs {
    background: none repeat scroll 0 0 #fff;
    height: 5px;
    margin: 5px 0;
    padding: 0;
    border: 1px solid #9C9079;
}

    .prgrs .remprgs {
        background: url(/assets/images/icons/bgprred.png) repeat scroll 0 0 #c73522;
        height: 5px;
    }

    .prgrs .remgreenprgs {
        background: url(/assets/images/icons/bgprgreen.png) repeat scroll 0 0 #03ab0f;
        height: 5px;
    }

div.content {
    background-color: #ffecc7;
}

.notify {
    background-color: #85633b;
    color: #fff;
}

.action_list li {
    margin-top: 2px;
}

.newstitle {
    font-size: 16pt;
    color: red;
}

.smallfont {
    font-size: small;
}

.inline-block {
    display: inline-block;
}

.midfont {
    font-size: 14px;
}

.xsmallfont {
    font-size: x-small;
}

.padtop_s {
    padding-top: 4px;
}

.padtop_m {
    padding-top: 12px;
}

.padbottom_m {
    padding-bottom: 12px;
}

.padbottom_d {
    padding-bottom: 8px;
}

.padbottom_s {
    padding-bottom: 4px;
}

span.title {
    color: #f66600;
}

.green_link {
    color: #017801;
}

a.green_link:hover {
    color: #02ad02;
}

.redtitle {
    color: #c73522;
}

.greentitle {
    color: #017801;
}

a.ylwlink {
    color: #6b441b;
}

.ylwtext {
    color: #6b441b;
}

.ylwtextl {
    color: #8f5b24;
}

.ylwtextb {
    color: #6b441b;
    font-weight: bold;
}

.ylwtitle {
    color: #6b441b;
    font-weight: bold;
}

span.commontitle {
    color: #00c2f4;
}

span.drugexp {
    color: #00a3cc;
}

.black {
    color: #000;
}

.grntitle {
    color: #097d26;
}

.bluetitle {
    color: #004687;
}

.wttitle {
    color: black;
}

div.explain {
    background: url(/assets/images/bg_d.png) repeat scroll 0 0 #ede5ce;
    border-top: 2px solid #9e9e9e;
    border-left: 2px solid #9e9e9e;
    border-right: 2px solid #5e5e5e;
    border-bottom: 2px solid #5e5e5e;
    border-radius: 4px 4px 4px 4px;
}

div.flagview {
    background: url(/style/images/bg_d.png) repeat scroll 0 0 #ede5ce;
    border-top: 2px solid #9e9e9e;
    border-left: 2px solid #9e9e9e;
    border-right: 2px solid #5e5e5e;
    border-bottom: 2px solid #5e5e5e;
    border-radius: 4px 4px 4px 4px;
    text-align: center;
}

div.explain .ylwtitle {
    color: #8d2c2c;
}

span.btitle {
    color: #86643c;
}

span.drugtitle {
    color: #6b441b;
    font-weight: bold;
}

span.warehouse-drugtitle {
    color: #6b441b;
    font-weight: bold;
}

.wide-row {
    padding-top: 4px;
    padding-bottom: 4px;
}

.subjecttitle {
    color: #6b441b;
    font-size: 18px;
}

span.patienttitle {
    color: #6b441b;
    font-weight: bold;
}

a.patienttitle {
    color: #6b441b;
    font-weight: bold;
}

.msg {
    color: black;
    font-weight: bold;
}

.bold {
    font-weight: bolder;
}

a.normal {
    font-weight: normal;
}

    a.normal:hover {
        font-weight: normal;
    }

.normal {
    font-weight: normal;
}

.minor {
    color: #6e6e6e;
}

.gray {
    color: #6e6e6e;
}

.warn {
    color: #6b441b;
}

.hr {
    border-bottom: 1px solid #666666;
    margin: 6px 0;
}

.money {
    color: #45331f;
    font-weight: bold;
}

.diamonds {
    color: #45331f;
    font-weight: bold;
}

.major_info {
    color: #000;
}


.major_event {
    margin-left: 4px;
    margin-right: 4px;
    border-radius: 4px 4px 4px 4px;
    color: #0ba131;
    font-weight: bold;
    border: 1px solid #ff9b3a;
    background-color: #ffd37c;
    padding: 4px;
}

.exp_event {
    color: #a81091;
}

.next_exp {
}

img.drugicon {
    float: left;
    margin-bottom: 4px;
    margin-right: 4px;
}

.drugself {
}

.game_actions_text {
    color: #fff;
}

.game_actions {
    padding-top: 4px;
}

.logininfo {
    color: #fff;
}

.footer_link {
    color: yellow;
}

a.footer_link:hover {
    color: yellow;
}

a.save_link:hover {
    color: greenyellow;
}

a.save_link {
    color: greenyellow;
}

.missed {
    color: #6e6e6e;
}

.passed {
    text-decoration: line-through;
}

.purchase_bonus_info {
    color: #000;
    font-weight: bold;
}

.highlight {
    color: black;
    font-weight: bold;
}

.advert {
    color: #0ba131;
}

.banInfo {
    color: #c73522;
}

.major {
    color: #c73522;
}

.forum-p {
    margin-left: 8px;
}

.text-highlight {
    color: #754a00;
    font-weight: bold;
}

.text-question {
    color: #c73522;
    font-weight: bold;
}

.text-answer {
    color: #cf5c23;
    font-weight: bold;
}

.emailmessage {
    color: #000;
}

.screen {
    border-radius: 4px 4px 4px 4px;
    border: 1px solid orange;
    max-width: 100%;
}

div.delim-list {
    border-top: 1px dashed #D2BC98;
}

ul.delim-list li.first-li {
    border-top: 1px dashed #D2BC98;
    border-bottom: 1px dashed #D2BC98;
    padding-bottom: 2px;
}

ul.delim-list li.li {
    border-bottom: 1px dashed #D2BC98;
    padding-bottom: 2px;
}

.epidemic {
    background-color: #ddffc7;
}

.main-header {
    color: #a81091;
    font-weight: bold;
}

.warningtext {
    color: #6B441B;
}

table.unique_presents td {
    padding: 4px;
}

/*Player view*/
table.player_view {
    border: 0 none;
    border-spacing: 0;
    display: inline-block;
    margin: 0;
    padding: 0;
    text-align: center;
}

    table.player_view td.ava {
        padding-left: 4px;
        padding-right: 4px;
    }

table.rating_view {
    border: 0 none;
    border-spacing: 0;
    display: inline-block;
    margin: 0;
    padding: 0;
    text-align: center;
}

    table.rating_view td {
    }

table.comp_btn {
    border: 0 none;
    border-spacing: 0;
    display: inline-block;
    margin: 0;
    padding: 0;
    text-align: center;
}

table.rating_view tr.high td {
    background-color: #F2E0BD;
}

table.rating_view tr.user td {
    color: #6300b4;
}

table.t-shop td {
    padding: 4px;
    vertical-align: top;
}

/*Vet*/
.vetitem {
    margin-left: 52px;
}

.vetdiseaseitem {
    margin-left: 5px;
}

.reqbox {
    display: inline-block;
    margin: 2px;
}

.imgbox {
    display: block;
    margin: 2px;
}

/*Gallary*/

.picture_block {
    float: left;
    margin-left: 10px;
    margin-right: 10px;
}

.picture_table, .picture_table tr td, .picture_table img {
    padding: 0;
    margin: 0;
    border: 0;
}

    .picture_table img {
        width: 48px;
        height: 48px;
    }

.picture_table {
    display: inline-block;
    border: 4px solid transparent;
}

.picture_outblock {
    padding: 5px;
}

.pic_btn {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.gold_pic {
    border: 4px solid gold !important;
}

/*DailyTasks*/

.tasksHeader, .tasksHeaderReward {
    color: #6f3300;
    border-radius: 10px;
    border: 2px solid #ff6846;
    padding: 10px;
    -webkit-box-shadow: inset 0 0 6px 0 rgba(255, 182, 49, 1);
    box-shadow: inset 0 0 6px 0 rgba(255,182,49,1);
    background-color: #ffdf9f;
}

.tasksHeaderReward {
    margin-bottom: 10px;
}

.tasksHeader b {
    color: #ff2c17;
}

.alltasks {
    text-align: center;
}

.taskItem {
    border-radius: 10px;
    border: 2px solid #ffaa97;
    padding: 10px;
    -webkit-box-shadow: inset 0 0 6px 0 rgba(255, 182, 49, 1);
    box-shadow: inset 0 0 6px 0 rgba(255,182,49,1);
    background-color: #ffecc7;
    margin-bottom: 10px;
    margin-top: 10px;
}

.taskItemName {
    color: #384c71;
}

.taskReward {
    color: #455e96;
}

.tasksHeader-completedTasks {
    margin-top: 10px;
}

.taskprogress {
    color: #7b6564;
}

.filledBar {
    background: #CACF23;
    width: 60%;
    border-radius: 2px;
    height: 8px;
    background: -moz-linear-gradient(top, #3aa4d6 0%, #1b81ca 100%);
    background: -webkit-linear-gradient(top, #3aa4d6 0%,#1b81ca 100%);
    background: -o-linear-gradient(top, #3aa4d6 0%,#1b81ca 100%);
    background: -ms-linear-gradient(top, #3aa4d6 0%,#1b81ca 100%);
    background: linear-gradient(to bottom, #3aa4d6 0%,#1b81ca 100%);
    filter: progid:DXImagesTransform.Microsoft.gradient( startColorstr=â€™#3aa4d6â€², endColorstr=â€™#1b81caâ€²,GradientType=0 );
}

.progresslot {
}

.curprogressval {
    color: black;
    font-weight: bold;
}

.taskPrgs {
    background: none repeat scroll 0 0 #fff;
    height: 8px;
    margin: 8px 0;
    padding: 0;
    border-radius: 4px;
    border: 1px solid #9C9079;
    -webkit-box-shadow: inset 0 0 6px 0 rgba(210, 180, 162, 1);
    box-shadow: inset 0 0 6px 0 rgba(210, 180, 162,1);
}

.doublereward {
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: bold;
}

.taskCompleted {
    color: gray;
    margin-top: 5px;
    margin-bottom: 5px;
}

.barLight {
    width: 100%;
    height: 20px;
    border-radius: 4px;
    background-repeat: repeat-x;
    background-size: 30px 30px;
    background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

/*DailyTasks end*/

/*Vechiles upgrades*/

.vechile-upgrade {
    text-align: left;
    border-radius: 10px;
    border: 2px solid #ffaa97;
    padding: 10px;
    -webkit-box-shadow: inset 0 0 6px 0 rgba(255, 182, 49, 1);
    box-shadow: inset 0 0 6px 0 rgba(255,182,49,1);
    background-color: #ffecc7;
    margin-bottom: 10px;
    margin-top: 10px;
}

.vechile-upgrades {
    padding-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

.vechile-car {
    position: relative;
    display: inline-block;
}

.vechile-bonus-info {
    color: #484848;
    font-size: 13px;
    text-align: center;
}

.vechile-nextlevel {
    margin-top: 10px;
    background-color: #fbd792;
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
}


    .vechile-nextlevel .lvltext {
        color: gray;
    }

.sbtn-new a:hover {
    color: #fff;
    background: none repeat scroll 0 0 #f7422a;
}

.sbtn-new a {
    color: #fff;
    display: block;
    font-weight: bold;
    padding: 5px 0;
    text-decoration: none;
    text-align: center;
}

.sbtn-new span {
    color: gray;
    display: block;
    font-weight: bold;
    padding: 5px 0;
    text-decoration: none;
    text-align: center;
}

.sbtn-new {
    display: inline-block;
    padding: 5px 0;
}

.btn {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #dd3b25;
    border-color: #de3b26 #852317 #852317 #ff442b;
    border-radius: 6px 6px 6px 6px;
    border-style: solid;
    border-width: 1px;
    font-size: 14px;
}

.vechile-name {
    font-weight: bold;
    color: #016db8;
}

.icon-vechile-level {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffff;
    display: inline-block;
    color: white;
}

.vechile-car-block {
    display: block;
    text-align: center;
}

.vechile-max-level {
    color: gray;
    font-size: 13px;
}

.vechile-next-bonus .lvltext {
    font-size: 13px;
}

.nocar {
    color: gray;
    font-size: 13px;
}

.vechile-car-empty {
    padding-bottom: 10px;
}

.level-left {
    left: 0;
}

.vechile-header {
}

.vechile-icon {
    display: inline-block;
    width: 100px;
    height: 100px;
    vertical-align: top;
}

.autopark-menuitem {
    margin-top: 5px;
    margin-bottom: 5px;
}

.ratingstars {
    position: absolute;
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("/assets/images/icons/enabled.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.ratingstarpart {
    position: absolute;
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("/assets/images/icons/enabled.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.ratingstars-bg {
    position: absolute;
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("/assets/images/icons/disabled.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.ratingstars-block {
    margin-top: 5px;
    text-align: center;
    position: relative;
    width: 152px;
    height: 24px;
    display: inline-block;
}

.taskbtn-block {
}

.taskbtn {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #a7a7a7;
    border-color: #ffffff #969696 #7d7d7d #ffffff;
    border-radius: 6px 6px 6px 6px;
    border-style: solid;
    border-width: 1px;
    font-size: 14px;
}

.presents-list {
    text-align: center;
}

.present-item {
    display: inline-block;
    padding: 4px;
    margin: 5px;
}

.present-image {
    display: inline-block;
}

.present-price {
    text-align: center;
}


/*Vechiles upgrades end*/

.margintop10 {
    margin-top: 10px;
}

.marginbot10 {
    margin-bottom: 10px;
}

/*Epidemic*/

.epidemic-body {
}

.epidemic-maintext {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 13px;
}

.epidemic-page {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    margin-right: 2px;
}

.epidemic-panel {
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.epidemic-rooms {
    text-align: left;
}

.epidemic-room {
    text-align: left;
    color: #7E6242;
}

.room-pic {
    float: left;
}

.epidemic-find-link {
    margin-top: 5px;
}

.epidemic-deseaseName {
    color: #6b441b;
    font-weight: bold;
}

.epidemic-hint-delimeter {
    margin-top: 15px;
}

.epidemic-emptyroom {
    font-size: 13px;
}

.epidemic-room-content {
    margin-left: 60px;
}

.epidemic-room-delimiter {
    border-top: 1px dashed #D2BC98;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 1px;
}

.epidemic-progress {
    margin-bottom: 10px;
}

.epidemic-progress-block {
    margin-top: 10px;
}

.epidemic-progress-value {
    font-weight: bold;
    color: #8b0000;
    font-size: 24px;
    vertical-align: middle;
    display: inline-block;
}

.epidemic-hint {
    font-size: 13px;
}

.epidemic-hint2 {
    font-size: 13px;
    font-weight: bold;
}

.epidemic-tile {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: 0 -4px;
    padding: 0;
    border: 1px solid black;
    position: relative;
}

.epidemic-tile-row {
    white-space: nowrap;
    margin: -2px 0;
}

.epidemic-map-panel {
    text-align: center;
    border-radius: 5px;
    border: 2px solid #ffaa97;
    padding: 8px;
    -webkit-box-shadow: inset 0 0 6px 0 rgba(255, 182, 49, 1);
    box-shadow: inset 0 0 6px 0 rgba(255,182,49,1);
    background-color: #ffecc7;
    margin-bottom: 2px;
    margin-top: 2px;
    display: inline-block;
}

.epidemic-searchmap-hint {
    font-size: 13px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.epidemic-searchmap-repeats {
    margin-bottom: 5px;
}

.epidemic-tile-img {
    width: 35px;
    height: 35px;
    margin: 0;
    display: inline-block;
}

.epidemic-drugs-text {
    font-size: 13px;
}

.epidemic-drugs-list {
    margin-top: 5px;
    margin-bottom: 5px;
}

.epidemic-drug-info {
    display: inline-block;
    margin-left: 2px;
    margin-right: 2px;
    text-align: center;
    font-size: 12px;
}

.epidemic-notenough {
    color: red;
}

.epidemic-drugimg-block {
}

.epidemic-control-panel {
    margin-bottom: 20px;
}

.epidemic-drugrequire-item {
    display: inline-block;
    margin-left: 2px;
    margin-right: 2px;
}

.epidemic-drugrequire-event {
    font-size: 13px;
    margin-bottom: 10px;
}

.epidemic-drugrequire-hint {
    margin-top: 5px;
}

.epidemic-rating {
    margin-top: 10px;
    margin-bottom: 20px;
}

.epidemic-rating-hint {
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.epidemic-page {
    text-align: center;
}

.epidemic-rating-table {
    display: inline-block;
}

.epidemic-page-item {
    white-space: nowrap;
}

.epidemic-pos {
    display: inline-block;
    margin-right: 10px;
    color: #676767;
    line-height: 1.5;
}

.epidemic-rating-th {
    font-weight: normal;
    color: #585858;
}

.epidemic-link {
    line-height: 1.5;
    font-size: 13px;
}

.epidemic-cured-value {
    color: #000;
    font-weight: bold;
    line-height: 1.5;
}

.epidemic-image {
    display: inline-block;
    width: 35px;
    height: 35px;
    position: relative;
}

.epidemic-room-image {
    display: inline-block;
    width: 48px;
    height: 48px;
    position: relative;
}

.patient-image-src {
    width: 35px;
    height: 35px;
}

.patient-room-image-src {
    width: 48px;
    height: 48px;
}

.patient-stars {
    position: absolute;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.patient-star {
    width: 8px;
    height: 8px;
    background-image: url("/assets/images/Epidemic/levelstar2.png");
    background-size: 8px 8px;
    display: inline-block;
    margin: 0;
    padding: 0;
    top: -6px;
    left: 2px;
    position: relative;
}

.patient-star2 {
    left: -2px;
}

.patient-star3 {
    left: -4px;
}

.patient-big-star {
    width: 24px;
    height: 24px;
    background-image: url("/assets/images/Epidemic/levelstar2.png");
    background-size: 24px 24px;
    display: inline-block;
    margin: 0;
    padding: 0;
    position: absolute;
}

.patient-room-stars {
    position: absolute;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.patient-room-star {
    width: 10px;
    height: 10px;
    background-image: url("/assets/images/Epidemic/levelstar2.png");
    background-size: 10px 10px;
    display: inline-block;
    margin: 0;
    padding: 0;
    top: -4px;
    left: 3px;
    position: relative;
}

.patient-room-big-star {
    width: 24px;
    height: 24px;
    background-image: url("/assets/images/Epidemic/levelstar2.png");
    background-size: 24px 24px;
    display: inline-block;
    margin: 0;
    padding: 0;
    position: absolute;
}

.finished-title {
    font-weight: bold;
    color: #be4973;
    margin-bottom: 5px;
}

.finished-hint {
    font-size: 13px;
}

.finished-reward {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

.finished-place {
    font-size: 24px;
    color: #475797;
}

.epidmeic-collectArrow {
    position: absolute;
    left: 0px;
    top: 20px;
    background-image: url("/assets/images/Epidemic/tutorial-arrow.png");
    width: 35px;
    height: 35px;
    z-index: 500;
    background-size: contain;
    animation-name: arrowTop;
    animation-direction: alternate;
    animation-duration: 0.8s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in;
}

.epidemic-nextstart {
    margin-top: 10px;
    margin-bottom: 10px;
}

@keyframes arrowTop {
    0% {
        transform: translate(0px, 30px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

/*Epidemic end*/

/*Payments*/

.payments-page {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    margin-right: 2px;
}

.payments-userlink {
    margin-top: 5px;
    margin-bottom: 5px;
}

.payments-title {
    color: #4d3c3b;
}

.payments-body {
    margin-top: 5px;
    margin-bottom: 5px;
}

.payments-payment {
    margin-top: 5px;
    margin-bottom: 5px;
}

.payments-table {
    width: 100%;
}

.payments-table-header-left {
    width: 80%;
}

.payments-table-header {
    padding-left: 5px;
    padding-right: 5px;
    text-align: left;
    background-color: #cfbfa1;
}

.payments-table-cell {
    padding-left: 5px;
    padding-right: 5px;
    text-align: left;
    background-color: #fbd792;
}

.payments-nopayments {
}


/*Payments end*/


/*Tournaments*/

.tournamentboard-page {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    margin-right: 2px;
}

.tournamentboard-item {
    position: relative;
    display: inline-block;
    background-color: #f2e0bd;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 2px;
    margin-right: 2px;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #ccba97;
}

.tournamentboard-name {
    color: #4d473c;
    margin-bottom: 5px;
    margin-top: 5px;
}

.tournamentboard-pin {
    position: absolute;
    left: 0px;
    top: 0px;
}

.tournamentboard-descr {
    color: #4d473c;
    margin-bottom: 5px;
    margin-top: 5px;
    font-size: 13px;
    margin-bottom: 5px;
}

.tournamentboard-comingsoon {
    color: #4d473c;
    margin-bottom: 5px;
}

.tournamentboard-remaintime {
    color: #4d473c;
    font-weight: bold;
    margin-bottom: 5px;
}

.tournamentboard-link {
    text-decoration: none;
}

/*Tournaments end*/

/*Underwater*/

.underwater-page {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    margin-right: 2px;
    width: 300px;
    display: inline-block;
}

.underwater-panel {
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.underwater-level {
    height: 384px;
    width: 288px;
    overflow: hidden;
    position: relative;
}

.underwater-bg {
    position: absolute;
    height: 384px;
    width: 288px;
    background-image: url("/assets/images/Underwater/GameBg.png");
}

.underwater-level-cell {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: absolute;
}

.underwater-selectTools {

}

.underwater-selectTool-img {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 5px;
    left: 13px;
}

.underwater-progress-icon {
    position: absolute;
    top: -7px;
    left: 2px;
}

.underwater-selectTool {
    position: relative;
    padding: 5px;
    width: 48px;
    height: 48px;
    display: inline-block;
    background-color: #dacaaa;
    border: 1px solid #b7aa90;
    border-radius: 8px;
}

.underwater-treasuresScore {
    font-size: 13px;
    color: #4d473c;
}

.underwater-progress-prize {
    position: absolute;
    right: 0;
    top: -6px;
}

.underwater-treasuresScore-value {
    font-size: 26px;
    font-weight: bold;
}

.underwater-selectTool:hover {
    background-color: #d6e0b9;
    cursor: pointer;
}

.underwater-level-cell-img {
    display: inline-block;
    position: absolute;
    width: 48px;
    height: 48px;
    border: 0;
    margin: 0;
    padding: 0;
    left: 0;
    top: 0;
}

.underwater-level-cells {
    position: absolute;
    height: 384px;
    width: 384px;
}

.underwater-level-container {
    text-align: center;
    border: 1px solid #c7b185;
}

.underwater-field {
    position: relative;
    padding: 5px;
    display: inline-block;
    background-color: #f2e0bd;
    border-radius: 5px;
}

.underwater-shopping {
    margin-top: 10px;
    display: inline-block;
    width: 288px;
    position: relative;
    padding: 5px;
    background-color: #f2e0bd;
    border-radius: 5px;
}

.underwater-progress {
    position: relative;
}

.underwater-rating {
    margin-top: 10px;
    display: inline-block;
    width: 288px;
    position: relative;
    padding: 5px;
    background-color: #f2e0bd;
    border-radius: 5px;
}


.underwater-description-level {
    color: #4d473c;
    font-size: 13px;
    margin-bottom: 5px;
}

.underwater-selectTool-count {
    font-size: 13px;
    color: #4d473c;
    font-weight: bold;
    position: absolute;
    bottom: 2px;
    left: 0px;
    right: 0px;
}

.underwater-taskPrgs {
    background: none repeat scroll 0 0 #ffeac0;
    height: 8px;
    margin: 8px 0;
    padding: 0;
    border-radius: 4px;
    border: 1px solid #c7bba3;
}

.underwater-progressbar {

}

.underwater-level-cell-link {
    text-decoration: none;
}

.underwater-filledBar {
    background: #3aa4d6;
    width: 60%;
    border-radius: 2px;
    height: 8px;
    background: -moz-linear-gradient(top, #3aa4d6 0%, #1b81ca 100%);
    background: -webkit-linear-gradient(top, #3aa4d6 0%,#1b81ca 100%);
    background: -o-linear-gradient(top, #3aa4d6 0%,#1b81ca 100%);
    background: -ms-linear-gradient(top, #3aa4d6 0%,#1b81ca 100%);
    background: linear-gradient(to bottom, #3aa4d6 0%,#1b81ca 100%);
    filter: progid:DXImagesTransform.Microsoft.gradient( startColorstr=â€™#3aa4d6â€², endColorstr=â€™#1b81caâ€²,GradientType=0 );
}

.underwater-selectTool-selected {
    background-color: #d6e0b9;
}

.underwater-selectTool-link {
    text-decoration: none;
}

.underwater-field-hint {
    font-size: 13px;
    color: #4d473c;
}

.underwater-level-cell-confirm {
    display: inline-block;
    position: absolute;
    width: 48px;
    height: 48px;
    border: 0;
    margin: 0;
    padding: 0;
    left: 0;
    top: 4px;
}

.underwater-event-text {
    font-size: 20px;
}

.underwater-notreasures-text {
    color: #4d473c;
}

.underwater-chests-page {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    margin-right: 2px;
}

.underwater-chest {
    margin-top: 10px;
    display: inline-block;
    width: 132px;
    position: relative;
    padding: 5px;
    background-color: #f2e0bd;
    border-radius: 5px;
    height: 300px;
}

.underwater-chest-key-info {
    padding: 2px;
}

.underwater-chest-key-need {
    color: #4d473c;
}

.underwater-chest-key-avail {
    color: #4d473c;
}

.underwater-chests-keys {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
}

.undewater-chests-keys-before {
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.underwater-chests-keys-body {
    display: inline-block;
    vertical-align: middle;
}

span.underwater-chest-key-need-red {
    color: red !important;
}

.underwater-chest-loots {
    left: 0;
    margin-top: 5px;
    position: absolute;
    top: 250px;
    right: 0;
}

.underwater-chest-loot {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 2px;
    color: #4d473c;
    font-weight: bold;
}

.underwater-chests-page-descr {
    color: #4d473c;
    font-size: 13px;
}

.underwater-chests-page-descr-keys {
    margin-top: 10px;
    color: #4d473c;
    font-size: 13px;
}

.underwater-chests-keysaccumulator {
    margin-top: 10px;
    display: inline-block;
    width: 280px;
    position: relative;
    padding: 5px;
    background-color: #f2e0bd;
    border-radius: 5px;
}

.underwater-page-panel {
    margin-top: 10px;
    display: inline-block;
    width: 280px;
    position: relative;
    padding: 5px;
    background-color: #f2e0bd;
    border-radius: 5px;
}

.underwater-progress-keys-icon {
    position: absolute;
    top: -7px;
    left: 14px;
}

.underwater-chests-footer {
    margin-top: 10px;
}

.underwater-buychestevent-confirm {
    margin-top: 5px;
}

.underwater-buychestevent-confirm-line {
    margin-top: 10px;
}

.underwater-requirekeys {
    font-size: 15px;
}

.underwater-keysBuy-link {
    font-size: 20px;
}

.underwater-chest-close-text {
    font-size: 13px;
}

.underwater-chest-button {
    font-size: 13px;
}

.underwater-chest-close, .underwater-chest-open {
    position: absolute;
    left: 0;
    right: 0;
    top: 180px;
    height: 100px;
    display: inline-block;
}

.underwater-chest-image {
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
}

.underwater-rating-hint {
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.underwater-rating-panel {
    margin-top: 10px;
    display: inline-block;
    width: 280px;
    padding: 5px;
    background-color: #f2e0bd;
    border-radius: 5px;
}

.underwater-rating-globaltarget-panel {
    margin-top: 10px;
    display: inline-block;
    width: 280px;
    padding: 5px;
    background-color: #f2e0bd;
    border-radius: 5px;
}

.underwater-rating-taskPrgs {
    background: none repeat scroll 0 0 #ffeac0;
    height: 8px;
    margin: 8px 0;
    padding: 0;
    border-radius: 4px;
    border: 1px solid #c7bba3;
}

.underwater-rating-filledBar {
    background: #3aa4d6;
    width: 60%;
    border-radius: 2px;
    height: 8px;
    background: -moz-linear-gradient(top, #3aa4d6 0%, #1b81ca 100%);
    background: -webkit-linear-gradient(top, #3aa4d6 0%,#1b81ca 100%);
    background: -o-linear-gradient(top, #3aa4d6 0%,#1b81ca 100%);
    background: -ms-linear-gradient(top, #3aa4d6 0%,#1b81ca 100%);
    background: linear-gradient(to bottom, #3aa4d6 0%,#1b81ca 100%);
    filter: progid:DXImagesTransform.Microsoft.gradient( startColorstr=â€™#3aa4d6â€², endColorstr=â€™#1b81caâ€²,GradientType=0 );
}

.underwater-rating-global {
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
    left: 15px;
}

.underwater-progress-mark-panel {
    width: 60px;
    height: 60px;
    left: 80px;
    top: -4px;
    position: absolute;
}

.underwater-progress-mark {
    position: absolute;
    width: 4px;
    height: 20px;
    background-color: #2996dc;
    border-radius: 2px;
}

.underwater-progress-mark-complete {
    position: absolute;
    width: 4px;
    height: 20px;
    background-color: #103f5d;
    border-radius: 2px;
}

.underwater-progress-mark-target {
    position: absolute;
    font-size: 13px;
    color: #4d473c;
}

.underwater-progress-mark-prize {
    position: absolute;
    font-size: 13px;
    color: #4d473c;
}

.underwater-rating-treasuresScore {
    margin-bottom: 20px;
    font-size: 13px;
    color: #4d473c;
}

.underwater-rating-date {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 13px;
    color: #4d473c;
}

/*Underwater end*/



.main-back {
    border: 1px solid #0084de;
    border-left: 3px solid #0084de;
    border-radius: 15px 0px 0 15px;
    margin: 5px;
    padding: 5px 5px 5px 5px;
    background-color: #3190cc;
    color: #fff;
    box-shadow: 0 0 2px 1px rgba(45, 9, 9, 0.55);
}
.tdn, .tdn a {
text-decoration:none !important;
}


span.page {border:1px solid #004687; margin:2px;padding:1px;}
span.page_g {border:2px solid #393; margin:2px;padding:1px;}



  .fancy-blue-btn {
    background-color: #0b76d1; 
    color: white;
    height: 25px;
    padding: 0 15px;
    border: none;
    border-radius: 4px; 
    font-size: 16px;
    font-weight: 200;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .fancy-blue-btn:hover {
    background-color: #1E90FF;
    transform: scale(1.03);
  }

  .fancy-blue-btn:active {
    transform: scale(0.98);
  }

  .fancy-blue-link-btn {
    display: inline-block;
    background-color: #0b76d1;
    color: white;
    text-decoration: none;
    height: 25px;
    line-height: 25px;
    padding: 0 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 200;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .fancy-blue-link-btn:hover {
    background-color: #1E90FF;
    color: white;
    transform: scale(1.03);
  }

  .fancy-blue-link-btn:active {
    transform: scale(0.98);
  }
  
  .bank-item {
    display: flex; 
    align-items: center; 
    margin-bottom: 5px;
    padding-bottom: 5px;
    padding-top: 10px;
    padding-left: 15px;
}

.bank-item-img {
    margin-right: 15px; 
    flex-shrink: 0;   
}


.bank-item-details {
}

.icon-diamond-small {
    width: 16px;
    height: 16px;
    vertical-align: middle; 
    margin-right: 5px;
}   


#smileBox {
    padding: 5px;
    margin-right: 3px;
    margin-bottom: 3px;
    max-height: 250px;
    overflow: hidden; 
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

#smileBox:hover {
    overflow: auto; 
}

#smileBox::-webkit-scrollbar {
    display: none; 
}

#smileBox {
    -ms-overflow-style: none; 
    scrollbar-width: none;    
}

.smiley:hover {
    background-color: #ffecc7; 
    border-radius: 8px; 
    padding: 3px;
    transition: all 0.3s ease; 
}
  
.toggle-icon {
   cursor: pointer;
   margin-left: 10px;
}
.unlock-list {
   margin-top: 0px;
   padding-left: 20px;
   list-style-type: disc;
   transition: max-height 0.1s ease-in-out;
   overflow: hidden;
   max-height: 0;
}
.unlock-list.visible {
   max-height: 500px; 
}
.vip-user-link {color: #862219; font-weight: bold;} 
.vip-user-text {color: #004687; font-weight: bold;} 
.snow-user {color:#0BB2F4;}
  

/* ==================== SECTION: otheR.css ==================== */

    :root {
        --bg-color: #F2E0BD;
        --card-bg: linear-gradient(145deg, #ffffff 0%, #ffecc7 100%);
        --primary-color: #6b441b;
        --text-main: #4a331c; 
        --text-muted: #8c6a46;
        --border-color: #e6c888;
        --accent-color: #fbdc99;
        --shadow-color: #d4a352;
    }


    .rule-card {
        background: var(--card-bg);
        border-radius: 24px;
        padding: 25px 20px;
        margin-bottom: 25px;
        border: 2px solid var(--accent-color);
        box-shadow: 0 8px 0 var(--shadow-color), 0 15px 20px rgba(107, 68, 27, 0.15);
        transition: all 0.2s ease-in-out;
        opacity: 0;
        animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .rule-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 0 var(--shadow-color), 0 20px 25px rgba(107, 68, 27, 0.2);
    }

    /* Animasiya gecikmələri (Kartlar sıra ilə gəlsin) */
    .rule-card:nth-child(1) { animation-delay: 0.1s; }
    .rule-card:nth-child(2) { animation-delay: 0.25s; }
    .rule-card:nth-child(3) { animation-delay: 0.4s; }
    .rule-card:nth-child(4) { animation-delay: 0.55s; }

    @keyframes slideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .rule-card h2 {
        font-size: 1.3rem;
        color: var(--primary-color);
        margin-top: 0;
        margin-bottom: 20px;
        padding-bottom: 12px;
        border-bottom: 2px dashed var(--border-color);
        display: flex;
        align-items: center;
        gap: 10px;
        text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
    }

    .rule-list {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .rule-list li {
        margin-bottom: 18px;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(230, 200, 136, 0.5);
    }

    .rule-list li:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .rule-title {
        font-weight: 700;
        color: var(--primary-color);
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        font-size: 1.05rem;
    }

    .emoji-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #fff;
        border: 2px solid var(--accent-color);
        border-radius: 10px;
        font-size: 1.1rem;
        box-shadow: 0 3px 0 var(--border-color);
        margin-right: 10px;
    }

    .rule-text {
        color: var(--text-main);
        line-height: 1.6;
        font-size: 0.95rem;
        display: block;
        padding-left: 42px; 
    }
    
    
    
    
    
.notif-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed #ccc;
    font-size: 15px;
}

.notif-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(135deg, #fffdf8, #ffecc7);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
    padding: 8px 12px; /* Kənar xəttə görə padding-i bir az tənzimlədik */
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notif-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}



.notif-chat {
    border-left: 5px solid #007bff;
}

.notif-aklub {
    border-left: 5px solid #dc3545;
}

.notif-card.notif-union {
    background: linear-gradient(135deg, #fffdf8, #ffecc7);
    border-left: 5px solid #e6c888;
    box-shadow: 0 2px 5px rgba(230, 200, 136, 0.2);
}

.notif-card.notif-union .notif-body {
    color: #5c430a;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
}

.notif-sender-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.notif-sender-name {
    font-weight: 600;
    font-size: 15px;
    color: #2c3e50;
    text-decoration: none;
}

.notif-time {
    font-size: 12px;
    color: #95a5a6;
    display: flex;
    align-items: center;
    gap: 4px;
}

.notif-body {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    padding: 0;
    word-wrap: break-word;
}

.notif-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 0;
}


.btn-reply-modern {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-reply-modern:hover {
    background: #e2e8f0;
    color: #2d3748;
    text-decoration: none;
}

.btn-reply-modern i {
    font-size: 11px;
}

.notif-card.notif-union .btn-reply-modern {
    background: #e6c888;
    color: #5c430a;
    border-color: #d1b16c;
}

.notif-card.notif-union .btn-reply-modern:hover {
    background: #d1b16c;
}



    :root {
        --chest-bg: #F2E0BD;
        --chest-card-bg: linear-gradient(145deg, #ffffff 0%, #ffecc7 100%);
        --chest-primary: #6b441b;
        --chest-text-main: #4a331c;
        --chest-text-muted: #8c6a46;
        --chest-border: #e6c888;
        --chest-accent: #fbdc99;
        --chest-shadow: #d4a352;
    }
    .chest-card {
        background: var(--chest-card-bg);
        border-radius: 20px;
        padding: 20px;
        margin-bottom: 20px;
        border: 2px solid var(--chest-accent);
        box-shadow: 0 6px 0 var(--chest-shadow), 0 12px 20px rgba(107, 68, 27, 0.1);
        color: var(--chest-text-main);
        line-height: 1.6;
    }
    .chest-card p { margin-bottom: 15px; font-size: 0.95em; }
    .text-highlight { color: #700035; font-weight: bold; }
    .qa-section { margin-top: 25px; }
    .qa-card {
        background: #fff; border-radius: 15px; padding: 15px; margin-bottom: 15px;
        border: 1px solid var(--chest-border); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        position: relative; overflow: hidden;
    }
    .qa-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--chest-primary); }
    .text-question { color: var(--chest-primary); font-weight: bold; margin-bottom: 4px; font-size: 1em; display: flex; align-items: center; gap: 8px; }
    .text-answer { color: #006611; font-weight: bold; display: block; padding-left: 5px;  font-size: 0.9em; }
    .back-nav { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255, 255, 255, 0.5); padding: 5px 10px; border-radius: 12px; border: 1px solid var(--chest-border); cursor: pointer; text-decoration: none;}
    .price-list { background: rgba(242, 224, 189, 0.3); padding: 10px; border-radius: 10px; margin-top: 10px; font-size: 0.9em; }
    li.epidemic, .epidemic { background-color: #ddffc7 !important; border-left: none !important; }


/* ==================== SECTION: WinteRCalendar.css ==================== */

/* =========================================
   1. ŞRİFTLƏR VƏ MİQYAS (Standard)
   ========================================= */
@font-face {
    font-family: 'Playtox';
    font-style: normal;
    font-weight: 900;
    src: url('/assets/fonts/Playtox.woff2') format('woff2'), 
         url('/assets/fonts/Playtox.ttf') format('truetype');
}

:root {
    --scale: 1px;
}

/* Yalnız eninə görə kiçilmə (Mobil üçün) */
@media screen and (max-width: 480px) {
    :root {
        --scale: calc(100vw / 480);
    }
}

body.modal-open {
    overflow: hidden !important; 
    height: 100vh;
}

/* =========================================
   2. MODAL ƏSAS ÇƏRÇİVƏ (DÜZƏLİŞ EDİLDİ)
   ========================================= */
.wrap-modal-box {
    display: none; /* Varsayılan olaraq GİZLİ */
    position: fixed !important;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    z-index: 10000 !important;
    background-color: rgba(0, 0, 0, 0.8);
    
    /* Scroll üçün lazımi kodlar */
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;
    
    padding: 20px 0;
    
    --start-x: 0px;
    --start-y: 0px;
}

/* Flex və Mərkəzləmə YALNIZ 'active' olanda işə düşsün */
.wrap-modal-box.active {
    display: flex !important;
    align-items: center !important; /* Şaquli mərkəzləmə */
    justify-content: center !important; /* Üfüqi mərkəzləmə */
}

/* =========================================
   3. QIŞ TƏQVİMİ POPUP
   ========================================= */
._winter-calendar .wc-popup {
    position: relative;
    max-width: 480px;
    width: 100%;
    
    margin: 0 auto; 
    
    z-index: 10;
    transform: scale(0); 
    opacity: 0;
    
    /* Animasiya mərkəzdən başlamalıdır */
    transform-origin: center center; 
}

._winter-calendar.active .wc-popup {
    animation: expandFromIcon 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

._winter-calendar.closing .wc-popup {
    animation: shrinkToIcon 0.4s ease-in forwards;
}

.wc-popup .wc-popup-close-link {
    position: absolute; z-index: 100; right: 10px; top: 10px; width: 40px; height: 40px;
    background: url('/assets/images/winter_calendar/back_x2.png') 50% 50%/100% auto no-repeat;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.7));
    cursor: pointer; transition: transform .2s;
    opacity: 0;
}
._winter-calendar.show-cells .wc-popup-close-link {
    opacity: 1; transition: opacity 0.5s;
}
.wc-popup .wc-popup-close-link:hover { transform: scale(1.1); }

.wc-popup .calendar {
    background: url('/assets/images/winter_calendar/calendar_bg.png') 50% 50%/100% auto no-repeat;
    width: 100%; height: calc(var(--scale)*787);
    filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.8));
    position: relative;
}

/* =========================================
   4. XANALAR
   ========================================= */
.wc-popup .wc-cell {
    position: absolute;
    width: calc(var(--scale)*82);
    height: calc(var(--scale)*82);
    display: flex; justify-content: center; align-items: center;
    cursor: pointer;
    transition: filter .3s;
    overflow: visible !important;
    opacity: 0;
    transform: scale(0);
}

._winter-calendar.show-cells .wc-cell {
    animation: cellPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Gecikmələr */
._winter-calendar.show-cells .wc-cell:nth-child(1) { animation-delay: 0.00s; }
._winter-calendar.show-cells .wc-cell:nth-child(2) { animation-delay: 0.02s; }
._winter-calendar.show-cells .wc-cell:nth-child(3) { animation-delay: 0.04s; }
._winter-calendar.show-cells .wc-cell:nth-child(4) { animation-delay: 0.06s; }
._winter-calendar.show-cells .wc-cell:nth-child(5) { animation-delay: 0.08s; }
._winter-calendar.show-cells .wc-cell:nth-child(6) { animation-delay: 0.10s; }
._winter-calendar.show-cells .wc-cell:nth-child(7) { animation-delay: 0.12s; }
._winter-calendar.show-cells .wc-cell:nth-child(8) { animation-delay: 0.14s; }
._winter-calendar.show-cells .wc-cell:nth-child(9) { animation-delay: 0.16s; }
._winter-calendar.show-cells .wc-cell:nth-child(10){ animation-delay: 0.18s; }
._winter-calendar.show-cells .wc-cell:nth-child(11){ animation-delay: 0.20s; }
._winter-calendar.show-cells .wc-cell:nth-child(12){ animation-delay: 0.22s; }
._winter-calendar.show-cells .wc-cell:nth-child(13){ animation-delay: 0.24s; }
._winter-calendar.show-cells .wc-cell:nth-child(14){ animation-delay: 0.26s; }
._winter-calendar.show-cells .wc-cell:nth-child(15){ animation-delay: 0.28s; }
._winter-calendar.show-cells .wc-cell:nth-child(16){ animation-delay: 0.30s; }
._winter-calendar.show-cells .wc-cell:nth-child(17){ animation-delay: 0.32s; }
._winter-calendar.show-cells .wc-cell:nth-child(18){ animation-delay: 0.34s; }
._winter-calendar.show-cells .wc-cell:nth-child(19){ animation-delay: 0.36s; }
._winter-calendar.show-cells .wc-cell:nth-child(20){ animation-delay: 0.38s; }
._winter-calendar.show-cells .wc-cell:nth-child(21){ animation-delay: 0.40s; }
._winter-calendar.show-cells .wc-cell:nth-child(22){ animation-delay: 0.42s; }
._winter-calendar.show-cells .wc-cell:nth-child(23){ animation-delay: 0.44s; }
._winter-calendar.show-cells .wc-cell:nth-child(24){ animation-delay: 0.46s; }
._winter-calendar.show-cells .wc-cell:nth-child(25){ animation-delay: 0.48s; }
._winter-calendar.show-cells .wc-cell:nth-child(26){ animation-delay: 0.50s; }
._winter-calendar.show-cells .wc-cell:nth-child(27){ animation-delay: 0.52s; }
._winter-calendar.show-cells .wc-cell:nth-child(28){ animation-delay: 0.54s; }
._winter-calendar.show-cells .wc-cell:nth-child(29){ animation-delay: 0.56s; }
._winter-calendar.show-cells .wc-cell:nth-child(30){ animation-delay: 0.58s; }
._winter-calendar.show-cells .wc-cell:nth-child(31){ animation-delay: 0.60s; }

.wc-popup .wc-cell:hover { filter: brightness(115%); transform: scale(1.05) !important; }

.wc-cell .wc-day {
    position: absolute; z-index: 4; pointer-events: none;
    font-family: 'Playtox', 'Arial Black', sans-serif; font-weight: 900;
    color: #ffffff; font-size: calc(var(--scale) * 38);
    display: flex; justify-content: center; align-items: center;
    width: 100%; height: 100%; padding-top: calc(var(--scale) * 6);
    -webkit-text-stroke: calc(var(--scale) * 5.5) #5a3825;
    paint-order: stroke fill; filter: drop-shadow(0px 4px 2px rgba(0,0,0,0.5));
}
._cell-block .wc-day { display: none; }
.wc-cell .wc-img { width: 100%; height: 100%; background-size: 100% 100%; background-repeat: no-repeat; position: absolute; z-index: 2; }

._cell-active { z-index: 10; }
._cell-active::before {
    content: ""; position: absolute; z-index: 1; width: 200%; height: 200%; top: -50%; left: -50%;
    background: url('/assets/images/winter_calendar/glow-white.png') 50% 50% no-repeat; background-size: contain;
    animation: cellActivePulse 12s linear infinite; pointer-events: none;
}
._wcc7._cell-active::before, ._wcc14._cell-active::before, ._wcc21._cell-active::before, ._wcc31._cell-active::before {
    width: calc(var(--scale)*169*1.8); height: calc(var(--scale)*169*1.8);
    top: calc(50% - (var(--scale)*169*1.8)/2); left: calc(50% - (var(--scale)*169*1.8)/2);
}
._cell-active .blink { position: absolute; overflow: hidden; width: 100%; height: 100%; border-radius: 6px; z-index: 3; pointer-events: none; }
._cell-active .blink:after {
    content: ""; display: block; width: 40px; height: 400px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    position: absolute; top: -100px; left: -250px; z-index: 1; transform: rotate(45deg); animation: movingFlare3 5s ease-in-out infinite;
}

/* KOORDİNATLAR */
.wc-cell._wcc1, .wc-cell._wcc2, .wc-cell._wcc3, .wc-cell._wcc4, .wc-cell._wcc5 { top: calc(var(--scale)*153); }
.wc-cell._wcc6, .wc-cell._wcc7, .wc-cell._wcc8, .wc-cell._wcc9, .wc-cell._wcc10 { top: calc(var(--scale)*241); }
.wc-cell._wcc11, .wc-cell._wcc12, .wc-cell._wcc13, .wc-cell._wcc14 { top: calc(var(--scale)*329); }
.wc-cell._wcc15, .wc-cell._wcc16, .wc-cell._wcc17, .wc-cell._wcc18 { top: calc(var(--scale)*418); }
.wc-cell._wcc19, .wc-cell._wcc20, .wc-cell._wcc21, .wc-cell._wcc22 { top: calc(var(--scale)*507); }
.wc-cell._wcc23, .wc-cell._wcc24, .wc-cell._wcc25, .wc-cell._wcc26, .wc-cell._wcc27 { top: calc(var(--scale)*596); }
.wc-cell._wcc28, .wc-cell._wcc29, .wc-cell._wcc30, .wc-cell._wcc31 { top: calc(var(--scale)*684); }

.wc-cell._wcc1, .wc-cell._wcc6, .wc-cell._wcc11, .wc-cell._wcc15, .wc-cell._wcc19, .wc-cell._wcc23, .wc-cell._wcc28 { left: calc(var(--scale)*26); }
.wc-cell._wcc2, .wc-cell._wcc7, .wc-cell._wcc16, .wc-cell._wcc20, .wc-cell._wcc24, .wc-cell._wcc29 { left: calc(var(--scale)*114); }
.wc-cell._wcc3, .wc-cell._wcc8, .wc-cell._wcc12, .wc-cell._wcc17, .wc-cell._wcc21, .wc-cell._wcc25, .wc-cell._wcc30 { left: calc(var(--scale)*202); }
.wc-cell._wcc4, .wc-cell._wcc9, .wc-cell._wcc13, .wc-cell._wcc18, .wc-cell._wcc26, .wc-cell._wcc31 { left: calc(var(--scale)*289); }
.wc-cell._wcc5, .wc-cell._wcc10, .wc-cell._wcc14, .wc-cell._wcc22, .wc-cell._wcc27 { left: auto !important; right: calc(var(--scale)*21); }
.wc-cell._wcc7, .wc-cell._wcc14 { height: calc(var(--scale)*170); }
.wc-cell._wcc21, .wc-cell._wcc31 { width: calc(var(--scale)*169); }

/* =========================================
   5. DEKORASİYALAR
   ========================================= */
.w-lights { position: absolute; width: 100%; top: 0; height: calc(var(--scale)*160); z-index: auto; }
.w-lights > * { position: absolute; border-radius: 50%; width: calc(var(--scale)*10); height: calc(var(--scale)*10); background-color: #f8f12e; pointer-events: none; filter: blur(2px); animation: garlandPulse 2.5s ease-in-out infinite; opacity: .7; }
.w-lights .wl1 { background: #00d3da; left: 43px; bottom: 20px; } .w-lights .wl2 { left: 70px; bottom: 22px; }
.w-lights .wl3 { background: #ff7bb3; left: 94px; bottom: 39px; } .w-lights .wl4 { left: 106px; bottom: 32px; }
.w-lights .wl5 { left: 130px; bottom: 46px; } .w-lights .wl6 { background: #ff7bb3; left: 165px; bottom: 75px; }
.w-lights .wl7 { background: #00d3da; left: 200px; bottom: 100px; } .w-lights .wl8 { background: #00d3da; left: 271px; bottom: 98px; }
.w-lights .wl9 { background: #ff7bb3; left: 307px; bottom: 75px; } .w-lights .wl10 { left: 333px; bottom: 48px; }
.w-lights .wl11 { left: 344px; bottom: 42px; } .w-lights .wl12 { background: #ff7bb3; left: 376px; bottom: 39px; }
.w-lights .wl13 { left: 402px; bottom: 19px; } .w-lights .wl14 { background: #00d3da; left: 428px; bottom: 19px; }

.bell { background: url('/assets/images/winter_calendar/bell.png') 50% 50%/100% auto no-repeat; position: absolute; left: calc(var(--scale)*10); top: calc(var(--scale)*120); width: calc(var(--scale)*30); height: calc(var(--scale)*45); transform-origin: 50% 0; animation: bellAnim 4s cubic-bezier(0.4, 0, 0.2, 1) infinite; filter: drop-shadow(0px 6px 6px black); }
.bell._b-right { left: auto; right: calc(var(--scale)*10); animation-direction: reverse; }
.ghost { background: url('/assets/images/winter_calendar/ghost.png') 50% 50%/100% auto no-repeat; position: absolute; left: calc(var(--scale)*50); top: calc(var(--scale)*25); width: calc(var(--scale)*120); height: calc(var(--scale)*120); display: flex; justify-content: center; align-items: center; animation: ghostFloat 10s ease-in-out infinite; }
.ghost .g-wind { position: absolute; width: 85%; height: 85%; top: 30%; animation: windFloat 6s ease-in-out infinite; transform-origin: 50% 50%; }
.ghost .g-wind::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('/assets/images/winter_calendar/wind.png') 50% 50%/100% auto no-repeat; animation: windLayerSwitchBefore 4s ease-in-out infinite; opacity: 0; }

/* =========================================
   6. HƏDİYYƏ PƏNCƏRƏSİ (OFFER BOX)
   ========================================= */
.offer-box {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    height: 600px;
    animation: showOfferShine 0.666s forwards;
}

.offer-box:before {
    content: ''; position: absolute; display: block; width: 100%; height: 480px;
    background: url('/assets/images/winter_calendar/shine.png') 50% 50% no-repeat;
}

.offer-box:after {
    content: ''; position: absolute; display: block; left: 0; top: 0; width: 100%; height: 480px;
    background: url('/assets/images/winter_calendar/mill.png') 50% 50% no-repeat;
    background-size: 100% auto !important;
    animation: rotateOfferMill 30s 0.666s linear infinite;
}

.offer-box-title {
    position: relative; z-index: 10; width: 100%; max-width: 480px; height: 60px;
    margin: 0 auto; top: 100px;
    background: url('/assets/images/winter_calendar/text_get-set.png') 50% 0 no-repeat;
    background-size: 100% auto;
    animation: offerBoxTitle 0.5s linear forwards;
}

.offer-box-items {
    position: absolute; width: 100%; left: 0; top: 180px;
    text-align: center; z-index: 100;
    display: flex; flex-direction: column; align-items: center;
}

.offer-box-item {
    position: relative; display: inline-block;
}

/* İkonlar üçün konteyner */
.reward-icons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    min-height: 80px;
}
 
.reward-icons-row img {
    width: 34px !important;
    height: 34px !important;
    object-fit: contain;
}

/* Miqdar (Count) Dizaynı */
.offer-box-item-count {
    position: relative; 
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #ffd700;
    color: #ffd700;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 15px;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    text-shadow: 1px 1px 0 #000;
    z-index: 101;
}

/* Tooltip */
.offer-box-item-text {
    display: none; opacity: 0; z-index: 10000; position: absolute;
    width: 140px; bottom: 110%; left: 50%; transform: translateX(-50%);
    color: #5c7e02 !important; background: #effad4 !important;
    padding: 5px; border-radius: 4px; box-shadow: 0 0 25px #000;
    font-size: 12px !important; white-space: normal !important;
}
.offer-box-item:hover .offer-box-item-text {
    display: block; animation: offerBoxItemHint 0.5s forwards;
}

/* Düymə (Button) */
.offer-box-link {
    position: absolute;
    display: block;
    text-decoration: none;
    color: #fff;
    text-align: center;
    top: 290px;
    left: 50%;
    padding: 49px 0 0 0;
    width: 270px;
    max-width: 346px;
    height: 72px;
    font-size: 18px;
    max-height: 134px;
    z-index: 11;
    background: url('/assets/images/winter_calendar/button.png') 50% 50% no-repeat;
    background-size: 100% auto !important;
    animation: showOfferBoxLink 0.8s linear forwards;
    transform-origin: 50% 50%;
    transform: translateX(-50%);
    cursor: pointer;
}
.offer-box-link:hover { filter: brightness(1.2); }
.offer-box-link:active { transform: translateX(-50%) scale(0.95); }

/* =========================================
   7. KEYFRAMES
   ========================================= */
@keyframes showOfferShine { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes rotateOfferMill { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes offerBoxTitle { from { opacity: 0; transform: scale(0.35); } to { opacity: 1; transform: scale(1); } }
@keyframes showOfferBoxLink { from { opacity: 0; transform: translateX(-50%) scale(0.8); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
@keyframes offerBoxItemHint { from { opacity: 0; } to { opacity: 1; } }
@keyframes expandFromIcon { 0% { opacity: 0; transform: translate(var(--start-x), var(--start-y)) scale(0.05); } 60% { opacity: 1; transform: translate(0, 0) scale(1.05); } 100% { opacity: 1; transform: translate(0, 0) scale(1); } }
@keyframes shrinkToIcon { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--start-x), var(--start-y)) scale(0.05); } }
@keyframes cellPopIn { 0% { opacity: 0; transform: scale(0.3); } 70% { opacity: 1; transform: scale(1.15); } 100% { opacity: 1; transform: scale(1); } }
@keyframes cellActivePulse { 0% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(1.1) rotate(180deg); opacity: 0.8; } 100% { transform: scale(1) rotate(360deg); opacity: 1; } }
@keyframes garlandPulse { 0% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.4); opacity: 1; } 100% { transform: scale(1); opacity: .7; } }
@keyframes bellAnim { 0% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } 100% { transform: rotate(-10deg); } }
@keyframes ghostFloat { 0% { transform: translateY(0px) translateX(0px) rotate(0deg); opacity: 1; } 20% { transform: translateY(-8px) translateX(3px) rotate(-1deg); opacity: .7; } 40% { transform: translateY(-5px) translateX(0px) rotate(0deg); opacity: 1; } 60% { transform: translateY(-8px) translateX(-3px) rotate(1deg); opacity: .7; } 80% { transform: translateY(-3px) translateX(0px) rotate(0deg); opacity: 1; } 100% { transform: translateY(0px) translateX(0px) rotate(0deg); opacity: 1; } }
@keyframes windFloat { 0% { transform: translateY(0px) translateX(0px); } 25% { transform: translateY(-5px) translateX(2px); } 50% { transform: translateY(-3px) translateX(0px); } 75% { transform: translateY(-5px) translateX(-2px); } 100% { transform: translateY(0px) translateX(0px); } }
@keyframes windLayerSwitchBefore { 0% { opacity: .1; } 33.33% { opacity: .8; } 66.66% { opacity: .1; } 100% { opacity: .1; } }
@keyframes movingFlare3 { 15%, 100% { left: 110%; margin-left: 80px; } 0% { left: -130px; margin-left: 0; } 15% { left: 110%; margin-left: 80px; } }

/* ==================== SECTION: snow.css ==================== */

.flake {
    position: absolute;
    top: -10px;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    filter: blur(1px);
    animation: fall linear infinite;
}

@keyframes fall {
    0% { transform: translateY(-10vh) translateX(0); opacity: 1; }
    100% { transform: translateY(110vh) translateX(20px); opacity: 0.3; }
}


.flake:nth-child(1) { left: 5%; animation-duration: 8s; animation-delay: -2s; opacity: 0.7; }
.flake:nth-child(2) { left: 15%; width: 5px; height: 5px; animation-duration: 12s; animation-delay: -8s; }
.flake:nth-child(3) { left: 25%; animation-duration: 10s; animation-delay: -4s; }
.flake:nth-child(4) { left: 35%; width: 6px; height: 6px; animation-duration: 14s; animation-delay: -10s; }
.flake:nth-child(5) { left: 45%; animation-duration: 9s; animation-delay: -1s; opacity: 0.6; }
.flake:nth-child(6) { left: 55%; width: 4px; height: 4px; animation-duration: 11s; animation-delay: -6s; }
.flake:nth-child(7) { left: 65%; animation-duration: 13s; animation-delay: -3s; }
.flake:nth-child(8) { left: 75%; width: 7px; height: 7px; animation-duration: 15s; animation-delay: -9s; }
.flake:nth-child(9) { left: 85%; animation-duration: 10s; animation-delay: -5s; opacity: 0.8; }
.flake:nth-child(10) { left: 95%; width: 5px; height: 5px; animation-duration: 12s; animation-delay: -11s; }
.flake:nth-child(11) { left: 10%; animation-duration: 16s; animation-delay: -7s; }
.flake:nth-child(12) { left: 60%; width: 3px; height: 3px; animation-duration: 18s; animation-delay: -1s; }
.flake:nth-child(13) { left: 30%; animation-duration: 14s; animation-delay: -13s; }
.flake:nth-child(14) { left: 80%; width: 6px; height: 6px; animation-duration: 9s; animation-delay: -4s; }
.flake:nth-child(15) { left: 50%; animation-duration: 11s; animation-delay: -8s; }


/* ==================== SECTION: auth.css ==================== */

    .auth-wrapper {
        max-width: 640px;
        width: 100%;
        margin: 0 auto;
        padding-bottom: 20px;
        font-family: 'Nunito', Tahoma, Arial, sans-serif;
        color: #5c4014;
    }

    .auth-caption {
        background: #006db7 url('/assets/images/head/letoheader.png') repeat-x center left;
        color: white;
        text-align: center;
        padding: 0px 0px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        margin-bottom: 20px;
    }

    .auth-caption h1 {
        margin: 0;
        font-weight: 900;
        font-size: 18px;
        text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
    }

    /* --- ŞƏKİLLƏRİN DÜZGÜN HİZALANMASI --- */
    .auth-hero-section {
        text-align: center;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .auth-hero-top {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 160px;
        /* Əsas şəklin hündürlüyü */
        gap: 15px;
        /* Şəkillər arası məsafə (heç bir üst-üstə minmə yoxdur) */
        margin-bottom: 10px;
    }

    .auth-hero-side {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        height: 100%;
    }

    .auth-hero-center {
        height: 100%;
    }

    .auth-hero-center img {
        height: 100%;
        width: auto;
        border-radius: 16px;
        border: 3px solid #fbdc99;
        box-shadow: 0 6px 20px rgba(107, 68, 27, 0.4);
    }

    .auth-icon-img {
        width: 50px;
        height: 50px;
        background: linear-gradient(145deg, #ffffff 0%, #ffecc7 100%);
        border-radius: 12px;
        padding: 0;
        border: 2px solid #e6c888;
        box-shadow: 0 3px 0 #d4a352;
        transition: transform 0.2s;
        object-fit: cover;
        overflow: hidden;
    }

    .auth-icon-img:hover {
        transform: translateY(-2px);
    }

    .auth-hero-bottom {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }

    .auth-hero-bottom .auth-icon-img {
        width: auto;
        max-width: 90px;
        height: 50px;
        object-fit: contain;
    }

    /* --- FORMA HİSSƏSİ --- */
    .auth-main-card {
        background: linear-gradient(180deg, #fffdf8 0%, #ffecc7 100%);
        border-radius: 24px;
        margin: 0 10px;
        padding: 20px;
        border: 2px solid #fbdc99;
        box-shadow: 0 8px 0 #e6c888, 0 15px 20px rgba(107, 68, 27, 0.15);
    }

    .auth-store-tabs {
        display: flex;
        background: #ebdca4;
        padding: 6px;
        border-radius: 20px;
        margin-bottom: 20px;
        gap: 6px;
        box-shadow: inset 0 3px 6px rgba(189, 147, 56, 0.2);
    }

    .auth-store-tab {
        flex: 1;
        text-align: center;
        padding: 12px 5px;
        font-size: 16px;
        font-weight: 800;
        color: #8c6e3b;
        border-radius: 16px;
        cursor: pointer;
        transition: all 0.2s;
    }

    .auth-store-tab.active {
        background: #fff8e1;
        color: #d35400;
        box-shadow: 0 4px 15px rgba(211, 84, 0, 0.15);
        transform: translateY(-2px);
    }

    .auth-form-panel {
        display: none;
        animation: authPanelSlide 0.3s ease-out forwards;
    }

    .auth-form-panel.active {
        display: block;
    }

    @keyframes authPanelSlide {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

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

    .auth-input-group {
        margin-bottom: 15px;
    }

    .auth-input-group label {
        display: block;
        font-weight: 800;
        margin-bottom: 5px;
        color: #7a5818;
        padding-left: 5px;
    }

    .auth-input-modern {
        width: 100%;
        padding: 14px;
        border: 2px solid #fbdc99;
        border-radius: 16px;
        font-family: 'Nunito', sans-serif;
        font-size: 15px;
        font-weight: 700;
        background: #fff;
        color: #4a331c;
        box-sizing: border-box;
        transition: border-color 0.3s, box-shadow 0.3s;
    }

    .auth-input-modern:focus {
        outline: none;
        border-color: #ff9f43;
        box-shadow: 0 0 10px rgba(255, 159, 67, 0.3);
    }

    .auth-btn-modern {
        width: 100%;
        background: linear-gradient(90deg, #ff512f, #f09819);
        color: white;
        border: 2px solid #fff;
        padding: 16px;
        border-radius: 16px;
        font-family: 'Nunito', sans-serif;
        font-weight: 900;
        font-size: 18px;
        cursor: pointer;
        box-shadow: 0 6px 15px rgba(240, 152, 25, 0.4);
        transition: transform 0.1s, box-shadow 0.1s;
        text-transform: uppercase;
        margin-top: 10px;
    }

    .auth-btn-modern:active {
        transform: translateY(4px) scale(0.98);
        box-shadow: 0 2px 6px rgba(240, 152, 25, 0.4);
    }

    .auth-btn-green {
        background: linear-gradient(90deg, #11998e, #38ef7d);
        box-shadow: 0 6px 15px rgba(56, 239, 125, 0.4);
    }

    .auth-alert-box {
        background: linear-gradient(135deg, #ffefef, #ffe5e5);
        border-left: 5px solid #dc3545;
        padding: 12px 15px;
        border-radius: 12px;
        color: #dc3545;
        font-weight: 800;
        margin-bottom: 15px;
        font-size: 14px;
        box-shadow: 0 4px 6px rgba(220, 53, 69, 0.1);
        display: <?php echo empty($error_msg) ? 'none': 'block';
        ?>;
    }

    .auth-info-block {
        background: rgba(255, 255, 255, 0.5);
        border: 2px dashed #e6c888;
        border-radius: 16px;
        margin: 20px 10px;
        padding: 15px;
        text-align: center;
    }

    .auth-info-block h3 {
        color: #a81091;
        margin-top: 0;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .auth-info-block p {
        color: #333;
        font-size: 14px;
        line-height: 1.5;
        margin: 0;
    }

    .auth-info-block span.highlight {
        color: #a81091;
        font-weight: bold;
    }

    .auth-stats-footer {
        text-align: center;
        margin-top: 15px;
        font-weight: 700;
        color: #8c6e3b;
        font-size: 14px;
    }

    .auth-stats-badge {
        background: #fffdf8;
        border: 2px solid #e6c888;
        padding: 5px 12px;
        border-radius: 20px;
        display: inline-block;
        margin: 5px;
        box-shadow: 0 3px 0 #d4a352;
    }

    .auth-gray-footer {
        color: #888;
        font-size: 12px;
        text-align: center;
        margin-top: 15px;
        padding-bottom: 15px;
    }


/* ==================== SECTION: garag.css ==================== */


    .car-card { background: #ffecc7; border-radius: 12px; margin-bottom: 2px; border: 1px solid #ffaa97; box-shadow: inset 0 0 6px 0 rgba(255, 182, 49, 1); }
    .car-header { display: flex; justify-content: space-between; align-items: center; padding: 3px 15px; border-bottom: 1px solid #ffaa97; background: #F2E0BD; border-radius: 12px 12px 0 0; }
    .lvl-badge { background: #ffcc00; color: #000; font-weight: 800; padding: 3px 10px; border-radius: 6px; font-size: 12px; }
    .car-body { display: flex; padding: 6px; gap: 15px; }
    .car-visual { width: 90px; height: 60px; flex-shrink: 0; }
    .car-visual img { width: 100%; border-radius: 5px; }
    .car-stats { flex-grow: 1; }
    .stat-box { background: #F2E0BD; padding: 8px; border-radius: 8px; margin-bottom: 8px; font-size: 12px; border-left: 3px solid #28a745; }
    .btn-upgrade-main { background: #28a745; color: white; border: none; width: 100%; padding: 10px; border-radius: 8px; font-weight: bold; cursor: pointer; }
    
    .modal-overlay { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(4px); }
    .modal-box { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; max-width: 340px; background: #ffecc7; border: 1px solid #ffaa97; border-radius: 15px; padding: 18px; text-align: center; box-shadow: inset 0 0 10px rgba(255,182,49,0.5); }
    .modal-info-grid { background: #fff8e1; border-radius: 10px; padding: 12px; margin: 15px 0; text-align: left; border: 1px dashed #ffd54f; font-size: 14px; }
    .confirm-btn { display: block; background: #28a745; color: white; border:none; width:100%; padding: 14px; border-radius: 10px; font-weight: bold; cursor:pointer; font-size: 15px; }
    .close-btn { background: #ffcc00; color: #000; border:none; width:100%; padding: 12px; border-radius: 10px; font-weight: bold; cursor:pointer; margin-top: 10px; font-size: 13px; }
    #modal_msg { margin-bottom: 10px; font-weight: bold; font-size: 14px; min-height: 20px; display: block; }


    .garage-card { background: #ffecc7; border-radius: 12px; margin-bottom: 5px; border: 1px solid #ffaa97; box-shadow: inset 0 0 6px 0 rgba(255, 182, 49, 1); overflow: hidden; }
    .garage-header { display: flex; justify-content: space-between; align-items: center; padding: 5px 12px; border-bottom: 1px solid #ffaa97; background: #F2E0BD; }
    .lvl-badge { background: #ffcc00; color: #000; font-weight: bold; padding: 2px 8px; border-radius: 5px; font-size: 11px; }
    .garage-body { display: flex; padding: 8px; gap: 12px; align-items: center; }
    .garage-img { width: 85px; height: 55px; flex-shrink: 0; }
    .garage-img img { width: 100%; border-radius: 6px; }
    .garage-info { flex-grow: 1; font-size: 12px; }
    .bonus-box { background: #F2E0BD; padding: 6px; border-radius: 6px; border-left: 3px solid #28a745; margin-bottom: 5px; }
    .btn-up { background: #28a745; color: white; border: none; width: 100%; padding: 8px; border-radius: 6px; font-weight: bold; cursor: pointer; transition: 0.2s; }
    .btn-up:active { transform: scale(0.97); }

    .btn-sale { background: #28a745; color: white; border: none; width: 100%; padding: 8px; border-radius: 6px; font-weight: bold; cursor: pointer; }
    .btn-max { background: #a0a0a0; color: #e0e0e0; border: none; width: 100%; padding: 8px; border-radius: 6px; font-weight: bold; cursor: not-allowed; }
    .btn-upgrade-main { background: #28a745; color: white; border: none; width: 100%; padding: 8px; border-radius: 6px; font-weight: bold; cursor: pointer; }
    .btn-upgrade-max { background: #a0a0a0; color: #e0e0e0; border: none; width: 100%; padding: 8px; border-radius: 6px; font-weight: bold; cursor: not-allowed; }


    .car-card { background: #ffecc7; border-radius: 12px; margin-bottom: 2px; border: 1px solid #ffaa97; box-shadow: inset 0 0 6px 0 rgba(255, 182, 49, 1); }
    .car-header { display: flex; justify-content: space-between; align-items: center; padding: 3px 15px; border-bottom: 1px solid #ffaa97; background: #F2E0BD; border-radius: 12px 12px 0 0; }
    .lvl-badge { background: #ffcc00; color: #000; font-weight: 800; padding: 3px 10px; border-radius: 6px; font-size: 12px; }
    .car-body { display: flex; padding: 6px; gap: 15px; }
    .car-visual { width: 90px; height: 60px; flex-shrink: 0; }
    .car-visual img { width: 100%; border-radius: 5px; }
    .car-stats { flex-grow: 1; }
    .stat-box { background: #F2E0BD; padding: 8px; border-radius: 8px; margin-bottom: 8px; font-size: 12px; border-left: 3px solid #28a745; }
    .btn-upgrade-main { background: #28a745; color: white; border: none; width: 100%; padding: 10px; border-radius: 8px; font-weight: bold; cursor: pointer; }
    
    .modal-overlay { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(4px); }
    .modal-box { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; max-width: 340px; background: #ffecc7; border: 1px solid #ffaa97; border-radius: 15px; padding: 18px; text-align: center; box-shadow: inset 0 0 10px rgba(255,182,49,0.5); }
    .modal-info-grid { background: #fff8e1; border-radius: 10px; padding: 12px; margin: 15px 0; text-align: left; border: 1px dashed #ffd54f; font-size: 14px; }
    .confirm-btn { display: block; background: #28a745; color: white; border:none; width:100%; padding: 14px; border-radius: 10px; font-weight: bold; cursor:pointer; font-size: 15px; }
    .close-btn { background: #ffcc00; color: #000; border:none; width:100%; padding: 12px; border-radius: 10px; font-weight: bold; cursor:pointer; margin-top: 10px; font-size: 13px; }
    #modal_msg { margin-bottom: 10px; font-weight: bold; font-size: 14px; min-height: 20px; display: block; }


    .garage-card { background: #ffecc7; border-radius: 12px; margin-bottom: 5px; border: 1px solid #ffaa97; box-shadow: inset 0 0 6px 0 rgba(255, 182, 49, 1); overflow: hidden; }
    .garage-header { display: flex; justify-content: space-between; align-items: center; padding: 5px 12px; border-bottom: 1px solid #ffaa97; background: #F2E0BD; }
    .lvl-badge { background: #ffcc00; color: #000; font-weight: bold; padding: 2px 8px; border-radius: 5px; font-size: 11px; }
    .garage-body { display: flex; padding: 8px; gap: 12px; align-items: center; }
    .garage-img { width: 85px; height: 55px; flex-shrink: 0; }
    .garage-img img { width: 100%; border-radius: 6px; }
    .garage-info { flex-grow: 1; font-size: 12px; }
    .bonus-box { background: #F2E0BD; padding: 6px; border-radius: 6px; border-left: 3px solid #28a745; margin-bottom: 5px; }
    .btn-up { background: #28a745; color: white; border: none; width: 100%; padding: 8px; border-radius: 6px; font-weight: bold; cursor: pointer; transition: 0.2s; }
    .btn-up:active { transform: scale(0.97); }

    .btn-sale { background: #28a745; color: white; border: none; width: 100%; padding: 8px; border-radius: 6px; font-weight: bold; cursor: pointer; }
    .btn-max { background: #a0a0a0; color: #e0e0e0; border: none; width: 100%; padding: 8px; border-radius: 6px; font-weight: bold; cursor: not-allowed; }
    .btn-upgrade-main { background: #28a745; color: white; border: none; width: 100%; padding: 8px; border-radius: 6px; font-weight: bold; cursor: pointer; }
    .btn-upgrade-max { background: #a0a0a0; color: #e0e0e0; border: none; width: 100%; padding: 8px; border-radius: 6px; font-weight: bold; cursor: not-allowed; }
    li.epidemic, .epidemic { background-color: #ddffc7 !important; border-left: none !important; }


/* ==================== SECTION: communication.css ==================== */

body:has(#chatWrapper) {
    overflow: hidden;
}

#chatWrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100dvh; 
    max-width: 640px !important; 
    margin: 0 auto !important; 
    box-sizing: border-box;
    background: #e5ddd5;
    border-radius: 8px 8px 0 0;
    touch-action: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.1); 
    position: relative; 
}

.chat-top-panel {
    background: #F2E0BD; 
    padding: 2.5px; 
    border-bottom: 1px solid #9C9079;
    display: flex; 
    flex-wrap: nowrap; 
    gap: 8px;
    justify-content: space-between; 
    flex-shrink: 0; 
    border-radius: 0px 0px 0 0;
    overflow-x: auto; 
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}
.chat-top-panel::-webkit-scrollbar { display: none; }

.chat-messages-area {
    flex-grow: 1; 
    overflow-y: auto; 
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    -ms-overflow-style: none;  
    scrollbar-width: none;
    touch-action: pan-y; 
    overscroll-behavior-y: contain; 
}
.chat-messages-area::-webkit-scrollbar { display: none; }

.chat-input-area {
    background: #f0f0f0;
    padding: 4px;
    border-top: 1px solid #ccc;
    flex-shrink: 0; 
    box-sizing: border-box;
    width: 100%;
    position: relative;
}
.chat-input-wrapper { display: flex; align-items: flex-end; gap: 8px; background: #fff; padding: 5px 10px; border-radius: 20px; border: 1px solid #ccc; box-sizing: border-box; }
.chat-input-wrapper textarea { flex: 1; border: none; outline: none; resize: none; max-height: 80px; font-family: inherit; font-size: 14px; background: transparent; padding: 10px 0; width:100%; box-sizing: border-box;}

.chat-btn-smile { background: none; border: none; cursor: pointer; padding: 0 5px; font-size: 20px; color:#888; flex-shrink:0; align-self: center; }
.chat-btn-send { background: #0088cc; color: white; border: none; border-radius: 50%; width: 36px; height: 36px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink:0; align-self: flex-end; margin-bottom: 2px;}

.chat-bottom-menu {
    background: #F2E0BD;
    padding: 5px;
    border-top: 1px solid #9C9079;
    display: flex;
    justify-content: space-between; 
    flex-wrap: nowrap; 
    gap: 8px;
    flex-shrink: 0;
    overflow-x: auto; 
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}
.chat-bottom-menu::-webkit-scrollbar { display: none; }
.chat-bottom-menu a {
    flex: 1; background: #ffffff; color: #495057; text-decoration: none;
    font-size: 12px; font-weight: 600; padding: 4px 5px; border-radius: 12px; 
    border: 1px solid #ced4da; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    display: flex; align-items: center; justify-content: center; gap: 4px;
    text-align: center; white-space: nowrap; 
}

#smileBox {
    display: none; position: absolute; bottom: calc(100% + 6px); left: 0; 
    background: #fff; border: 1px solid #ddd; border-radius: 12px; 
    padding: 0 0 10px 0; z-index: 9999; box-shadow: 0 -5px 15px rgba(0,0,0,0.1); 
    width: 100%; box-sizing: border-box; overflow: hidden;
}
.smile-tabs { display: flex; border-bottom: 1px solid #eaeaea; background: #f8f9fa; border-radius: 12px 12px 0 0; }
.smile-tab-btn { flex: 1; background: none; border: none; padding: 10px 0; font-size: 16px; color: #888; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s; outline: none; }
.smile-tab-btn.active { color: #0088cc; border-bottom: 2px solid #0088cc; background: #fff; }
.smile-tab-content { padding: 10px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-height: 180px; overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; }
.smile-tab-content::-webkit-scrollbar { display: none; }
.smile-item { cursor: pointer; padding: 4px; transition: transform 0.1s; }
.smile-item:active { transform: scale(0.8); }

.top-icon-btn {
    flex: 1; 
    position: relative; 
    background: #ffffff; 
    border-radius: 12px; 
    text-decoration: none; 
    border: 1px solid #ced4da; 
    color: #555; 
    font-size: 14px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    transition: 0.2s; 
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    overflow: hidden; 
    padding: 0; 
}
.top-icon-btn:active { transform: scale(0.95); }

.top-icon-btn img, .top-icon-btn i { 
    width: 14px; 
    height: 14px; 
    margin: auto;
    padding: 4px 0px;
}

.badge { 
    position: relative;
    background: linear-gradient(135deg, #ff5252 0%, #c62828 100%); 
    color: white; 
    font-size: 12px; 
    font-weight: 800; 
    padding: 0 6px; 
    height: 100%;
    display: none;
    align-items: center; 
    justify-content: center; 
    border-left: 1px solid #b71c1c; 
    box-shadow: -2px 0 5px rgba(0,0,0,0.15);
    overflow: hidden; 
    min-width: 22px; 
    text-align: center;
}

.badge-online { 
    position: relative;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%); 
    color: white; 
    font-size: 12px; 
    font-weight: 800; 
    padding: 0 6px; 
    height: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-left: 1px solid #1B5E20; 
    box-shadow: -2px 0 5px rgba(0,0,0,0.15); 
    overflow: hidden; 
    min-width: 22px; 
}

@keyframes flipUp {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-100%); opacity: 0; }
    51% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes flipDown {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(100%); opacity: 0; }
    51% { transform: translateY(-100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.animate-up { animation: flipUp 0.4s ease-in-out; }
.animate-down { animation: flipDown 0.4s ease-in-out; }

.badge.show { 
    display: flex;
}

.msg-wrapper { display: flex; flex-direction: column; width: 100%; transition: opacity 0.3s; }
.msg-row { display: flex; align-items: flex-end; gap: 6px; width: 100%; margin-bottom: 5px; }
.wrap-me { flex-direction: row-reverse; }
.wrap-other { flex-direction: row; }
.wrap-system { justify-content: center; }

.msg-bubble {
    max-width: 85%; padding: 6px 8px 8px 10px; border-radius: 12px; font-size: 14px; 
    line-height: 1.3; position: relative; word-wrap: break-word; box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.msg-bubble::after { content: ''; display: table; clear: both; }
.msg-me { background: #dcf8c6; border-bottom-right-radius: 0px; }
.msg-other { background: #ffffff; border-bottom-left-radius: 0px; }
.msg-system { background: #fff3cd; color: #856404; border-radius: 15px; font-size: 12px; padding: 4px 10px; text-align: center; box-shadow: none;}

.msg-sender { font-size: 13px; font-weight: bold; margin-bottom: 3px; display: flex; align-items: center; gap:4px;}
.msg-text-content { display: inline; color: #111; word-break: break-word;}
.msg-time-inline { font-size: 10px; color: #999; float: right; margin: 8px 0 -4px 10px; }
.msg-me .msg-time-inline { color: #6bb06e; }

.msg-side-actions { display: flex; gap: 6px; opacity: 0.9; flex-shrink: 0; }
.action-btn { width: 26px; height: 26px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 3px rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center; color: #666; text-decoration: none; transition: 0.2s; }
.action-btn:active { transform: scale(0.9); background: #f0f0f0; }
.btn-reply { color: #0088cc; }
.btn-delete { color: #e53935; }
.action-btn i { font-size: 11px; }

#replyBox { background: #e2e3e5; padding: 6px 10px; border-radius: 5px; font-size: 11px; margin-bottom: 8px; display: none; position: relative; }
.cancel-reply { position: absolute; right: 10px; top: 6px; color: red; cursor: pointer; font-weight: bold; }

.custom-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 10000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
.custom-modal-box { background: #fff; border-radius: 14px; width: 90%; max-width: 320px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); overflow: hidden; animation: popUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes popUp { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.custom-modal-header { padding: 15px; background: #f8f9fa; font-weight: bold; border-bottom: 1px solid #eaeaea; text-align: center; color: #222; font-size: 15px; }
.custom-modal-body { padding: 10px 0; font-size: 14px; color: #444; text-align: center; max-height: 55vh; overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; }
.custom-modal-body::-webkit-scrollbar { display: none; }
#confirmText { padding: 15px 20px 25px 20px; font-size: 15px; line-height: 1.4; color:#333; }
.custom-modal-footer { display: flex; border-top: 1px solid #eaeaea; background: #fafafa; }
.custom-modal-btn { flex: 1; padding: 14px; text-align: center; font-weight: bold; font-size: 14px; cursor: pointer; border-right: 1px solid #eaeaea; transition: background 0.2s; }
.btn-cancel { color: #007bff; } .btn-confirm { color: #dc3545; }

.modern-online-name { display: block; padding: 12px 15px; margin: 8px 15px; background: #f8f9fa; color: #2c3e50; font-size: 15px; font-weight: bold; text-decoration: none; border-radius: 8px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.08); border: 1px solid #eee; }
#loader { text-align: center; padding: 5px; font-size: 12px; color: #888; display: none; margin-bottom: 10px;}

#scrollToBottomBtn { position: absolute; bottom: 145px; right: 15px; width: 40px; height: 40px; background: #ffffff; color: #555; border: 1px solid #d1d5db; border-radius: 50%; display: none; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(0,0,0,0.15); cursor: pointer; z-index: 900; }
#scrollToBottomBtn svg { width: 22px; height: 22px; stroke: #555; }
#newMsgBadge { position: absolute; top: -5px; right: -5px; background: #e53935; color: white; font-size: 10px; font-weight: bold; padding: 2px 6px; border-radius: 10px; border: 1px solid #fff; display: none; transition: 0.2s;}

.split-btn-container {
    display: flex;
    align-items: center;
    background: #006db7;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 5px;
    height: 28px;
    border: 1px solid rgba(255,255,255,0.2);
}

.split-btn-left, .split-btn-right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 100%;
    color: white !important;
    text-decoration: none;
    transition: background 0.2s;
}

.split-btn-left {
    border-right: 1px solid rgba(255,255,255,0.3);
}

.split-btn-left:hover, .split-btn-right:hover {
    background: rgba(255,255,255,0.1);
}

/* ==================== SECTION: Bank.css ==================== */


    @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800;900&display=swap');

    .bank-wrapper { font-family: 'Nunito', system-ui, sans-serif; overflow-x: hidden; padding: 10px; box-sizing: border-box; }
    
    .store-tabs { display: flex; background: #ebdca4; padding: 6px; border-radius: 20px; margin-bottom: 20px; gap: 6px; box-shadow: inset 0 3px 6px rgba(189, 147, 56, 0.2); }
    .store-tab { flex: 1; text-align: center; padding: 12px 5px; font-size: 14px; font-weight: 800; color: #8c6e3b; border-radius: 16px; cursor: pointer; transition: all 0.2s; position: relative; }
    .store-tab.active { background: #fff8e1; color: #d35400; box-shadow: 0 4px 15px rgba(211, 84, 0, 0.15); transform: translateY(-2px); }
    .store-tab.locked { color: #a89476; opacity: 0.8; }
    .locked-badge { position: absolute; top: -8px; right: -5px; background: #dc3545; color: white; font-size: 11px; padding: 3px 8px; border-radius: 10px; font-weight: 900; box-shadow: 0 3px 6px rgba(220, 53, 69, 0.4); }
    
    .store-panel { display: none; }
    .store-panel.active { display: block; animation: panelSlide 0.25s ease-out; }
    @keyframes panelSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

    .info-card { display: flex; align-items: center; background: linear-gradient(135deg, #b6d4fe, #fffae0); padding: 14px 18px; border-radius: 18px; margin-bottom: 15px; border-left: 5px solid #0284c7; position: relative; overflow: hidden; }
    .info-card::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent); animation: shineBanner 3s infinite; }
    .info-card.premium { background: linear-gradient(135deg, #dc3545, #ffe599); border-left: 5px solid red; }
    .info-card img { width: 45px; margin-right: 15px; filter: drop-shadow(0 5px 5px rgba(0,0,0,0.15)); }
    .info-card-text .i-title { font-weight: 900; font-size: 15px; color: #5c4014; }
    .info-card-text .i-desc { font-size: 13px; color: #5c4014; margin-top: 2px; }
    .info-card-text .pi-title { font-weight: 900; font-size: 15px; color: #fff; }
    .info-card-text .pi-desc { font-size: 13px; color: #fff; margin-top: 2px; }

    @keyframes shineBanner { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

    .diamonds-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 20px; padding-top: 10px; }
    
    .d-card { 
        background: linear-gradient(180deg, #fffdf8 0%, #ffecc7 100%);
        border-radius: 24px; padding: 25px 10px 15px 10px; text-align: center; 
        cursor: pointer; display: flex; flex-direction: column; align-items: center; 
        position: relative; min-height: 190px; border: 2px solid #fbdc99;
        box-shadow: 0 8px 0 #e6c888, 0 15px 20px rgba(211, 130, 0, 0.08);
        transition: transform 0.1s, box-shadow 0.1s, filter 0.1s;
    }
    .d-card:active { 
        transform: translateY(6px) scale(0.98); 
        box-shadow: 0 2px 0 #e6c888, 0 5px 10px rgba(211, 130, 0, 0.08); 
        filter: brightness(1.1);
    }

    .popular-card { border: 2px solid #FFD700; box-shadow: 0 8px 0 #e6c200, 0 15px 25px rgba(255, 215, 0, 0.3); z-index: 5; background: linear-gradient(180deg, #fffdf5 0%, #ffeb99 100%); }
    .popular-card:active { transform: scale(0.98) translateY(6px); box-shadow: 0 2px 0 #e6c200, 0 5px 10px rgba(255, 215, 0, 0.3); }
    
    .best-value-card { border: 2px solid #4caf50; box-shadow: 0 8px 0 #3e8e41, 0 15px 25px rgba(76, 175, 80, 0.2); background: linear-gradient(180deg, #f0fff4 0%, #d4f7de 100%); }
    .best-value-card:active { transform: translateY(6px) scale(0.98); box-shadow: 0 2px 0 #3e8e41, 0 5px 10px rgba(76, 175, 80, 0.2); }

    /* YENİ ALMAZ HƏRƏKƏTİ (NƏFƏS, FIRLANMA VƏ İŞIQ) */
    .d-img-box { position: relative; height: 75px; margin-bottom: -10px; z-index: 2; }
    .d-img-box img { 
        max-height: 100%; 
        animation: diamondMagic 3s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; 
        transition: transform 0.2s; 
    }
    @keyframes diamondMagic { 
        0% { transform: translateY(0) scale(1) rotate(0deg); filter: drop-shadow(0 8px 10px rgba(180, 100, 0, 0.3)) brightness(1); }
        50% { transform: translateY(-12px) scale(1.08) rotate(4deg); filter: drop-shadow(0 15px 20px rgba(255, 165, 0, 0.6)) brightness(1.2); }
        100% { transform: translateY(0) scale(1) rotate(0deg); filter: drop-shadow(0 8px 10px rgba(180, 100, 0, 0.3)) brightness(1); }
    }
    .d-card:active .d-img-box img { transform: scale(1.2) translateY(-5px); } 

    .popular-flag, .best-value-flag, .premium-flag { position: absolute; top: -12px; right: -8px; z-index: 10; color: #fff; font-size: 11px; font-weight: 900; padding: 6px 14px; border-radius: 12px 12px 12px 4px; box-shadow: 0 6px 15px rgba(0,0,0,0.2); text-transform: uppercase; }
    .popular-flag { background: linear-gradient(135deg, #ff9f43 0%, #ff6b6b 100%); border: 2px solid #fff; transform: rotate(4deg); }
    .best-value-flag { background: linear-gradient(135deg, #10ac84 0%, #1dd1a1 100%); left: -8px; right: auto; border-radius: 12px 12px 4px 12px; transform: rotate(-4deg); border: 2px solid #fff; }
    .premium-flag { background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); border: 2px solid #fff; }

    /* NORMAL QİYMƏT DÜYMƏSİ */
    .d-price-ribbon { background: linear-gradient(90deg, #ff512f, #f09819); color: white; padding: 6px 18px; border-radius: 20px; font-weight: 900; font-size: 15px; box-shadow: 0 4px 12px rgba(240, 152, 25, 0.4); border: 2px solid #fff; position: relative; z-index: 3; margin-bottom: 12px; }
    
    /* YENİ SUPER ALOVLU DÜYMƏ */
    .fire-badge { 
        background: linear-gradient(90deg, #ff0000, #ff8c00, #ffd700, #ff8c00, #ff0000); 
        background-size: 200% auto;
        color: #ffffff;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
        border: 2px solid #fff;
        font-size: 16px;
        animation: 
            superFireFlow 1.5s linear infinite, 
            superFirePulse 0.8s infinite alternate; 
    }
    @keyframes superFireFlow { 
        0% { background-position: 0% center; } 
        100% { background-position: 200% center; } 
    }
    @keyframes superFirePulse { 
        0% { transform: scale(1); box-shadow: 0 0 10px #ff0000, 0 0 15px #ff8c00, inset 0 0 8px rgba(255,255,255,0.4); } 
        100% { transform: scale(1.08); box-shadow: 0 0 20px #ff0000, 0 0 35px #ff8c00, 0 0 50px #ffd700, inset 0 0 15px rgba(255,255,255,0.7); } 
    }

    .d-amount-box { background: #fff8e1; border: 1px solid #fbe7b3; padding: 6px; border-radius: 12px; font-size: 15px; font-weight: 800; color: #7a5818; margin-bottom: 6px; width: 90%; display: flex; align-items: center; justify-content: center; gap: 6px; }
    .d-amount-box img { filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1)); }
    
    .d-bonus-list { display: flex; flex-direction: column; gap: 5px; width: 90%; }
    .d-tag { font-size: 11px; font-weight: 800; padding: 4px 0; border-radius: 8px; text-align: center; }
    .d-tag.ilk { background: #e3f2fd; color: #0284c7; border: 1px solid #b6d4fe; }
    .d-tag.prem { background: #fef08a; color: #ca8a04; border: 1px solid #fde047; }
    .locked-card-gray { background: #fff8e1 !important; border: 2px dashed #d5c8a0 !important; box-shadow: none !important; opacity: 0.7; }

    /* SÜRƏTLİ MODAL */
    .pack-modal-overlay { 
        display: none; position: fixed; z-index: 9999; left: 0; top: 0; 
        width: 100%; height: 100%; background: rgba(30, 20, 0, 0.8); 
        backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); 
    }
    .pack-modal-box { 
        position: absolute; top: 50%; left: 50%; width: 85%; max-width: 340px; 
        background: linear-gradient(180deg, #fffdf8 0%, #ffecc7 100%); border: 3px solid #fbdc99; 
        border-radius: 30px; padding: 30px 20px; text-align: center; z-index: 10000; 
        box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(255,255,255,0.8);
        opacity: 0; transform: translate(-50%, -50%) scale(0.3); 
    }
    .pack-modal-box.active { animation: superPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
    @keyframes superPop {
        0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0; }
        60% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
        100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    }
    .pack-modal-box.closing { animation: fastClose 0.15s ease-in forwards; }
    @keyframes fastClose {
        0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
        100% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    }

    .mod-glow { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 120px; height: 120px; background: rgba(255, 215, 0, 0.5); filter: blur(35px); border-radius: 50%; z-index: 0; }
    #mod_img { position: relative; width: 90px; margin-bottom: 15px; filter: drop-shadow(0 15px 15px rgba(211, 130, 0, 0.3)); z-index: 1; animation: diamondMagic 3s infinite; }
    
    .btn-close-x { position: absolute; top: 5px; right: 10px; font-size: 16px; color: #fff; cursor: pointer; background: #dc3545; width: 36px; height: 36px; line-height: 36px; border-radius: 50%; font-weight: bold; box-shadow: 0 4px 10px rgba(220, 53, 69, 0.4); border: 3px solid #fff; transition: 0.1s; }
    .btn-close-x:active { transform: scale(0.9); }
    
    .pm-details-box { background: #fff8e1; border: 1px solid #fbdc99; border-radius: 16px; padding: 15px; margin-bottom: 20px; text-align: left; font-size: 14px; font-weight: 700; color: #7a5818; }
    .pm-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed #fbe7b3; }
    .pm-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
    
    .pm-total-bar { background: linear-gradient(135deg, #2ed573, #1dd1a1); color: white; font-size: 18px; font-weight: 900; padding: 14px; border-radius: 14px; margin-bottom: 20px; box-shadow: 0 6px 12px rgba(46, 213, 115, 0.3); border: 2px solid #fff; }
    
    .btn-buy-diamond { background: linear-gradient(135deg, #ff7e5f, #feb47b); color: white; border: none; width: 100%; padding: 16px; border-radius: 16px; font-weight: 900; font-size: 16px; cursor: pointer; box-shadow: 0 8px 15px rgba(255, 126, 95, 0.4); transition: 0.1s; border: 2px solid #fff; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); }
    .btn-buy-diamond:active { transform: translateY(4px); box-shadow: 0 2px 6px rgba(255, 126, 95, 0.4); }

    .confetti-boom { position: fixed; width: 8px; height: 12px; z-index: 10000; pointer-events: none; animation: boom var(--fly-time) cubic-bezier(0.25, 1, 0.5, 1) forwards; }
    @keyframes boom { 
        0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
        70% { opacity: 1; }
        100% { transform: translate(var(--dx), var(--dy)) scale(0) rotate(var(--rot)); opacity: 0; } 
    }
    .no-scroll { overflow: hidden !important; height: 100vh; }


/* ==================== SECTION: operation.css ==================== */

:root {
    --surg-bg: #F2E0BD;
    --surg-card-bg: linear-gradient(145deg, #ffffff 0%, #ffecc7 100%);
    --surg-primary: #6b441b;
    --surg-text-main: #4a331c;
    --surg-text-muted: #8c6a46;
    --surg-border: #e6c888;
    --surg-accent: #fbdc99;
    --surg-shadow: #d4a352;
    --surg-danger: #dc3545;
    --surg-success: #1dd1a1;
}

.surgery-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 5px;
}

.surg-card {
    background: var(--surg-card-bg);
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid var(--surg-accent);
    box-shadow: 0 6px 0 var(--surg-shadow), 0 10px 15px rgba(107, 68, 27, 0.1);
    position: relative;
    overflow: visible;
}

.surg-card-header {
    font-size: 1rem;
    font-weight: 600;
    color: var(--surg-primary);
    margin-bottom: 10px;
    padding-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.patient-info {
    background: linear-gradient(135deg, #fffdf8, #fbd792);
    border-left: 5px solid var(--surg-primary);
    padding: 3px 8px;
    border-radius: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.patient-info img {
    background: var(--surg-primary);
    border-radius: 50%;
    padding: 4px;
}

.intro-flex {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff8e1;
    border: 1px dashed var(--surg-accent);
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.intro-flex img.screen-pic {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--surg-border);
    flex-shrink: 0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.intro-flex .intro-desc {
    color: var(--surg-primary);
    line-height: 1.4;
    font-size: 13px;
}

@media (max-width: 360px) {
    .intro-flex {
        flex-direction: column;
        text-align: center;
    }
}

.surg-action-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.surg-action-list li {
    background: #fff;
    border: 1px solid var(--surg-border);
    padding: 10px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 13.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.surg-action-list li a {
    text-decoration: none;
    color: var(--surg-primary);
    flex-grow: 1;
}

.surg-rules-list {
    padding-left: 18px;
    margin: 0;
    color: var(--surg-text-main);
}

.surg-rules-list li {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 13px;
}

.surg-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-top: 15px;
}

.btn-action {
    background: linear-gradient(180deg, #fffdf8 0%, #ffecc7 100%);
    border: 1px solid var(--surg-accent);
    border-radius: 10px;
    padding: 5px;
    text-align: center;
    color: var(--surg-primary);
    font-weight: 800;
    font-size: 10.5px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1 1 70px;
    max-width: 85px;
    box-shadow: 0 3px 0 var(--surg-border);
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn-action:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 var(--surg-border);
}

.btn-action img {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.btn-action .price {
    background: #fff8e1;
    padding: 1px 4px;
    border-radius: 6px;
    font-size: 9px;
    color: #d35400;
    border: 1px solid #fbe7b3;
    display: flex;
    align-items: center;
    gap: 2px;
}

.btn-action .price img {
    width: 9px;
    height: 9px;
}

.target-players {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
    margin-top: 3px;
    width: 100%;
}

.target-btn {
    background: #e6c888;
    color: #fff;
    font-size: 9px;
    padding: 2px 4px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.team-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    width: 100%;
    align-items: flex-start;
}

.team-member {
    background: #fff;
    border: 1px solid var(--surg-border);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex: 0 0 auto;
    max-width: 95%;
    box-sizing: border-box;
}

.team-member.leader {
    border-color: #1dd1a1;
    background: #f0fff4;
    color: #006611;
}

.surg-logs {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

.surg-logs::-webkit-scrollbar {
    width: 4px;
}

.surg-logs::-webkit-scrollbar-thumb {
    background: var(--surg-border);
    border-radius: 10px;
}

.log-item {
    background: #fff;
    border-radius: 10px;
    padding: 4px 5px;
    margin-bottom: 6px;
    border-left: 4px solid var(--surg-accent);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    font-size: 13px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.log-type-score {
    border-left-color: #10ac84;
    background: #f4fdfa;
}

.log-type-action {
    border-left-color: #f09819;
}

.log-type-stage {
    border-left-color: #6a11cb;
    font-weight: bold;
    background: #faf5ff;
}

.log-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.log-time {
    font-size: 10.5px;
    color: #95a5a6;
    margin-left: auto;
    white-space: nowrap;
}

.timer-box {
    text-align: center;
    background: #fff8e1;
    border: 2px dashed #fbdc99;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 13.5px;
    color: #d35400;
}

/* ==================== SECTION: 9may.css ==================== */

    .may9-container { max-width: 800px; margin: 0 auto; background: #2b3a2a; color: #e4e4e4; padding: 10px; font-family: Tahoma, sans-serif; box-sizing: border-box;}
    .alert { padding: 10px; border-radius: 5px; margin-bottom: 15px; text-align:center; font-weight: bold; }
    .success { background: #3c763d; color: #fff; }
    .error { background: #a94442; color: #fff; }
    .tab-menu { display: flex; justify-content: center; gap: 10px; margin-bottom: 10px; padding-bottom: 10px; flex-wrap: wrap; }
    .btn { display: inline-block; padding: 8px 12px; background: #ff9900; color: #000; text-decoration: none; border-radius: 4px; font-weight: bold; margin-top: 5px; cursor: pointer; border:none; text-align: center; }
    .btn:hover { background: #cc7a00; }
    .btn-green { background: #4caf50; color: #fff; }
    .btn-green:hover { background: #388e3c; }

    .info-box { background: #1f2a1f; padding: 20px; border-radius: 8px; line-height: 1.6; border: 1px solid #5a705a; }
    .info-title { color: #ffcc00; text-align: center; margin-top: 0; font-size: 22px; }
    .info-timer-box { background: rgba(0,0,0,0.4); border-radius: 6px; padding: 10px; text-align: center; color: #ff6666; font-weight: bold; font-size: 16px; margin: 15px 0; border: 1px dashed #ff6666;}
    .info-prize-section { margin-top: 20px; }
    .info-prize-title { color: #a9dfbf; border-bottom: 1px solid #5a705a; padding-bottom: 5px; margin-bottom: 10px; font-size: 18px; }
    .info-list { list-style: none; padding: 0; margin: 0 0 20px 0; }
    .info-list li { margin-bottom: 8px; padding-left: 10px; position: relative; }
    .info-list li b { color: #00e676; }

    .car-box { position: relative; background: #1f2a1f; border-radius: 8px; border: 1px solid #5a705a; display: flex; align-items: center; overflow: hidden; min-height: 160px; margin-bottom: 20px; width: 100%; box-sizing: border-box; }
    .car-img { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-size: cover; background-position: left center; z-index: 1; }
    .car-gradient { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: linear-gradient(to right, transparent 0%, rgba(31,42,31,0.6) 40%, #1f2a1f 90%); z-index: 2; }
    .car-content { position: relative; z-index: 3; width: 65%; margin-left: auto; padding: 15px; text-align: right; box-sizing: border-box; }
    .car-content h3 { margin-top: 0; color: #ffcc00; font-size: 18px; margin-bottom: 5px; text-shadow: 1px 1px 2px #000; }
    .car-content p { color: #e4e4e4; font-size: 14px; margin-bottom: 10px; line-height: 1.4; text-shadow: 1px 1px 2px #000; }

    .tent-section { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; box-sizing: border-box; }
    .bed-card { position: relative; width: 100%; min-height: 220px; border-radius: 8px; border: 2px solid #5a705a; box-sizing: border-box; background-size: cover; background-position: center; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
    .bed-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, transparent 0%, transparent 40%, rgba(0,0,0,0.9) 100%); z-index: 1; }
    .bed-content-wrapper { position: relative; z-index: 2; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 10px; }
    .bed-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
    .bed-info-left { text-align: left; }
    .bed-info-right { text-align: right; }
    .bed-no { font-size: 12px; color: #ccc; margin-bottom: 2px; }
    .bed-disease-name { font-size: 15px; font-weight: bold; color: #ff6666; }
    .bed-med-label { font-size: 12px; color: #ccc; margin-bottom: 2px; }
    .bed-med-name { font-size: 14px; font-weight: bold; color: #a9dfbf; }
    .bed-action { text-align: center; }
    .bed-timer-box { background: rgba(0, 0, 0, 0.5); display: inline-block; padding: 6px 15px; border-radius: 5px; font-size: 14px; border: 1px solid #4caf50; }


    .reytinq-table { width: 100%; font-size: 14px; text-align: left; border-collapse: collapse; }
    .reytinq-table th { padding: 8px; border-bottom: 1px solid #4a5c4a; }
    .reytinq-table td { padding: 8px; border-bottom: 1px dashed #3a4d3a; }
    .reytinq-table tr:last-child td { border-bottom: none; }
    .pagination { margin-top: 15px; text-align: center; padding-bottom:10px; }
    .pagination a { display: inline-block; padding: 5px 10px; background: #3a4d3a; color: #ffcc00; text-decoration: none; border-radius: 4px; margin: 0 2px; }
    .pagination a:hover { background: #4a5c4a; }


    @media (max-width: 600px) {
        .may9-container { padding: 10px; }
        .car-box { min-height: 140px; }
        .car-gradient { background: linear-gradient(to right, transparent 0%, rgba(31,42,31,0.8) 35%, #1f2a1f 85%); }
        .car-content { width: 85%; padding: 10px; }
        .car-content h3 { font-size: 16px; }
        .car-content p { font-size: 12px; margin-bottom: 8px;}
        .btn { font-size: 12px; padding: 6px 10px; }
        .bed-card { min-height: 190px; }
        .bed-content-wrapper { padding: 8px; }
        .bed-info { flex-direction: column; align-items: flex-start; gap: 5px; margin-bottom: 6px;} 
        .bed-info-right { text-align: left; }
        .bed-disease-name { font-size: 13px; }
        .bed-med-name { font-size: 12px; }
        .bed-timer-box { font-size: 12px; padding: 4px 10px; }
    }

/* ==================== SECTION: admin.css ==================== */

    /* Ümumi Şablon Dizaynı */
    .admin-container {
        padding: 10px;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Tab Düymələri */
    .tab-header {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
        padding-bottom: 5px;
    }

    .tab-btn {
        background: #fff;
        border: 2px solid #bdc3c7;
        color: #7f8c8d;
        padding: 12px 25px;
        border-radius: 8px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
        font-size: 15px;
        outline: none;
    }

    .tab-btn:hover {
        background: #ecf0f1;
        color: #2c3e50;
    }

    .tab-btn.active {
        background: #3498db;
        border-color: #3498db;
        color: #fff;
        box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    }

    /* Tab Məzmunu */
    .tab-content {
        display: none;
        animation: fadeIn 0.3s ease-in-out;
    }

    .tab-content.active {
        display: block;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(5px);
        }

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

    /* Bölmələr Qridi (Menyular) */
    .menu-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .menu-card {
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        overflow: hidden;
        border: 1px solid #e0e6ed;
    }

    .menu-card-header {
        background: #2c3e50;
        color: #fff;
        padding: 15px;
        font-weight: bold;
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .menu-list li {
        border-bottom: 1px solid #f0f0f0;
    }

    .menu-list li:last-child {
        border-bottom: none;
    }

    .menu-list li a {
        display: block;
        padding: 12px 15px;
        color: #34495e;
        text-decoration: none;
        transition: 0.2s;
        font-size: 14px;
    }

    .menu-list li a:hover {
        background: #f9fbfb;
        color: #3498db;
        padding-left: 20px;
    }

    /* Statistika Qridi */
    .stats-section-title {
        color: #555;
        font-size: 16px;
        margin: 25px 0 15px 0;
        border-bottom: 1px dashed #ccc;
        padding-bottom: 8px;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    .stat-card {
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        border-left: 5px solid #bdc3c7;
        transition: transform 0.2s;
    }

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }

    .stat-card h4 {
        margin: 0 0 10px 0;
        font-size: 13px;
        color: #7f8c8d;
        text-transform: uppercase;
    }

    .stat-card .value {
        font-size: 24px;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 5px;
    }

    .stat-card .sub-info {
        font-size: 12px;
        color: #95a5a6;
        display: flex;
        justify-content: space-between;
        border-top: 1px dashed #eee;
        padding-top: 8px;
        margin-top: 8px;
    }

    .border-blue {
        border-left-color: #3498db;
    }

    .border-green {
        border-left-color: #2ecc71;
    }

    .border-purple {
        border-left-color: #9b59b6;
    }

    .border-orange {
        border-left-color: #e67e22;
    }

    .border-red {
        border-left-color: #e74c3c;
    }

    .border-gold {
        border-left-color: #f1c40f;
    }

    .border-diamond {
        border-left-color: #00bcd4;
    }

    @media (max-width: 600px) {
        .tab-btn {
            flex: 1;
            text-align: center;
            font-size: 13px;
            padding: 10px;
        }
    }


                /* BÜTÜN FORM VƏ DÜYMƏLƏR ÜÇÜN QLOBAL SİNİFLƏR (Əsas CSS-ə daşıya bilərsiniz) */
                .card-body {
                    padding: 20px;
                }
        
                .form-control {
                    width: 100%;
                    padding: 10px 15px;
                    border: 1px solid #bdc3c7;
                    border-radius: 6px;
                    font-size: 14px;
                    margin-top: 5px;
                    margin-bottom: 10px;
                    box-sizing: border-box;
                    outline: none;
                    transition: border-color 0.3s;
                    font-family: inherit;
                }
        
                .form-control:focus {
                    border-color: #3498db;
                }
        
                .btn-submit {
                    background: #3498db;
                    color: #fff;
                    border: none;
                    padding: 10px 20px;
                    font-size: 14px;
                    font-weight: bold;
                    border-radius: 6px;
                    cursor: pointer;
                    transition: 0.3s;
                    display: inline-block;
                    text-align: center;
                }
        
                .btn-submit:hover {
                    background: #2980b9;
                }
        
                .btn-success {
                    background: #2ecc71;
                }
        
                .btn-success:hover {
                    background: #27ae60;
                }
        
                .btn-danger {
                    background: #e74c3c;
                }
        
                .btn-danger:hover {
                    background: #c0392b;
                }
        
                .status-badge {
                    display: inline-block;
                    padding: 5px 10px;
                    border-radius: 4px;
                    font-size: 12px;
                    font-weight: bold;
                }
        
                .status-active {
                    background: #e8f8f5;
                    color: #1abc9c;
                    border: 1px solid #1abc9c;
                }
        
                .status-deactive {
                    background: #fdedec;
                    color: #e74c3c;
                    border: 1px solid #e74c3c;
                }
        
                .alert-info {
                    background: #fcf3cf;
                    border-left: 4px solid #f1c40f;
                    padding: 12px;
                    margin-bottom: 20px;
                    font-size: 13px;
                    color: #7f8c8d;
                    border-radius: 4px;
                }
/* ==================== SECTION: UHEAD HEADER & SIDEBAR STYLES ==================== */
html, body { -ms-overflow-style: none; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
body.menu-open { overflow: hidden; }

/* ÜST PANEL ÜÇÜN QORUYUCU ÇƏRÇİVƏ */
#stickyHeaderContainer { position: sticky; top: 0; width: 100%; z-index: 9999; }

/* Üst Panel (Header) */
.top-nav { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; height: 46px; background: linear-gradient(180deg, #fff2da 0%, #ffdf9f 100%); border-bottom: 2px solid #ff9b3a; border-radius: 0 0 14px 14px; box-shadow: 0 2px 6px rgba(255, 155, 58, 0.25); box-sizing: border-box; width: 100%; }
.nav-left { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.nav-right { display: flex; align-items: center; gap: 6px; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; max-width: calc(100% - 110px); padding: 2px 0; }
.nav-right::-webkit-scrollbar { display: none; }

/* X Düyməsinin Animasiyası */
.menu-toggle { width: 26px; height: 20px; position: relative; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; z-index: 10001; }
.menu-toggle span { display: block; height: 3px; width: 100%; background: #862219; border-radius: 3px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); transform-origin: center; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); background: #c73522; }
.menu-toggle.active span:nth-child(2) { transform: scaleX(0); opacity: 0; } 
.menu-toggle.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); background: #c73522; }

/* İkon Düymələri - Hamısı Kvadrat (border-radius: 8px) */
.nav-action-btn, .icon-btn, .live-section-btn { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; background: #fff8e1; border-radius: 8px; border: 1px solid #fbdc99; box-shadow: 0 1px 3px rgba(0,0,0,0.06); text-decoration: none; transition: all 0.2s; position: relative; flex-shrink: 0; }
.nav-action-btn:active, .icon-btn:active, .live-section-btn:active { transform: scale(0.92); background: #ffecc7; }

/* Bildiriş Sayı - Kvadratın sağ üst küncünə inteqrasiya olunmuş */
.badge-count { position: absolute; top: -1px; right: -1px; background: linear-gradient(135deg, #ff3b30 0%, #d32f2f 100%); color: #fff; font-size: 10px; font-weight: 900; padding: 0 4px; border-radius: 0 8px 0 6px; min-width: 14px; height: 14px; line-height: 14px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.4); border-left: 1px solid rgba(255, 255, 255, 0.4); box-shadow: -1px 1px 3px rgba(0,0,0,0.2); box-sizing: border-box; display: inline-block; }
@keyframes pop { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
.badge-count.new { animation: pop 0.4s ease-out; }

/* Ekran ölçüsünə görə düymələrin və boşluqların avtomatik uyğunlaşdırılması */
@media (max-width: 420px) {
    .top-nav { padding: 0 6px; }
    .nav-left, .nav-right { gap: 4px; }
    .nav-right { max-width: calc(100% - 96px); }
    .nav-action-btn, .icon-btn, .live-section-btn { width: 30px; height: 30px; border-radius: 7px; }
    .nav-action-btn svg, .icon-btn svg, .live-section-btn img { width: 16px; height: 16px; }
    .badge-count { font-size: 9px; min-width: 13px; height: 13px; line-height: 13px; padding: 0 3px; }
}
@media (max-width: 340px) {
    .top-nav { padding: 0 4px; }
    .nav-left, .nav-right { gap: 3px; }
    .nav-right { max-width: calc(100% - 86px); }
    .nav-action-btn, .icon-btn, .live-section-btn { width: 28px; height: 28px; border-radius: 6px; }
    .nav-action-btn svg, .icon-btn svg, .live-section-btn img { width: 15px; height: 15px; }
}

/* DAŞMANI QARŞISINI ALAN SƏRHƏD */
#sidebarWrapper { position: fixed; left: 50%; transform: translateX(-50%); width: 100%; max-width: 640px; overflow: hidden; pointer-events: none; z-index: 10000; box-sizing: border-box; }
#sidebarWrapper.active { pointer-events: auto; }

/* BLUR EFEKTİ */
#sidebarOverlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30, 20, 10, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: all 0.3s ease; }
#sidebarWrapper.active #sidebarOverlay { opacity: 1; visibility: visible; }

/* AÇILAN YAN MENYU */
#sidebarMenu { position: absolute; top: 0; bottom: 0; left: -100%; width: 75%; max-width: 290px; height: 100%; max-height: 100%; overflow: hidden; background-color: #fff4dd; border: none; border-radius: 20px 24px 24px 0; display: flex; flex-direction: column; transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-sizing: border-box; }
#sidebarWrapper.active #sidebarMenu { left: 0; box-shadow: 5px 0 20px rgba(0,0,0,0.4); }

/* Profil hissəsi */
.side-profile { padding: 12px 14px; background: linear-gradient(135deg, #0084de 0%, #00d4ff 100%); position: relative; overflow: hidden; color: #fff; flex-shrink: 0; border-radius: 20px 24px 0 0; box-sizing: border-box; }
.side-profile::after { content: ""; position: absolute; top: -50%; right: -20%; width: 120px; height: 120px; background: rgba(255,255,255,0.15); border-radius: 50%; }
.profile-info-wrapper { display: flex; align-items: center; text-align: left; position: relative; z-index: 2; }
.profile-info-wrapper .avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-right: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.profile-texts { display: flex; flex-direction: column; }
.profile-texts .nick { font-size: 15px; font-weight: bold; margin: 0; text-shadow: 0 1px 2px rgba(0,0,0,0.4); color: #fff; text-decoration: none; }
.profile-texts .nick:active { color: #fbd792; }
.profile-texts .user-id { font-size: 12px; margin: 2px 0 0 0; color: #fffadb; font-weight: bold; }

/* Panel daxilindəki balans */
.side-balances { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; background: rgba(255, 255, 255, 0.15); padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.3); position: relative; z-index: 2; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.side-balances span { color: #fff; font-weight: bold; font-size: 13px; text-shadow: 0 1px 2px rgba(0,0,0,0.4); display: flex; align-items: center; gap: 8px; }

/* Menyu Linkləri */
.side-menu { padding: 4px 0; flex: 1 1 0%; min-height: 0; overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; box-sizing: border-box; }
.side-menu::-webkit-scrollbar { display: none; }
.side-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 18px; color: #5c4014; text-decoration: none; font-size: 14px; font-weight: bold; transition: background 0.2s; }
.side-menu a:active { background: #fbd792; color: #d35400; }
.side-menu .gap { border-top: 1px dashed #e4cf9e; margin: 4px 15px; height: 1px; }

/* Menyu Alt (Footer) */
.side-footer { padding: 8px 14px; background: #F2E0BD; text-align: center; font-size: 11px; color: #8c6e3b; border-top: 1px dashed #dca963; flex-shrink: 0; border-radius: 0 0 24px 0; display: flex; flex-direction: column; gap: 4px; box-sizing: border-box; }
.side-footer .footer-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: bold; text-decoration: none; transition: 0.2s; }
.side-footer .admin-btn { background: #ffe3df; color: #c73522; border: 1px solid #f2b3ab; }
.side-footer .exit-btn { background: #fce3e1; color: #852317; border: 1px solid #e8b0ac; }
.side-footer .footer-gap { border-top: 1px dashed #dca963; margin: 3px 0; height: 1px; }
.side-footer .time { font-weight: bold; font-size: 13px; color: #b73e2e; }
.side-footer .speed-text { font-size: 11px; color: #8c6e3b; }

/* Modern Kartlar */
.modern-card { background-color: #ffecc7; border-radius: 12px; border: 2px solid #ffaa97; padding: 15px; margin: 10px 5px; box-shadow: inset 0 0 6px 0 rgba(255, 182, 49, 1); text-align: center; }
.modern-card.warning { background-color: #fff0d1; border-color: #ff9b3a; }
.modern-card.primary { background-color: #eaf4fc; border-color: #b6d4fe; box-shadow: inset 0 0 6px 0 rgba(182, 212, 254, 1); }
.modern-card.gift { background-color: #fffdf8; border-color: #fbdc99; box-shadow: 0 8px 0 #e6c888, inset 0 0 6px 0 rgba(255, 182, 49, 1); }

.modern-btn { display: inline-block; padding: 8px 16px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: bold; transition: 0.2s; border-style: solid; border-width: 1px; }
.modern-btn.green { background-color: #1d992c; border-color: #114a17; color: #fff; }
.modern-btn.green:active { background-color: #22b333; transform: scale(0.95); }
.modern-btn.red { background-color: #dd3b25; border-color: #852317; color: #fff; }
.modern-btn.red:active { background-color: #f7422a; transform: scale(0.95); }

/* ==================== Ban Sistemi Rəngləri və Üslubları ==================== */
.ipbanned-user-link, a.ipbanned-user-link, span.ipbanned-user-link {
    color: #000000 !important;
    text-decoration: line-through !important;
    font-weight: 800 !important;
    opacity: 0.85;
}
.banned-user-link, a.banned-user-link, span.banned-user-link {
    color: #888888 !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   USER LIST CARDS (İstifadəçi, Onlayn və Admin siyahısı üçün bloklar)
   ========================================================================== */
.user-list-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    margin-bottom: 4px;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    position: relative;
    box-sizing: border-box;
}
.user-list-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

/* Rütbə / VIP ierarxiyasına və Nik rənglərinə uyğun yan xəttlər */
.ulc-admin {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%);
    border: 1px solid #f8b4b4;
    border-left: 4px solid #26285b;
}
.ulc-moderator {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-left: 4px solid #4A0082;
}
.ulc-vip {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-left: 4px solid #862219;
}
.ulc-normal {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #cbd5e1;
}

/* Sol və Orta hissə */
.ulc-left-middle {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.ulc-avatar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ulc-avatar img {
    max-width: 30px;
    max-height: 30px;
}
.ulc-divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}
.ulc-info {
    flex: 1;
    min-width: 0;
}
.ulc-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.ulc-name-row a {
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}
.ulc-subinfo {
    font-size: 11px;
    color: #64748b;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Sağ hissə */
.ulc-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: 8px;
}
.ulc-metric {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13.5px;
    font-weight: 800;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.ulc-msg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #0284c7;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    transition: all 0.2s;
    font-size: 14px;
}
.ulc-msg-btn:hover {
    background: #0369a1;
    transform: scale(1.05);
}

/* Reytinq Səhifəsi Üst Tablar */
.rating-top-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 4px 12px 4px;
    margin-bottom: 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.rating-top-tabs::-webkit-scrollbar {
    display: none;
}
.rating-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    text-decoration: none;
}
.rating-tab-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}
.rating-tab-btn.active {
    background: linear-gradient(135deg, #b73e2e, #d9534f);
    color: #ffffff;
    border-color: #a03122;
    box-shadow: 0 4px 10px rgba(183, 62, 46, 0.25);
}

/* Reusable Pill Tabs (Segmented Control) */
.pill-tabs {
    display: inline-flex;
    background: rgba(0,0,0,0.05);
    border-radius: 24px;
    padding: 4px;
    margin: 10px 0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.pill-tab {
    text-decoration: none !important;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 20px;
    transition: all 0.3s ease;
    color: #666;
    background: transparent;
}
.pill-tab.active {
    color: #fff !important;
    background: #4CAF50 !important;
    box-shadow: 0 2px 8px rgba(76,175,80,0.4);
}
.pill-tab:hover:not(.active) {
    background: rgba(0,0,0,0.05);
    color: #333;
}
