:root {
    --primary-color: #1F2631;
    --accent-color: #0098ff;
    --text-color: #444444;
    --light-text: #e5e7ea;
    --background: rgb(237, 241, 245);
    --card-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    --transition: all .3s ease;
    --text-light: #ffffff;
    --primary-bg: #24262A;
    --card-bg: rgba(31, 38, 49, .8);
    --accent: #0098ff;
    --shadow: 0 4px 8px rgba(0, 0, 0, .2)
}

@font-face {
    font-family: abc_persian_font;
    src: url('../fonts/BKoodkBd.ttf') format("truetype")
}

@font-face {
    font-family: IRANSans;
    src: url('../fonts/IRANSansWeb_Light.woff') format('woff')
}

* {
    font-family: IRANSans, tahoma !important;
    direction: rtl
}

.padding {
    padding: 5px 20px 15px 20px
}

.overflow {
    overflow: hidden
}

.noaccess_fn {
    margin: 6rem auto;
    width: max-content !important;
    direction: rtl
}

.noaccess_fn .main_box {
    background: white;
    -moz-box-shadow: 0 0 8px #777;
    -webkit-box-shadow: 0 0 8px #777;
    box-shadow: 0 0 8px #777;
    border: 1px solid #aaa;
    border-radius: 7px 10px 7px 7px;
    -moz-border-radius: 7px 10px 7px 7px;
    -webkit-border-radius: 7px 10px 7px 7px;
    overflow: hidden;
    position: relative
}

.noaccess_fn .main_title {
    font-weight: bold;
    -moz-box-shadow: 0 0 2px rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, .5);
    box-shadow: 0 0 2px rgba(0, 0, 0, .5);
    margin: 0 0 10px 20px;
    line-height: 16px;
    padding: 6px 15px;
    width: 430px;
    border-radius: 0 7px 0 7px;
    -moz-border-radius: 0 7px 0 7px;
    -webkit-border-radius: 0 7px 0 7px;
    cursor: default;
    background: #858585;
    color: white
}

.noaccess_error {
    margin: 0 20px 20px 20px;
    overflow: hidden
}

.noaccess_error img {
    float: right;
    width: 263px;
    height: 300px
}

.noaccess_error ul {
    margin: 5px 30px
}

.noaccess_error ul li {
    line-height: 20px;
    list-style: square
}

.noaccess_error p {
    margin: 50px 50px 0 0
}

.noaccess_error p a {
    font-weight: bold;
    color: #2a00f1
}

.noaccess_error .nae_body {
    float: right;
    width: auto;
    margin-top: 50px
}

.nae_body>* {
    margin: auto;
    font: normal 12px tahoma;
    text-align: right
}

#loginbox {
    background: none repeat scroll 0 0 #fff;
    border: 1px solid #919191;
    padding: 20px 30px 15px 30px;
    width: 340px;
    cursor: default;
    overflow: hidden
}

#loginbox .title {
    float: right;
    padding-right: 20px;
    margin: 0;
    font: bold 14px tahoma
}

#loginbox .form {
    float: right;
    padding: 10px 20px;
    width: 220px
}

#loginbox .a {
    float: right;
    padding: 15px 10px 0 0;
    display: inline
}

#loginbox .input {
    display: inline-block;
    border: 1px solid #919191;
    padding: 3px 8px;
    margin: 2px 0;
    width: 200px
}

#loginbox .button {
    float: left;
    margin: 10px 0 0 10px
}

#loginbox .img {
    float: right;
    width: 62px;
    height: 124px;
    background: url("../../images/login.png") no-repeat scroll left top transparent
}

#loginbox .security {
    float: right;
    width: 100%;
    padding: 10px 3px 0 0
}

#loginbox .security p {
    margin-top: 5px;
    display: inline-block;
}

#loginbox .security .input {
    display: inline-block;
    border: 1px solid #919191;
    padding: 3px 8px;
    margin: 2px 4px 0;
    text-align: center;
    width: 35px
}

.m-box-text a {
    margin: 0 !important
}

.m-box-text li {
    width: 100%
}

.m-body .m-box {
    width: 98% !important
}

.ui_tools-dialog {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .25);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center
}

.ui_tools-dialog[style*="display:flex"] {
    display: flex !important
}

.dialog-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
    padding: 24px 20px 18px 20px;
    min-width: 320px;
    max-width: 95vw;
    position: relative
}

.dialog-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #283f4f
}

.dialog-body {
    margin-bottom: 18px
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px
}

.primary-button,
.secondary-button,
.blue-button,
.red-button {
    padding: 5px 18px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 15px
}

.primary-button,
.primary-button a {
    background: #32cc36;
    color: #fff
}

.primary-button:hover {
    background: #3dce96;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1)
}

.secondary-button {
    background: #eee;
    color: #444
}

.secondary-button:hover {
    background: #cbcecd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1)
}

.blue-button,
.blue-button a {
    background: #2196F3;
    color: white
}

.blue-button:hover,
.blue-button a:hover {
    background: #3f8ac7;
    color: white
}

.red-button,
.red-button a {
    background: #910941;
    color: white
}

.red-button:hover {
    background: #b90e56;
    color: white
}

.fancy_button {
    display: inline-block;
    background-color: #fafafa;
    background: -moz-linear-gradient(top, #fafafa 0, #dcdcdc 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fafafa), color-stop(100%, #dcdcdc));
    background: -webkit-linear-gradient(top, #fafafa 0, #dcdcdc 100%);
    background: -o-linear-gradient(top, #fafafa 0, #dcdcdc 100%);
    background: -ms-linear-gradient(top, #fafafa 0, #dcdcdc 100%);
    background: linear-gradient(top, #fafafa 0, #dcdcdc 100%);
    filter: progid:dximagetransform.microsoft.gradient(startColorstr=#fafafa, endColorstr=#dcdcdc, GradientType=0);
    border: 1px solid #ddd;
    color: #555;
    text-shadow: 0 1px 0 #fff;
    padding: 3px 20px;
    cursor: pointer
}

.fancy_button:hover {
    background-color: #f0f0f0;
    background: -moz-linear-gradient(top, #f0f0f0 0, #e6e6e6 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f0f0f0), color-stop(100%, #e6e6e6));
    background: -webkit-linear-gradient(top, #f0f0f0 0, #e6e6e6 100%);
    background: -o-linear-gradient(top, #f0f0f0 0, #e6e6e6 100%);
    background: -ms-linear-gradient(top, #f0f0f0 0, #e6e6e6 100%);
    background: linear-gradient(top, #f0f0f0 0, #e6e6e6 100%);
    filter: progid:dximagetransform.microsoft.gradient(startColorstr=#fafafa, endColorstr=#dcdcdc, GradientType=0)
}

.fancy_button_active {
    background-color: #e6e6e6;
    background: -moz-linear-gradient(top, #e6e6e6 0, #dcdcdc 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #e6e6e6), color-stop(100%, #dcdcdc));
    background: -webkit-linear-gradient(top, #e6e6e6 0, #dcdcdc 100%);
    background: -o-linear-gradient(top, #e6e6e6 0, #dcdcdc 100%);
    background: -ms-linear-gradient(top, #e6e6e6 0, #dcdcdc 100%);
    background: linear-gradient(top, #e6e6e6 0, #dcdcdc 100%);
    filter: progid:dximagetransform.microsoft.gradient(startColorstr=#fafafa, endColorstr=#dcdcdc, GradientType=0);
    box-shadow: 0 1px 2px #aaa inset
}

.tool-button {
    position: relative;
    flex: auto;
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 9px 4px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all .2s;
    overflow: visible
}

.tool-button:hover {
    background: #e4e4e4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1)
}

.badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #e67e22;
    color: #fff;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 12px;
    vertical-align: middle;
    min-width: 22px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    font-weight: bold;
    pointer-events: none
}

.btn-dropdown {
    position: relative;
    
}

.btn-dropdown-toggle {
    cursor: pointer;
    padding: 6px 10px;
    /* Two sizes smaller */
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

.btn-dropdown-toggle.fancy-button:hover {
    background-color: #0056b3;
}

.btn-dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 150px;
    overflow-y: auto;
    padding: 10px;
    z-index: 1000;
    border-radius: 5px;
}

.btn-dropdown-menu label {
    display: block;
    margin-bottom: 5px;
    cursor: pointer;
}

.info-tattoo {
    display: inline-block;
    padding: 6px 22px;
    margin: 16px 0 0 0;
    background: repeating-linear-gradient(135deg, #f7f7f7, #f7f7f7 12px, #e2e2e2 12px, #e2e2e2 24px);
    border-radius: 22px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .09);
    letter-spacing: 1.2px;
    position: relative;
    opacity: .92;
    border: 1px solid #e0e0e0;
    transition: box-shadow .2s;
    text-align: center
}

.info-tattoo a {
    text-decoration: wavy;
    text-decoration-color: #ad9707fa;
    text-decoration-line: underline;
    font-weight: bold
}

.info-tattoo a:hover {
    text-decoration: wavy;
    text-decoration-color: #af6a02fa;
    text-decoration-line: underline;
    font-weight: bold;
    color: rgb(84, 0, 87)
}

.info-tattoo:before {
    color: #888;
    font-size: 14px;
    margin-right: 8px;
    font-family: tahoma, sans-serif;
    letter-spacing: 0
}

.message {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    animation: slideIn .3s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1)
}

.message.success {
    background: #E8F5E9;
    border: 1px solid #81C784
}

.message.error {
    background: #FFEBEE;
    border: 1px solid #E57373
}

.message-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 12px;
    font-weight: bold
}

.success .message-icon {
    background: #4CAF50;
    color: white
}

.error .message-icon {
    background: #F44336;
    color: white
}

.message-content {
    flex: 1
}

.message-title {
    font-weight: bold;
    margin-bottom: 4px
}

.message-text {
    color: #666;
    font-size: 13px
}

.message-close {
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    padding: 0 8px
}

.message-close:hover {
    color: #666
}

.ltr-input {
    direction: ltr !important;
    text-align: left !important;
    font-family: monospace, Tahoma, Arial, sans-serif
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

@media (max-width:480px) {
    .dialog-content {
        min-width: 90vw
    }
}

.unified-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(31, 38, 49, .95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    transition: transform .3s ease, background-color .3s ease;
    direction: rtl;
    padding: .5rem 0;
    transform: translateY(0)
}

.unified-header.hidden {
    transform: translateY(-100%)
}

.unified-header .container {
    max-width: max-content;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 0 1rem;
    justify-content: stretch
}

.unified-header .logo img {
    height: 40px;
    width: auto
}

.unified-header .search-form {
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 0 auto
}

.unified-header .search-form input {
    cursor: text;
    background: rgba(255, 255, 255, .1);
    color: white;
    border: 1px solid rgba(255, 255, 255, .2);
    outline: none;
    width: 100%
}

.unified-header .search-form input:focus {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .3)
}

.unified-header .search-form button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffffff;
    padding: 8px;
    cursor: pointer
}

.unified-header .nav-links {
    display: flex;
    gap: 1rem;
    align-items: center
}

.unified-header .nav-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 16px;
    transition: var(--transition);
    white-space: nowrap
}

.unified-header .nav-item:hover {
    background: rgba(255, 255, 255, .1)
}

.unified-header .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    padding: 8px;
    cursor: pointer
}

@media (max-width:768px) {
    .unified-header .container {
        grid-template-columns: auto 1fr auto;
        gap: .5rem
    }

    .unified-header .logo img {
        height: 32px
    }

    .unified-header .search-form {
        display: none
    }

    .unified-header .nav-links {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(31, 38, 49, .95);
        padding: 1rem;
        flex-direction: column;
        align-items: stretch
    }

    .unified-header .nav-links.active {
        display: flex
    }

    .unified-header .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        padding: 8px;
        cursor: pointer;
        font-size: 24px
    }

    .unified-header .menu-toggle:hover {
        background: rgba(255, 255, 255, .1);
        border-radius: 4px
    }

    .unified-header.search-active .search-form {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: .5rem 1rem;
        background: rgba(31, 38, 49, .95)
    }
}

.mobile-search-layout {
    padding: .5rem 1rem;
    background: rgba(31, 38, 49, .95);
    margin-bottom: 1rem
}

.mobile-search-layout .search-form {
    display: block;
    width: 100%
}

.main-footer {
    background: #1F2631;
    padding: 2rem 0;
    margin-top: 4rem
}

.main-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.main-footer .footer-nav {
    display: flex;
    gap: 2rem
}

.main-footer .footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: .9rem;
    transition: all .3s ease
}

.main-footer .footer-nav a:hover {
    color: #0098ff
}

.main-footer .footer-credit {
    color: #ffffff;
    font-size: .9rem
}

.main-footer .footer-credit a {
    color: #0098ff;
    text-decoration: none;
    margin-right: .5rem
}

.unified-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(31, 38, 49, .95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    transition: background-color .3s ease;
    padding: .5rem 0
}

.unified-header .container {
    max-width: max-content;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 0 1rem;
    justify-content: stretch
}

.livesearch-input {
    transition: box-shadow .2s ease
}

.unified-header .logo img {
    height: 60px;
    width: auto;
    float: right
}

.unified-header .search-form {
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 0 auto
}

.livesearch-input.livesearch_loading {
    background-image: url('../../images/loading.gif');
    background-position: 98% center;
    background-repeat: no-repeat;
    background-size: 20px
}

.unified-header .search-form input {
    cursor: text;
    background: rgba(255, 255, 255, .1);
    color: white;
    border: 1px solid rgba(255, 255, 255, .2);
    outline: none;
    width: inherit;
    max-width: fit-content !important;
    padding: .5rem 1.1rem !important;
    border-radius: 8px;
    font-size: 1rem;
    backdrop-filter: blur(5px)
}

.livesearch-results .live_manga_ul_index {
    margin: 0;
    padding: 0;
    list-style: none
}

.livesearch-results .live_manga_index_li {
    padding: 8px 16px;
    display: flex;
    font-size: smaller;
    align-items: center;
    gap: 12px;
    transition: all .2s ease;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    flex-wrap: wrap
}

.livesearch-results .live_manga_index_li:last-child {
    border-bottom: none
}

.livesearch-results .live_manga_index_li:hover {
    background-color: rgba(31, 38, 49, .05)
}

.livesearch-results .live_manga_index_li .cover {
    width: auto;
    height: 85px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1)
}

.livesearch-results .live_manga_index_li .text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px
}

.livesearch-results .live_manga_index_li .title {
    color: #1f2631;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4
}

.livesearch-results .live_manga_index_li .genre {
    color: #666;
    font-size: 12px;
    opacity: .8
}

.unified-header .search-form input:focus {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .3)
}

.search-form input::placeholder {
    color: #666666
}

.unified-header .search-form button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    justify-self: end;
    margin: initial;
    left: 1rem;
    color: rgba(255, 255, 255, .7)
}

.livesearch_loading {
    background-image: url('../../images/loading.gif') !important;
    background-position: left 16px center !important;
    background-repeat: no-repeat !important;
    background-size: 20px !important;
    padding-left: 45px !important
}

@media (max-width:768px) {
    #livesearch_background {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        border-radius: 0;
        border-top: 1px solid rgba(255, 255, 255, .1);
        max-height: 60vh
    }

    .livesearch-results .live_manga_index_li {
        padding: 12px
    }

    .livesearch-results .live_manga_index_li .cover {
        width: fit-content;
        height: 56px
    }

    .unified-header .container {
        grid-template-columns: auto 1fr auto;
        gap: .5rem
    }

    .unified-header .logo img {
        height: 50px;
        float: right
    }

    .unified-header .search-form {
        display: none
    }

    .unified-header .nav-links {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(31, 38, 49, .95);
        padding: 1rem;
        flex-direction: column;
        align-items: stretch
    }

    .unified-header .nav-links.active {
        display: flex
    }

    .unified-header .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        padding: 8px;
        cursor: pointer;
        font-size: 24px
    }

    .unified-header .menu-toggle i {
        font-size: larger
    }

    .unified-header .menu-toggle:hover {
        background: rgba(255, 255, 255, .1);
        border-radius: 4px
    }

    .unified-header.search-active .search-form {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: .5rem 1rem;
        background: rgba(31, 38, 49, .95)
    }
}

.mobile-search-layout {
    padding: .5rem 1rem;
    background: rgba(31, 38, 49, .95);
    margin-bottom: 1rem
}

.mobile-search-layout .search-form {
    display: block;
    width: 100%
}

.contact-form {
    max-width: max-content;
    padding: 2rem 5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1)
}

.contact-form .form-actions {
    text-align: center
}

.contact-form-row {
    margin-bottom: 1.5rem
}

.contact-form-group {
    display: flex;
    flex-direction: column
}

.contact-form-label {
    font-weight: 600;
    margin-bottom: .5rem;
    color: #333;
    font-size: .95rem
}

.contact-form-input,
.contact-form-textarea {
    padding: .75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color .2s ease;
    background-color: #f9f9f9
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: #4a90e2;
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, .1)
}

.contact-form-textarea {
    min-height: 150px;
    resize: vertical
}

.contact-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem
}

.contact-form-submit-btn {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: .75rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease
}

.contact-form-submit-btn:hover {
    background-color: #357abd
}

.contact-form-submit-btn:active {
    background-color: #2b6299;
    transform: translateY(1px)
}

.contact-form .message {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 1rem
}

.contact-form .message.success {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32
}

.contact-form .message.error {
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828
}

.contact-form .message-icon {
    font-size: 1.25rem;
    line-height: 1
}

.contact-form .message-content {
    flex: 1;
    font-size: .95rem
}

.contact-form .errors {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    color: #c62828
}

.contact-form .errors ul {
    margin: .5rem 0 0;
    padding-right: 1.5rem
}

.contact-form .errors li {
    margin-bottom: .25rem
}

.contact-form-manifest {
    padding: 2rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #495057
}

.contact-form-manifest h3 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600
}

.contact-form-manifest p {
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify
}

.contact-form-manifest .emphasis {
    color: #e74c3c;
    font-weight: 500
}

@media (max-width:768px) {
    .contact-form {
        margin: 1rem;
        padding: 1.5rem
    }

    .contact-form-input,
    .contact-form-textarea {
        font-size: 16px
    }

    .contact-form-submit-btn {
        width: 100%
    }
}

#livesearch_background {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
    margin-top: 4px;
    max-height: 400px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .1);
    z-index: 9999;
    will-change: opacity;
    display: none
}

#livesearch_background>* {
    margin: 0;
    padding: 0
}

#livesearch_background.visible {
    display: block
}

.livesearch-results {
    padding: 8px 0
}

.contact-page {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    position: relative;
    overflow: hidden
}

.contact-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .05;
    pointer-events: none
}

.contact-header {
    text-align: center;
    margin-bottom: .2rem;
    position: relative
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem
}

.contact-logo {
    max-width: 200px;
    height: auto;
    transition: transform .5s ease
}

.contact-logo.animated {
    animation: logoFloat 3s ease-in-out infinite
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.contact-subtitle {
    color: #666;
    margin-top: .5rem;
    animation-delay: .3s
}

.contact-container {
    display: grid;
    grid-template-columns: auto;
    gap: 2rem;
    background: rgba(255, 255, 255, .9);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: relative
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative
}

.form-group label {
    display: block;
    margin-bottom: .5rem;
    color: #444;
    font-weight: 500;
    transition: color .3s ease
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .75rem !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    font-size: 1rem;
    transition: all .3s ease;
    background: rgba(255, 255, 255, .9)
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0098ff;
    box-shadow: 0 0 0 3px rgba(0, 152, 255, .1);
    outline: none
}

.submit-btn {
    background: linear-gradient(45deg, #0098ff, #0077cc);
    color: white;
    border: none;
    padding: .75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    position: relative;
    overflow: hidden
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 152, 255, .2)
}

.submit-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, .1);
    transform: rotate(45deg);
    transition: all .3s ease
}

.submit-btn:hover::after {
    transform: rotate(45deg) translate(50%, 50%)
}

.contact-info {
    margin: 1rem 0
}

.info-card {
    background: rgba(248, 249, 250, .9);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    transition: all .3s ease;
    border: 1px solid rgba(0, 0, 0, .1)
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .1)
}

.info-card i {
    font-size: 2rem;
    color: #0098ff;
    margin-bottom: 1rem
}

.info-card h3 {
    margin: .5rem 0;
    color: #333
}

.info-card p {
    color: #666;
    margin: 0
}

.manifest-section {
    margin-bottom: 1rem
}

.manifest-container {
    display: grid;
    grid-template-columns: auto auto;
    gap: 1.5rem;
    background: rgba(255, 255, 255, .9);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    backdrop-filter: blur(10px)
}

.manifest-card {
    height: 100%;
    margin: 0;
    text-align: right;
    padding: 2rem
}

.manifest-content {
    text-align: right;
    line-height: 1.6
}

.manifest-greeting {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 500
}

.manifest-list,
.manifest-description ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0
}

.manifest-list li,
.manifest-description li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: .5rem
}

.manifest-list li:before,
.manifest-description li:before {
    content: "•";
    position: absolute;
    right: 0;
    color: #0098ff
}

.manifest-description {
    margin: 1.5rem 0;
    color: #555
}

.manifest-notice {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 152, 255, .1);
    border-right: 3px solid #0098ff;
    border-radius: 4px;
    font-weight: 500
}

.notice-card {
    height: 100%;
    margin: 0
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: right
}

.notice-list li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: .8rem;
    color: #555
}

.notice-list li:before {
    content: "◆";
    position: absolute;
    right: 0;
    color: #0098ff;
    font-size: .8em
}

.responsive-chapter-form {
    max-width: 500px;
    margin: 16px auto;
    padding: 8px 8px 16px 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 8px #aaa;
    font-size: 14px
}

.responsive-chapter-form table {
    width: 100%;
    border-collapse: collapse
}

.responsive-chapter-form tr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 4px
}

.responsive-chapter-form .filed_title {
    flex: auto;
    max-width: 140px;
    min-width: 90px;
    padding: 4px 8px 4px 0;
    font-weight: bold;
    color: #444;
    text-align: right;
    background: none;
    display: contents;
    align-items: center;
    font-size: 13px
}

.responsive-chapter-form .filed_body span {
    font-family: IRANSans, tahoma !important
}

.responsive-chapter-form .filed_body {
    flex: 1 1 0;
    padding: 4px 0 4px 8px;
    display: flex;
    flex-direction: column;
    background: none
}

.responsive-chapter-form .filed_body input[type="text"],
.responsive-chapter-form .filed_body input[type="password"],
.responsive-chapter-form .filed_body input[type="number"] {
    width: 100%;
    max-width: 100%;
    padding: 6px;
    margin: 2px 0 4px 0;
    font-size: 13px;
    border-radius: 3px;
    border: 1px solid #594f0a5c;
    box-sizing: border-box
}

.responsive-chapter-form .filed_body .description {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px
}

.responsive-chapter-form .extra_info {
    margin-bottom: 4px
}

.responsive-chapter-form .extra_info p {
    margin: 0 0 2px 0;
    color: #666;
    font-size: 12px
}

.responsive-chapter-form .button {
    text-align: center;
    margin: 12px 0 0 0
}

.responsive-chapter-form .button small {
    display: block;
    margin-top: 6px;
    color: #8A8A8A;
    font-size: 11px
}

.responsive-chapter-form .error {
    color: #c00;
    background: #fef5f7;
    border: 1px solid #c00;
    border-radius: 5px;
    padding: 8px;
    margin: 8px 0;
    font-size: 13px;
    text-align: center
}

.responsive-chapter-form .upload_button,
.responsive-chapter-form .div_box {
    width: 100%;
    box-sizing: border-box
}

.responsive-chapter-form .upload_button a,
.responsive-chapter-form .upload_button input[type="button"] {
    width: 48%;
    margin: 2px 1%;
    display: inline-block;
    font-size: 13px;
    padding: 6px 0;
    border-radius: 4px;
    background: #e6e6e6;
    color: #333;
    border: 1px solid #ccc;
    text-align: center
}

.responsive-chapter-form .upload_button a.fancy_button_active {
    background: #858585;
    color: #fff;
    border-color: #858585
}

.responsive-chapter-form .div_box {
    margin: 4px 0
}

.responsive-chapter-form .div_box input[type="text"] {
    width: 80%;
    display: inline-block
}

.responsive-chapter-form .div_box input[type="button"] {
    display: inline-block;
    margin-right: 2%
}

.responsive-chapter-form #swfupload_progress {
    width: 100%
}

.responsive-chapter-form #swfupload_progress li {
    font-size: 12px;
    padding: 6px
}

.responsive-chapter-form .description ul {
    padding-right: 14px;
    margin: 0 0 4px 0
}

.responsive-chapter-form .description li {
    font-size: 12px;
    color: #888;
    margin-bottom: 1px
}

.debug-info,
.debug-info p {
    direction: ltr;
    text-align: left
}

@media (max-width:768px) {
    .contact-container {
        grid-template-columns: 1fr
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .contact-logo {
        max-width: 150px
    }

    .contact-page {
        margin: 1rem;
        padding: 1rem
    }

    .responsive-chapter-form {
        max-width: 99vw;
        padding: 4px;
        font-size: 13px
    }

    .responsive-chapter-form tr {
        flex-direction: column
    }

    .responsive-chapter-form .filed_title,
    .responsive-chapter-form .filed_body {
        max-width: 100%;
        min-width: 0;
        padding: 4px 0
    }

    .responsive-chapter-form .button input[type="button"],
    .responsive-chapter-form .button input[type="submit"] {
        font-size: 13px;
        padding: 7px
    }
}

@media (max-width:480px) {
    .contact-page {
        margin: .5rem
    }

    .contact-container {
        padding: 1rem
    }

    .submit-btn {
        width: 100%;
        justify-content: center
    }

    .info-card {
        padding: 1rem
    }

    .responsive-chapter-form {
        padding: 1vw;
        font-size: 12px
    }

    .responsive-chapter-form .filed_body input[type="text"],
    .responsive-chapter-form .filed_body input[type="password"],
    .responsive-chapter-form .filed_body input[type="number"] {
        font-size: 12px;
        padding: 5px
    }

    .responsive-chapter-form .button input[type="button"],
    .responsive-chapter-form .button input[type="submit"] {
        font-size: 12px;
        padding: 6px
    }

    .responsive-chapter-form .upload_button a,
    .responsive-chapter-form .upload_button input[type="button"] {
        font-size: 12px;
        padding: 5px 0
    }
}

@media (max-width:992px) {
    .manifest-container {
        grid-template-columns: 1fr
    }

    .manifest-card,
    .notice-card {
        height: auto
    }
}