@font-face {
    font-family: 'BTitr';
    src: url('/BTitr.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'BTitr';
    src: url('/BTitrBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'BTitr', 'AGoogle', Tahoma;
    font-size: 14px;
    margin: 0;
    background: blanchedalmond url('/theme/images/chat/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    border-top: solid 5px #C9A84C;
    direction: rtl;
    min-height: 100vh;
}

html {
    height: 100%;
}

*:focus {
    outline: none;
}

a {
    text-decoration: none;
    color: #C9A84C;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


.jonob-container {
    width: 750px;
    height: auto;
    margin: auto;
    border: dashed 2px rgba(201, 168, 76, 0.3);
    padding: 5px;
    display: table;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(2px);
}


.jonob-message {
    display: block;
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #1a1208, #2a1f0a);
    margin-bottom: 10px;
    text-align: right;
    color: #F5E6C8;
    font-size: 16px;
    line-height: 50px;
    font-family: 'BTitr', AGoogle, Yekan;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 0 15px;
    box-sizing: border-box;
    border: 1px solid rgba(201, 168, 76, 0.2);
}
.jonob-message i {
    margin-left: 10px;
    font-size: 20px;
    vertical-align: middle;
    color: #D4AF37;
}


.jonob-image {
    background: url('/theme/images/chat/0761b9bd205d2bc14a96c4f4a2fb831f.png') no-repeat center center;
    background-size: contain;
    width: 450px;
    height: 393px;
    float: left;
}

.jonob-login-box {
    display: block;
    margin-bottom: 15px;
}
.jonob-login-title {
    color: #F5E6C8;
    background: linear-gradient(135deg, #8B7A3A, #C9A84C);
    display: block;
    width: 100%;
    font-family: 'BTitr', AGoogle, Tahoma;
    line-height: 48px;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
    height: 48px;
    border-radius: 8px 8px 0 0;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
    padding: 0 15px;
    box-sizing: border-box;
}
.jonob-login-title i {
    margin-left: 10px;
    font-size: 18px;
    color: #FFD700;
}

.jonob-form-container {
    position: relative;
    margin: 0 auto;
    text-align: center;
    padding: 20px 15px;
    border-radius: 0 0 12px 12px;
    width: 100%;
    box-sizing: border-box;
}

.jonob-select {
    background: rgba(255, 255, 255, 0.95);
    width: 220px;
    height: 42px;
    border-radius: 8px;
    border: 2px solid #C9A84C;
    padding: 0 15px;
    font-size: 13px;
    text-align: right;
    font-family: 'BTitr', tahoma;
    color: #333;
    direction: rtl;
    cursor: pointer;
    margin: 8px auto;
    display: block;
    transition: all 0.3s ease;
}
.jonob-select:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.3);
}

.jonob-input,
.jonob-input-pass {
    background: rgba(255, 255, 255, 0.95);
    width: 220px;
    height: 42px;
    border-radius: 8px;
    border: 2px solid #C9A84C;
    padding: 0 15px;
    font-size: 13px;
    text-align: right;
    font-family: 'BTitr', tahoma;
    color: #333;
    direction: rtl;
    margin: 8px auto;
    display: block;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
.jonob-input:focus,
.jonob-input-pass:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.3);
}

.jonob-btn {
    cursor: pointer;
    background: linear-gradient(135deg, #8B7A3A, #C9A84C);
    border: 2px solid #D4AF37;
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
    font-family: 'BTitr', Yekan, tahoma;
    color: #fff;
    font-size: 15px;
    height: 44px;
    border-radius: 8px;
    padding: 0 30px;
    margin-top: 15px;
    transition: all 0.3s ease-in;
    font-weight: bold;
    width: auto;
    min-width: 200px;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}
.jonob-btn:hover {
    background: linear-gradient(135deg, #A08A4A, #D4AF37);
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.4);
}

hr.jonob-line {
    clear: both;
}


.jonob-links a {
    display: inherit;
    border-top: solid 6px rgba(201, 168, 76, 0.4);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 4px;
    padding: 0 5px;
    border-right: solid 4px rgba(201, 168, 76, 0.2);
    color: #C9A84C;
    font-family: 'BTitr', Tahoma;
    transition: all 0.2s ease-in;
}
.jonob-links a:hover {
    border-right: solid 6px #D4AF37;
    color: #FFD700;
}

.jonob-desktop-nav {
    width: 760px;
    height: 25px;
    margin: 5px auto;
    padding: 2px 5px;
}
.jonob-desktop-nav ul li {
    display: inline-flex;
    margin: 0;
    padding: 0 11px;
    border-left: dashed 1px rgba(201, 168, 76, 0.2);
    font-size: 13px;
    line-height: 20px;
    background: burlywood;
}
.jonob-desktop-nav ul li a {
    color: #1C1308;
    font-family: 'BTitr', Tahoma;
    transition: color 0.3s ease;
}
.jonob-desktop-nav ul li a:hover {
    color: #D4AF37;
}
.jonob-desktop-nav ul li:last-child {
    border-left: none;
}

.jonob-online-count {
    color: #F5E6C8;
    line-height: 20px;
    font-size: 13px;
    float: left;
    font-family: 'BTitr', Tahoma;
}


.jonob-footer {
    background: linear-gradient(135deg, #1a1208, #2a1f0a);
    clear: both;
    width: 760px;
    margin: 5px auto;
    padding: 10px 5px;
    margin-top: 4px;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    text-align: center;
}
.jonob-copyright {
    color: #C9A84C;
    font-size: 14px;
    margin-bottom: 10px;
    font-family: 'BTitr', Tahoma;
}


.jonob-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 5px;
}
.jonob-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.1);
    border: 2px solid rgba(201, 168, 76, 0.3);
    color: #C9A84C;
    font-size: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}
.jonob-social a:hover {
    background: #C9A84C;
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(201, 168, 76, 0.3);
}
.jonob-social a .social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: all 0.3s ease;
}
.jonob-social a:hover .social-icon {
    filter: brightness(1) invert(1);
}
.jonob-social a .social-label {
    display: none;
}
.jonob-social a:hover .social-label {
    display: inline;
}

.clear {
    clear: both;
}


.jonob-mobile-nav {
    display: none;
}


@media screen and (max-width: 780px) {
    .jonob-container {
        width: 95%;
        margin-top: 20px;
        padding: 10px;
        flex-direction: column;
        backdrop-filter: blur(5px);
    }

    .jonob-mobile-nav {
        display: block;
        order: 3;
        width: 100%;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 10px;
        margin: 10px 0;
        padding: 10px 5px;
        text-align: center;
        border: 1px solid rgba(201, 168, 76, 0.2);
    }
    .jonob-mobile-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .jonob-mobile-nav ul li {
        display: inline-block;
        margin: 3px 0;
        padding: 0;
    }
    .jonob-mobile-nav ul li a {
        color: #F5E6C8;
        font-size: 12px;
        padding: 5px 14px;
        background: rgba(201, 168, 76, 0.1);
        border-radius: 25px;
        display: inline-block;
        border: 1px solid rgba(201, 168, 76, 0.2);
        font-family: 'BTitr', Tahoma;
        transition: all 0.3s ease;
    }
    .jonob-mobile-nav ul li a:hover {
        background: #C9A84C;
        color: #0a0a0a;
        border-color: #D4AF37;
    }

    .jonob-message {
        width: 100%;
        text-align: center;
        height: auto;
        padding: 0 15px;
        line-height: 50px;
        order: 1;
        border-radius: 8px;
    }

    .jonob-image {
        width: 100%;
        float: none;
        display: block;
        margin: 10px auto;
        background-size: contain;
        background-position: center;
        height: auto;
        aspect-ratio: 450/393;
        order: 2;
    }

    .jonob-login-box {
        width: 100%;
        float: none;
        margin-top: 5px;
        order: 4;
    }
    .jonob-login-title {
        width: 100%;
        border-radius: 8px 8px 0 0;
    }

    .jonob-form-container {
        width: 100%;
        padding: 20px 10px;
        order: 5;
    }

    .jonob-input,
    .jonob-input-pass,
    .jonob-select {
        width: 90%;
        max-width: 280px;
    }

    .jonob-btn {
        width: auto;
        min-width: 180px;
    }

    .jonob-desktop-nav {
        display: none;
    }

    .jonob-footer {
        width: 95%;
        height: auto;
        text-align: center;
        padding: 15px 10px;
        order: 6;
    }
    .jonob-copyright {
        float: none;
        text-align: center;
        right: 0;
        margin: 5px 0;
    }
    .jonob-social {
        gap: 15px;
    }
    .jonob-social a {
        width: 35px;
        height: 35px;
        font-size: 17px;
    }

    hr.jonob-line {
        width: 90%;
        margin: 20px auto;
    }
}

@media screen and (max-width: 480px) {
    .jonob-message {
        font-size: 12px;
        line-height: 45px;
    }
    .jonob-login-title {
        font-size: 13px;
        line-height: 44px;
        height: 44px;
    }
    .jonob-input,
    .jonob-input-pass,
    .jonob-select,
    .jonob-btn {
        width: 95%;
        font-size: 12px;
    }
    .jonob-mobile-nav ul li a {
        font-size: 11px;
        padding: 4px 12px;
    }
    .jonob-copyright {
        font-size: 10px;
    }
    .jonob-social a {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}
@media screen and (max-width: 780px) {
    body {
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }
}
.hide {color: #F5E6C8;}
#lay_hide {color: #F5E6C8;}
.jonob-message,
.jonob-login-title,
.jonob-btn,
.jonob-copyright,
.jonob-desktop-nav ul li a,
.jonob-mobile-nav ul li a,
.jonob-links a,
.jonob-online-count,
.jonob-input,
.jonob-input-pass,
.jonob-select {font-family: 'BTitr', Tahoma, Arial;}
.aligen-center{display:none}.liner{text-align:center}