body { font-family: Arial, sans-serif; background: #f0f4f8; margin: 0; color: #2c3e50; direction: rtl; }
.sidebar { width: 250px; background: #1a3c6e; color: #fff; padding: 20px; position: fixed; right: 0; top: 0; height: 100%; box-sizing: border-box; overflow-y: auto; box-shadow: -2px 0 5px rgba(0,0,0,0.1); z-index: 1000; }
.sidebar h2 { text-align: center; border-bottom: 2px solid #b8860b; padding-bottom: 15px; margin-bottom: 20px; font-size: 22px; }
.sidebar ul { list-style-type: none; padding: 0; margin: 0; }
.sidebar li { margin-bottom: 10px; }
.sidebar a { display: block; color: #fff; text-decoration: none; padding: 12px 15px; border-radius: 8px; transition: background 0.3s, transform 0.2s; font-size: 16px; }
.sidebar a:hover { background: #b8860b; transform: translateX(-5px); }

/* אזור התוכן המרכזי - כעת ממורכז לגובה ולרוחב */
.main-content {
margin-right: 250px;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 40px;
box-sizing: border-box;
}

/* מעטפת ששומרת שהתוכן לא יימרח לצדדים */
.content-wrapper {
width: calc(100% - 290px);
max-width: none;
margin-right: 270px !important;
margin-left: 20px !important;
}

.header-title { background: #fff; padding: 30px 40px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 40px; border-right: 5px solid #1a3c6e; text-align: center; }
.header-title h1 { margin: 0 0 10px 0; color: #1a3c6e; font-size: 32px; }
.header-title p { margin: 0; color: #666; font-size: 18px; }

.cards { display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; }
.card { background: #fff; border-radius: 12px; padding: 30px; width: 220px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-decoration: none; color: #2c3e50; border-top: 5px solid #b8860b; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.card h2 { color: #1a3c6e; margin-top: 0; font-size: 22px; }
.card p { color: #666; margin-bottom: 0; }

/* מתיחת התוכן עד סרגל הצד וקצה המסך */
.container, .main-content, .content, main, .header-title {
    max-width: 100% !important;
    width: auto !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
}
