body {
    font-family: Arial;
    text-align: center;
    background-color: #f9f9f9;
    margin: auto;
    padding: 0;
    font-size:25px;
    position: relative; /* או למחוק לגמרי */
    max-width: 380px;

}
form { 
    margin-right:400px;
    max-width: 380px; 
    margin: auto;
    padding: 1px; 
    border: 1px solid #ccc; 
    border-radius: 10px; 
    background-color: #f9f9f9;
    font-family: Arial;

}
table { 
    width: 380px; 
    border-collapse: collapse;
    margin-top: 5px;
    margin-bottom: 1px;
    font-size:25px;
    padding-bottom:3px;
}
tbody {
    font-size:25px;
  
}
.center {
  margin: auto;
  border: 3 solid #73AD21;
  padding: 0  0;
}
th, td, tr { 
    padding-left: 15px;
    padding-right: 10px;
    border: 1px solid #ccc; 
    text-align: center;
}
.flex-center {
    display: flex;
    align-items: center;        /* מרכז אנכית */
    justify-content: center;    /* מרכז אופקית */
}
th { 
    background-color: #f4f4f4; 
    font-size:25px;
}

label, select, input { 
    display: inline-block; 
    margin-bottom: 4px;
    font-size:23px;
    color: blue;
    direction:rtl;
    text-align: center;
}

label {
    width: 120px; 
    display: inline-block;
    vertical-align:central;
}


input {
   display: inline-block;
    width: 214px;
    border-style:solid;
}
option, select {
   display: inline-block;
    width: 220px;
    border-style:solid;
}
/* Set date display order */
input[type="date"] {
    font-size: 25px;
    direction: rtl;
    text-align: center;
    vertical-align: baseline;
    display: inline-block;
        width: 215px; 

}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: auto; /* חשוב */
}

/*.button {
    width: 125px;
    height: 115px;
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: red;
    color: white;
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
} */

.add-btn, .back-btn, .save-btn, .pay-btn, .delete-btn, .cancel-btn{ 
    display: inline-block; 
    margin: 3px 0px ; 
    padding:6px 3px ;
    font-size:32px;
    width: 118px; 
    text-decoration:none;
    border-radius: 10px;
    font-family: Arial;
    color: white; 
    font-weight: bold;
    
}

.add-btn {
    background-color: green; 
     
}
.back-btn { 

    background-color: gray; 

}

.save-btn { 
 
    background-color: green; 
  
}

.delete-btn { 
 
    background-color: red; 
    color: white;

}
.cancel-btn { 

    background-color: gray; 
    color: white;

}

.filter-form { 
    text-align: center; 
    margin-bottom: 20px;
}

.big-button, .mid-button, .narrow-button {
    align-items: center;
    justify-content: center;
    margin: 4px auto;
    font-size: 35px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    vertical-align:middle;
}
/* hover – שינוי צבע רקע כשעוברים עם העכבר */
.big-button:hover, .mid-button:hover, .narrow-button:hover {
    background: darkred;
    transform: scale(1.05); /* הגדלה קטנה לאפקט */
}
.big-button {
    width: 370px;
    height: 100px;
    display: flex;
}

.mid-button {
    width: 370px;
    height: 50px;
    display: flex;
}
.narrow-button {
    width: 180px;
    height: 120px;
    display: flex;
}
.red { background: red; }
.green { background: green; }
.gray { background: gray; }
.yellow { background: yellow; color: black; }
.blue { background: blue; }
.purple { background: purple; }

tr:hover { 
    background-color: #f1f1f1; 
    cursor: pointer;
}

.topbar {
    color:#444;
    background-color:#444;
    
}

