    body {
        margin: 0;
        padding: 0;
        font-family: 'Yekan';
        background: linear-gradient(to bottom, #e6f0ff, #ffffff);
        direction: rtl;
        text-align: center;
    }
    
    @font-face {
        font-family: 'Yekan';
        src: url('../fonts/Yekan.woff2');
        font-weight: normal;
        font-style: normal;
        text-rendering: optimizeLegibility;
        font-display: auto;
    }
    /* جعبه کلی فرم‌ها */
    
    .login-box,
    .panel-box {
        background-color: #ffffff;
        width: 100%;
        max-width: 420px;
        margin: 80px auto;
        padding: 35px 30px;
        border-radius: 16px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        text-align: right;
    }
    /* عنوان فرم */
    
    .login-box h2,
    .panel-box h2 {
        color: #0056b3;
        margin-bottom: 25px;
        text-align: center;
    }
    /* برچسب‌ها */
    
    label {
        display: block;
        margin-bottom: 5px;
        font-weight: 600;
        color: #333;
    }
    /* فیلدهای ورودی */
    
    input[type="text"],
    input[type="password"],
    input[type="number"],
    input[type="file"] {
        width: 100%;
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 10px;
        margin-bottom: 20px;
        font-size: 15px;
        box-sizing: border-box;
    }
    /* دکمه‌ها */
    
    input[type="submit"],
    button {
        width: 100%;
        background-color: #007bff;
        color: white;
        padding: 12px;
        font-size: 15px;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    input[type="submit"]:hover,
    button:hover {
        background-color: #0056b3;
    }
    /* پیام خطا */
    
    #errorBox {
        background-color: #ffe0e0;
        color: #b30000;
        padding: 12px;
        border-radius: 10px;
        margin-bottom: 20px;
        font-weight: bold;
        display: none;
    }
    /* لیست فیش حقوقی */
    
    #payslips div {
        background-color: #f7faff;
        padding: 15px;
        margin: 10px 0;
        border-radius: 12px;
        border: 1px solid #cce0ff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }
    
    #payslips p {
        margin: 5px 0;
        color: #333;
    }
    
    #payslips a {
        text-decoration: none;
        color: #007bff;
        font-weight: bold;
    }
    
    #payslips a:hover {
        text-decoration: underline;
    }
    /* فیلتر سال */
    
    input#filterYear {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
        border-radius: 10px;
        border: 1px solid #ccc;
    }
    
    .styled-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
        font-size: 15px;
        border: 1px solid #ddd;
        background-color: #fefefe;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .styled-table th,
    .styled-table td {
        padding: 12px;
        text-align: center;
        border: 1px solid #ccc;
    }
    
    .styled-table thead {
        background-color: #0d6efd;
        color: white;
    }
    
    .styled-table tr:nth-child(even) {
        background-color: #f3faff;
    }
    
     :root {
        --brand: #1a2a3a;
        --brand-2: #4a90e2;
        --muted: #bdc3c7;
        --card-grad-start: #ffffff;
        --card-grad-end: #e8f0ff;
        --green: #198754;
        --green-dark: #145c32;
    }
    
    * {
        box-sizing: border-box
    }
    
    html,
    body {
        margin: 0;
        padding: 0
    }
    
    body {
        line-height: 1.8;
        background: #f9fafc url(../image/photo-1482977036925-e8fcaa643657.png) no-repeat center/cover;
        color: #1a2a3a;
    }
    
    a {
        color: inherit;
        text-decoration: none
    }
    
    li {
        list-style: none
    }
    /* هدر */
    
    header {
        background: var(--brand);
        box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
        position: sticky;
        top: 0;
        z-index: 100;
        display: flex;
        justify-content: center;
    }
    
    .image {
        text-align: center;
        margin: 1rem 0;
    }
    
    .image img {
        max-width: 60px;
        height: auto;
        display: flex;
        justify-content: space-between;
    }
    
    @media (max-width: 768px),
    (max-width:1265px) {
        .image img {
            display: none;
        }
    }
    
    .language-switcher-icons {
        position: absolute;
        top: 5px;
        right: 15px;
        z-index: 999;
        display: flex;
        gap: 10px;
    }
    
    .language-switcher-icons a img {
        width: 26px;
        height: auto;
        border-radius: 4px;
        transition: transform 0.3s ease;
    }
    
    .language-switcher-icons a:hover img {
        transform: scale(1.2);
        cursor: pointer;
    }
    
    .dropdown {
        position: relative;
        display: inline-block;
        margin-top: 3px;
    }
    
    .drop-btn {
        background-color: transparent;
        color: inherit;
        padding: 0.5rem 1rem;
        font-size: inherit;
        font-family: inherit;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .drop-btn:hover {
        color: #4a90e2;
    }
    
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 250px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
        border-radius: 5px;
        right: 0;
        text-align: center;
        font-size: 14px;
    }
    
    .dropdown-content a {
        color: #333;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        transition: background-color 0.3s;
    }
    
    .dropdown-content a:hover {
        color: white;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
    }
    
    @media (max-width: 768px) {
        .hamburger-btn {
            display: block;
            color: #b3abab;
        }
        .navbar {
            position: fixed;
            top: 80px;
            right: -100%;
            width: 80%;
            height: calc(100vh - 80px);
            background-color: #1a2a3a;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding-top: 2rem;
            gap: 1.5rem;
            transition: right 0.3s ease;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            z-index: 99;
        }
        .navbar.active {
            right: 0;
        }
    }
    
    .navbar-container {
        display: flex;
        align-items: center;
        padding: 0 1rem;
    }
    
    .navbar {
        display: flex;
        justify-content: space-between;
        gap: 2.5rem;
        padding: 1rem;
        flex-wrap: wrap;
        color: #fff;
    }
    
    .navbar a {
        padding: 0.5rem 0rem;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    
    .navbar a:hover {
        color: #4a90e2;
    }
    
    .hamburger-btn {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #333;
    }
    
    @media (max-width: 880px),
    (max-width: 1265px) {
        .navbar {
            display: none !important;
        }
    }
    
    @media (max-width: 768px) {
        .hamburger-btn {
            display: block;
            color: #b3abab;
        }
    }
    
    h2 {
        text-align: center;
        margin: 40px 0 20px;
        font-size: 30px;
        color: var(--brand);
    }
    
    h3 {
        color: #e8f0ff;
        text-align: center;
        border: 5px solid var(--green);
        background: var(--green);
        border-radius: 12px;
        margin: 40px auto 0;
        max-width: 800px;
    }
    
    h4 {
        color: var(--brand);
        margin: 15px 0
    }
    /* گرید محصولات */
    
    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 30px;
        padding: 20px 16px;
        max-width: 1300px;
        margin: 0 auto 40px;
    }
    
    .product-card {
        background: linear-gradient(145deg, var(--card-grad-start), var(--card-grad-end));
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
        text-align: center;
        transition: transform .25s, box-shadow .25s;
        position: relative;
        overflow: visible;
        /* مهم: تا اُورلی بیرون نزنه */
    }
    
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .12)
    }
    
    .product-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 14px;
        margin-bottom: 15px;
        display: block;
    }
    
    .product-card button {
        font-family: 'Yekan';
        padding: 10px 22px;
        background: var(--brand);
        color: #fff;
        border: none;
        border-radius: 10px;
        font-size: 13px;
        cursor: pointer;
        transition: .25s;
    }
    
    .product-card button:hover {
        background: var(--brand-2)
    }
    /* پنل جزئیات — حالت OVERLAY داخل کارت */
    
    .sub-products {
        position: absolute;
        inset: 10px;
        /* چهار طرف 10px فاصله */
        background: #f4f9ff;
        border: 1px solid #ddd;
        border-radius: 14px;
        padding: 12px 12px 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
        overflow: auto;
        /* لیست طولانی اسکرول بخوره */
        max-height: calc(100% - 20px);
        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;
        transition: opacity .25s ease, transform .25s ease;
        z-index: 5;
    }
    
    .product-card.open .sub-products {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .sub-products h5 {
        font-size: 16px;
        margin: 6px 0 10px;
        color: #444;
        text-align: right
    }
    
    .sub-products .close-overlay {
        position: sticky;
        top: 0;
        display: flex;
        justify-content: flex-start;
        margin: -6px -6px 10px;
        padding: 8px 10px;
        background: #eef5ff;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 700;
    }
    
    .sub-products button {
        display: block;
        width: 100%;
        margin: 6px 0;
        background: var(--green);
    }
    
    .sub-products button:hover {
        background: var(--green-dark)
    }
    /* وقتی پنل باز است، کارت بالاتر از بقیه بایستد */
    
    .product-card.open {
        z-index: 10
    }
    /* بخش تماس */
    
    .contact-experts {
        margin-top: 60px;
        padding: 40px 20px;
        text-align: center;
        background: linear-gradient(135deg, var(--green), #1e76fa);
        color: #fff;
        border-radius: 25px 25px 0 0;
    }
    
    .contact-experts h2 {
        color: #fff;
        margin-bottom: 20px
    }
    
    .experts-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px
    }
    
    .expert-card {
        background: rgba(255, 255, 255, .15);
        padding: 20px 30px;
        border-radius: 15px;
        backdrop-filter: blur(5px);
        transition: transform .3s
    }
    
    .expert-card:hover {
        transform: translateY(-5px)
    }
    
    .expert-card i {
        font-size: 28px;
        margin-bottom: 8px;
        display: block
    }
    
    .expert-card p {
        margin: 0;
        font-size: 18px
    }
    
    .contact-experts a {
        color: #fff;
        font-weight: bold
    }
    
    .contact-experts a:hover {
        color: var(--green)
    }
    /* فوتر */
    
    footer {
        background: #2c3e50;
        color: #fff;
        padding-top: 3%
    }
    
    .footer-social-icons img {
        margin: 5px;
        transition: color 0.3s;
        color: #bdc3c7;
    }
    
    .footer-container {
        max-width: 1500px;
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem
    }
    
    .right-footer {
        margin-top: 3%;
        flex: 2;
        min-width: 300px
    }
    
    .left-footer {
        margin-right: 5%;
        margin-top: 3%;
        flex: 1;
        min-width: 300px;
        display: flex;
        justify-content: space-between
    }
    
    .right,
    .left {
        flex: 1;
        text-align: center;
        padding-top: 20px
    }
    
    .right a,
    .left a {
        display: block;
        margin-bottom: 2rem;
        color: #bdc3c7;
        transition: .3s;
        font-size: 14px
    }
    
    .right a:hover,
    .left a:hover {
        color: var(--brand-2)
    }
    
    .outro {
        display: flex;
        margin-bottom: 1.5rem;
        gap: 16px;
        align-items: center
    }
    
    .outro img {
        max-width: 125px
    }
    
    .outro p {
        text-align: justify;
        padding: 10px 0;
        color: #ecf0f1;
        font-size: 16px;
        margin: 0
    }
    
    .map p {
        margin-bottom: 1.5rem;
        color: #bdc3c7
    }
    
    .info {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        margin-bottom: 1.5rem
    }
    
    .info a {
        color: #bdc3c7
    }
    
    .info a:hover {
        color: var(--brand-2)
    }
    
    .info i {
        color: var(--brand-2)
    }
    
    .namad {
        padding: 30px 0;
        display: flex;
        gap: 3rem;
        justify-content: center
    }
    
    .namad img {
        width: 100px;
        height: 100px;
        background: #fff;
        border-radius: 15px
    }
    
    .copyright {
        background: var(--brand);
        color: #fff;
        text-align: center;
        padding: 1rem 0;
        margin-top: 2rem;
        font-size: .9rem
    }
    
    @media (max-width: 768px) {
        .products-grid {
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px
        }
        .product-card img {
            height: 170px
        }
        /* پنل جزئیات در موبایل: به حالت شیت شناور */
        .product-card.open {
            z-index: 9999
        }
        .product-card.open .sub-products {
            position: fixed;
            inset: 8% 12px 12px 12px;
            max-height: 84vh;
            border-radius: 16px;
        }
        /* بک‌دراپ تار (اختیاری) */
        body.overlay::before {
            content: "";
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .35);
            z-index: 9998;
        }
    }