body {
    font-family: 'Arial', 'Tahoma', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    direction: rtl;
}

.calendar-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-title {
    font-size: 24px;
    font-weight: bold;
}

.calendar-nav {
    display: flex;
    gap: 10px;
}
/* 
.calendar-nav button {
    padding: 5px 10px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
} */

.calendar {
    width: 100%;
    border-collapse: collapse;
}

.calendar th {
    background: #2f39cc;
    color: white;
    padding: 10px;
    text-align: center;
}

.calendar td {
    border: 1px solid #ddd;
    padding: 10px;
    height: 80px;
    vertical-align: top;
    cursor: pointer;
    text-align: right;
}

.calendar td:hover {
    background-color: #f0f0f0;
}

.current-day {
    background-color: #e1f5fe;
}

.has-orders {
    background-color: #ffecb3;
    position: relative;
}

.has-orders::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    background-color: #ff9800;
    border-radius: 50%;
}

.selected-day {
    background-color: #bbdefb;
    font-weight: bold;
}

.orders-container {
    margin-top: 30px;
}

.orders-title {
    text-align: right;
    margin-bottom: 15px;
}

.order-list {
    list-style: none;
    padding: 0;
}

.order-item {
    background: FloralWhite;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: right;
}


.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.order-meals {
    margin-top: 10px;
    padding-right: 20px;
}

.meal-item {
    display: flex;
    justify-content:  space-between;
    padding-left: 200px;
    margin-bottom: 5px;
}


.meal-item-alt{
    background: white;
    opacity: 1;
    display: flex;
    justify-content:  space-between;
    padding-left: 200px;
    margin-bottom: 5px;
}

.no-orders {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* تخصيصات للغة العربية */
.arabic-date {
    font-family: 'Arial', 'Tahoma', sans-serif;
}

.order-count {
    margin-right: 5px;
}

.kilos-summary {
    margin-top: 30px;
    background: white;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kilos-summary h3 {
    margin-top: 0;
    text-align: right;
    color: #333;
}

.kilos-summary table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.kilos-summary th {
    background: #2f39cc;
    color: white;
    padding: 8px;
    text-align: right;
}

.kilos-summary td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: right;
}

.kilos-summary tr:nth-child(even) {
    background-color: #f2f2f2;
}





.calendar-nav a {
    text-decoration: none;
}

.calendar-nav button {
    padding: 8px 15px;
   /* background: #4CAF50;*/
    background: #2f39cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Tahoma', 'Arial', sans-serif;
    font-size: 14px;
    transition: background 0.3s;
}

.calendar-nav button:hover {
    background: #3d8b40;
}

@media print
{    
    .calendar-header, .calendar, .kilos-summary
    {
        display: none !important;
    }
}

.mng {
	background: #78aafa !important;
}