body {
    font-family: Vazirmatn FD, sans-serif;
}

a {
    text-decoration: none;
}

.header a {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header span {
    margin-top: -5px;
}

.logoimage img {
    height: 90px;
    width: auto;
}

@media only screen and (max-width: 850px) {
    .header span {
        color: #ffffff;
        font-size: 18px;
        font-weight: 600;
    }

    .header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background-color: #111c30;
        display: flex;
        align-items: center;
        padding: 10px 20px;
    }

    .navbar {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 10px 15px;
        background-color: #111c30;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }
    .navbar.active {
        max-height: 200px;
        opacity: 1;
        z-index: 100;
    }

    .navbar li {
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        margin-top: 10px;
    }

    .container {
        padding-top: 70px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    }

    .zar-table table,
    .zar-table thead,
    .zar-table tbody,
    .zar-table th,
    .zar-table td,
    .zar-table tr {
        display: block;
        width: 100%;
    }

    .zar-table thead {
        display: none;
    }

    .zar-table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 12px;
        padding: 10px;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .zar-table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 5px;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .zar-table td:last-child {
        border-bottom: none;
    }

    .zar-table td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #333;
    }

    .zar-table .noinfotable {
        display: flex;
        justify-content: center;
    }

    .farmer-panel-card {
        display: block;
        justify-content: center;
        align-items: center;
        padding: 5px 10px;
        border: 1px solid transparent;
        color: #111c30;
        border-radius: 10px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        font-size: 16px;
        font-weight: 600;
    }
    .farmer-panel-card span {
        display: block;
        text-align: center;
    }

    .farmer-panel-card a {
        color: #ffffff;
        display: block;
        margin-top: 20px;
    }

    .overview-table,
    .overview-table tbody,
    .overview-table tr,
    .overview-table th,
    .overview-table td {
        display: block;
        width: 100%;
    }

    .overview-table tr {
        margin-bottom: 16px;
        border-radius: 12px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        overflow: hidden;
    }

    .overview-table th {
        border-radius: 12px 12px 0 0;
        background: #5560ad;
        color: #fff;
    }

    .overview-table td {
        border-radius: 0 0 12px 12px;
        background: #f6f6f6;
        border-top: 1px solid #eee;
    }

    .overview-table th,
    .overview-table td {
        text-align: right;
    }

    .container::before {
        right: 0;
    }
}

@media only screen and (min-width: 850px) {
    .header span {
        color: #ffffff;
        font-size: 20px;
        font-weight: 600;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        height: 70px;
        background-color: #111c30;
        display: flex;
        align-items: center;
        padding: 10px 20px;
        z-index: 1000;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: 0;
        width: 15%;
        height: 100%;
        padding: 5px;
        background-color: #111c30;
        overflow: hidden;
        z-index: 1000;
    }
    .navbar ul {
        position: absolute;
        top: 80px;
        right: 0;
    }

    .panelname {
        color: #ffffff;
        position: absolute;
        top: 15px;
        right: 0;
        font-size: 26px;
        font-weight: 600;
        margin-right: 30px;
    }

    .navbar li {
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        margin-top: 20px;
    }

    .container {
        padding-top: 70px;
        padding-left: 10px;
        padding-right: 10%;
        padding-bottom: 10px;
    }

    .zar-table {
        border: 1px solid transparent;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }

    .zar-table table {
        width: 100%;
    }

    .zar-table td,
    .zar-table th {
        padding: 8px;
        text-align: center;
    }

    .zar-table thead {
        background-color: #5560ad;
        color: #ffffff;
    }

    .zar-table tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .zar-table tbody tr:nth-child(odd) {
        background-color: #ffffff;
    }

    .farmer-panel-card {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 10px;
        border: 1px solid transparent;
        color: #111c30;
        border-radius: 10px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        font-size: 20px;
        font-weight: 600;
    }

    .farmer-panel-card a {
        color: #ffffff;
    }

    .overview-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        background: #fff;
    }

    .overview-table th {
        background: #5560ad;
        color: #fff;
        font-weight: 600;
        white-space: nowrap;
        width: 8%;
        text-align: center;
    }

    .overview-table td {
        background: #fafafa;
        width: 92%;
    }

    .container::before {
        right: 15%;
    }
}

.overview-table th,
.overview-table td {
    padding: 14px 18px;
}

.navbar ul {
    list-style: none;
}

.navbar a {
    color: #ffffff;
}

.container {
    min-height: 100%;
}

.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background-image: url(https://booking-iran.com/assets/upload/main/Logozarborj.webp);
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: -1;
}

@media print {

    .container
    {
        padding: 10px !important;
        max-width: 100% !important;
    }
    
    .header,
    #navbarMenu,
    .toolbar,
    .footer,
    .cancelpart,
    .notprint {
        display: none !important;
    }

    .overview-table tr td
    {
        min-width: 80% !important;
    }

    .overview-table tr th
    {
        min-width: 20% !important;
    }

    .overview-table tr td,
    .overview-table tr th,
    .zar-table tr td,
    .zar-table tr th,
    .step-table tr td,
    .step-table tr th
    {
        border: 2px solid #000000;
        padding: 7px;
        text-align: center;
    }

    

}
