

#transaction-form {
    width: 100%;
    max-width: 600px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #444;
}

input[type="text"],
input[type="number"],
input[type="date"] {
    width: calc(100% - 20px);
    padding: 8px 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

input[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #218838;
}

#transaction-list {
    width: 100%;
    max-width: 600px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.transaction-item {
    background-color: #e9f7fd;
    border-left: 5px solid #007bff;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.transaction-item div {
    flex: 1 1 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.transaction-item div:last-child {
    margin-bottom: 0;
}

.transaction-item strong {
    margin-right: 5px;
    min-width: 120px;
}

.transaction-item button {
    background-color: #ff8c00;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 10px;
    transition: background-color 0.3s;
}

.transaction-item button:hover {
    background-color: #e07b00;
}

.transaction-item button.delete-btn {
    background-color: #dc3545;
}

.transaction-item button.delete-btn:hover {
    background-color: #c82333;
}

#total-amount {
    font-size: 18px;
    font-weight: bold;
    color: #0066cc;
    margin-top: 10px;
}


body {
font-family: Arial, sans-serif;
background-color: #f0f8ff;
color: #333;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}

h1 {
color: #0066cc;
margin-top: 20px;
}

.container {
width: 95%;
max-width: 1000px;
background-color: #ffffff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
margin-bottom: 20px;
box-sizing: border-box; /* Προστέθηκε για να συμπεριληφθεί το padding στο πλάτος */
}

footer {
margin-top: 20px;
font-size: 12px;
color: #777;
}

footer a {
color: #0066cc;
text-decoration: none;
}

footer a:hover {
text-decoration: underline;
}

.nav-links a {
text-decoration: none;
color: #0066cc;
font-size: 16px;
margin: 0 10px;
}

.nav-links a:hover {
text-decoration: underline;
}

nav {
width: 100%;
background-color: #0066cc;
padding: 20px 0;
text-align: center;
margin-bottom: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
box-sizing: border-box; /* Βεβαιώνει ότι το padding συμπεριλαμβάνεται στο πλάτος */
}

nav a {
color: white;
text-decoration: none;
padding: 10px 10px;
margin: 0 7px;
background-color: #0066cc;
transition: background-color 0.3s, box-shadow 0.3s;
display: inline-block;
}

nav a:hover {
background-color: #005bb5;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
display: block;
cursor: pointer;
color: white;
background-color: #0066cc;
padding: 10px 20px;
border: none;
font-size: 18px;
margin-left: auto;
}

.menu-items {
display: flex;
justify-content: center;
gap: 10px;
flex-wrap: wrap;
}

.menu-items a {
color: white;
text-decoration: none;
padding: 10px 20px;
background-color: #0066cc;
transition: background-color 0.3s, box-shadow 0.3s;
display: inline-block;
}

.menu-items a:hover {
background-color: #005bb5;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown {
position: relative;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #ffffff;
min-width: 150px; /* Αυξήθηκε για περισσότερο χώρο */
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
z-index: 1;
border-radius: 10px;
overflow: hidden;
padding: 10px 0;
}

.dropdown-content a {
color: #0066cc;
padding: 10px 20px; /* Αυξήθηκε για περισσότερο padding */
text-decoration: none;
display: block;
text-align: center;
transition: background-color 0.3s, color 0.3s, font-weight 0.3s;
background-color: #ffffff;
margin: 5px 0; /* Προστέθηκε margin για περιθώριο */
}

.dropdown-content a:hover {
background-color: #f1f1f1;
color: #0f559b;
font-weight: bold;
}

.dropdown:hover .dropdown-content {
display: block;
}

.image-grid {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 20px;
margin-top: 20px;
padding: 0 20px;
}

.image-grid a {
text-decoration: none;
color: #333;
text-align: center;
flex-basis: calc(33.333% - 20px);
}

.image-grid img {
width: 100%;
height: 180px;
object-fit: cover;
border-radius: 8px;
transition: transform 0.3s, box-shadow 0.3s;
}

.image-grid img:hover {
transform: scale(1.05);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-grid p {
margin-top: 10px;
font-size: 14px;
}

/* Responsive styles */
@media (max-width: 768px) {
.image-grid a {
  flex-basis: 100%;
}

h1 {
  font-size: 24px;
}

.menu-toggle {
  display: block;
}

.menu-items {
  display: none;
}

.image-grid {
  padding: 0 70px;
  padding: 8px 16px;
  font-size: 14px;
}
}

@media (max-width: 480px) {
.image-grid a {
  flex-basis: 100%;
}

h1 {
  font-size: 20px;
}

.menu-items {
  display: none;
}

.modal a {
  padding: 8px 12px;
  font-size: 12px;
}

.image-grid {
  padding: 0 20px;
}
}

/* Modal styles */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.4);
justify-content: center;
align-items: center;
}

.modal-content {
background-color: #fff;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 400px;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
text-align: center;
}

.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

.modal a {
display: block;
color: #0066cc;
padding: 10px;
text-decoration: none;
background-color: #f0f8ff;
margin-top: 10px;
border-radius: 4px;
}

.modal a:hover {
background-color: #e0e0e0;
}

/* Στυλ για τα κουμπιά μέσα στο modal */
.modal-content a {
display: block;
color: #0066cc;
padding: 22px;
text-decoration: none;
background-color: #f0f8ff;
margin: 10px auto;
border-radius: 4px;
font-size: 14px;
width: fit-content;
max-width: 90%;
text-align: center;
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
.modal-content a {
  padding: 32px;
  width: 50%;
  align-items: center;
  font-size: 14px;
}
#transaction-form {
    width: 90%;
    max-width: 600px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

}

@media (max-width: 480px) {
.modal-content a {
  padding: 16px;
  font-size: 12px;
}
}

/* Μικρότερη απόσταση padding και αυξημένο ύψος κουμπιών στο modal για μικρές οθόνες */
@media (max-width: 480px) {
.modal a {
  padding: 8px 12px;
  font-size: 14px;
}

.modal-content {
  padding: 10px;
  width: 100%;
}
}

@media (min-width: 769px) {
.menu-toggle {
  display: none;
}

.menu-items {
  display: flex !important;
}
}

/* Το λογότυπο εμφανίζεται μόνο σε μικρές οθόνες */
@media (max-width: 768px) {
.logo {
  display: block;
  width: 60px; /* Ρυθμίστε το μέγεθος του λογότυπου */
  height: auto;
  position: absolute;
  left: 10px;
  top: 10px;
}
nav {
width: 100%;
background-color: #0066cc;
padding: 40px 0;
text-align: center;
margin-bottom: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
box-sizing: border-box; /* Βεβαιώνει ότι το padding συμπεριλαμβάνεται στο πλάτος */
position: relative; /* Προστέθηκε για να είναι τοποθετημένο το logo και το menu-toggle */
}

.menu-toggle {
display: block;
cursor: pointer;
color: white;
background-color: #0066cc;
padding: 10px 20px;
border: none;
font-size: 18px;
position: absolute;
right: 10px; /* Τοποθετεί το κουμπί στη δεξιά πλευρά */
top: 10px;
margin-left: auto;
}
}

/* Το λογότυπο κρύβεται σε μεγαλύτερες οθόνες */
@media (min-width: 769px) {
.logo {
  display: none;
}
}

   /* Στυλ πίνακα modal */
   #transaction-table {
    width: 100%;
    border-collapse: collapse;
}

#transaction-table th, #transaction-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center; /* Στοίχιση κεντρικά των αριθμητικών δεδομένων */
}

#transaction-table th {
    background-color: #005bb5;
    color: white;
}

#transaction-table td {
    text-align: center; /* Κεντρική στοίχιση για αριθμητικά δεδομένα */
}

/* Στυλ κουμπιού εξαγωγής */
#export-pdf {
    display: block; 
    margin: 20px 0; 
    padding: 10px 20px; 
    background-color: #005bb5;
    color: white; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer;
}

#export-pdf:hover {
    background-color: blue;
}

/* Στυλ κουμπιού κλεισίματος */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
  /* Εμφάνιση του modal */
.modal1 {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
    padding-top: 60px; 
}

/* Στυλ περιεχομένου modal */
.modal1-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
    max-width: 1000px; /* Προσθέστε ένα μέγιστο πλάτος */
    max-height: 80vh; /* Περιορίστε το ύψος */
    overflow: auto; /* Επιτρέψτε την κύλιση */
}

/* Στυλ πίνακα */
#transaction-table {
    width: 100%;
    border-collapse: collapse; /* Ενοποιήστε τα σύνορα */
}

/* Στυλ κεφαλίδων πίνακα */
#transaction-table th {
    background-color: #003366;
    color: #ffffff;
    padding: 10px;
    text-align: center;
}

/* Στυλ σειρών πίνακα */
#transaction-table td {
    padding: 10px;
    text-align: center;
}

/* Στυλ για κύλιση */
.modal1-content::-webkit-scrollbar {
    width: 8px;
}

.modal1-content::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.modal1-content::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.supplier-list {
    width: 100%;
    max-width: 800px;
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.supplier-item {
    background-color: #e9f7fd;
    border-left: 5px solid #007bff;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.supplier-item:hover {
    background-color: #d6eaf8;
}


.pdf-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    display: inline-block;
}

.pdf-button:hover {
    background-color: #005bb5;
}
.export-button {
background-color: #4CAF50; /* Πράσινο χρώμα */
color: white; /* Λευκό χρώμα κειμένου */
padding: 10px 20px; /* Εσωτερικά κενά */
border: none; /* Χωρίς περίγραμμα */
border-radius: 5px; /* Στρογγυλεμένες γωνίες */
cursor: pointer; /* Δείκτης χειρός */
font-size: 16px; /* Μέγεθος γραμματοσειράς */
}

.export-button:hover {
background-color: goldenrod; /* Σκούρο πράσινο όταν γίνεται hover */
}
@media print {
table {
border-collapse: collapse;
width: 100%;
}

th, td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}

th {
background-color: #007bff;
color: white;
}
}
    /* Στυλ κουμπιού κλεισίματος */
    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }
    
    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
    #revenue-form {
        width: 100%;
        max-width: 600px;
        background-color: #ffffff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

    label {
        display: block;
        margin-bottom: 10px;
        font-weight: bold;
        color: #444;
    }

    input[type="date"],
    input[type="number"] {
        width: calc(100% - 20px);
        padding: 8px 10px;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
    }

    input[type="submit"] {
        background-color: #28a745;
        color: white;
        padding: 10px 15px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.3s;
    }

    input[type="submit"]:hover {
        background-color: #218838;
    }

    #revenue-summary {
        width: 100%;
        max-width: 600px;
        background-color: #ffffff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin-top: 20px;
        text-align: center;
    }

    .summary-item {
        margin: 10px 0;
        font-size: 16px;
        font-weight: bold;
        color: #0066cc;
    }

    @media (max-width: 600px) {
        #revenue-form {
            padding: 15px;
            width: 90%;
        }
    
        #revenue-form label {
            font-size: 14px;
        }
    
        #revenue-form input[type="date"],
        #revenue-form input[type="number"] {
            padding: 8px;
            font-size: 14px;
        }
    
        #revenue-form input[type="submit"] {
            padding: 10px;
            font-size: 16px;
        }
    }


/* Responsive Στυλ για μικρές οθόνες */
@media (max-width: 600px) {
    #revenue-summary {
        padding: 15px;
        width: 90%;
    }

    #revenue-summary .summary-item {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .image-grid a p {
        font-size: 14px;
    }
}
#transaction-form {
    width: 100%;
    max-width: 600px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #444;
}

input[type="text"],
input[type="number"],
input[type="date"],
select {
    width: calc(100% - 20px);
    padding: 8px 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

input[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #218838;
}

#transaction-list {
    width: 100%;
    max-width: 600px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.transaction-item {
    background-color: #e9f7fd;
    border-left: 5px solid #007bff;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.transaction-item div {
    flex: 1 1 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.transaction-item div:last-child {
    margin-bottom: 0;
}

.transaction-item strong {
    margin-right: 5px;
    min-width: 120px;
}

.transaction-item button {
    background-color: #ff8c00;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 10px;
    transition: background-color 0.3s;
}

.transaction-item button:hover {
    background-color: #e07b00;
}

.transaction-item button.delete-btn {
    background-color: #dc3545;
}

.transaction-item button.delete-btn:hover {
    background-color: #c82333;
}

#total-amount {
    font-size: 18px;
    font-weight: bold;
    color: #0066cc;
    margin-top: 10px;
}
/* Responsive Στυλ για μικρές οθόνες */
@media (max-width: 600px) {
    #transaction-form {
        padding: 15px;
        width: 90%;
    }

    #transaction-form input[type="text"],
    #transaction-form input[type="number"],
    #transaction-form input[type="date"],
    #transaction-form select {
        font-size: 14px;
    }

    #transaction-form input[type="submit"] {
        font-size: 14px;
        padding: 8px 12px;
    }
}
#payment-form {
    width: 100%;
    max-width: 600px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #444;
}

input[type="text"],
input[type="number"],
input[type="date"] {
    width: calc(100% - 20px);
    padding: 8px 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

input[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #218838;
}

#payment-list {
    width: 100%;
    max-width: 600px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.payment-item {
    background-color: #e9f7fd;
    border-left: 5px solid #007bff;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.payment-item div {
    flex: 1 1 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.payment-item div:last-child {
    margin-bottom: 0;
}

.payment-item strong {
    margin-right: 5px;
    min-width: 120px;
}

.payment-item button {
    background-color: #ff8c00;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 10px;
    transition: background-color 0.3s;
}

.payment-item button:hover {
    background-color: #e07b00;
}

.payment-item button.delete-btn {
    background-color: #dc3545;
}

.payment-item button.delete-btn:hover {
    background-color: #c82333;
}

#total-amount {
    font-size: 18px;
    font-weight: bold;
    color: #0066cc;
    margin-top: 10px;
}
@media (max-width: 600px) {
    #payment-form {
        padding: 15px;
        width: 90%;
    }

    #payment-form input[type="text"],
    #payment-form input[type="number"],
    #payment-form input[type="date"],
    #payment-form select {
        font-size: 14px;
    }

    #payment-form input[type="submit"] {
        font-size: 14px;
        padding: 8px 12px;
    }
}
#week-form {
    width: 100%;
    max-width: 600px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #444;
}

input[type="date"] {
    width: calc(100% - 20px);
    padding: 8px 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

input[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #218838;
}

/* Στυλ για τον πίνακα weekly-report */
#weekly-report {
width: 100%;
max-width: 1000px;
border-collapse: collapse;
margin-bottom: 20px;
overflow-x: auto; /* Επιτρέπει την οριζόντια κύλιση αν το περιεχόμενο ξεπερνά το πλάτος */
}

/* Στυλ για τα στοιχεία του πίνακα */
th, td {
border: 1px solid #ddd;
padding: 8px;
text-align: center;
}

th {
background-color: #007bff;
color: white;
}

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

/* Στυλ για το συνολικό ποσό της εβδομάδας */
#total-weekly-amount {
font-size: 18px;
font-weight: bold;
color: #0066cc;
margin-top: 10px;
}

/* Responsive στυλ για τον πίνακα σε μικρές οθόνες */
@media (max-width: 600px) {
#weekly-report {
overflow-x: auto;
display: block; /* Διασφαλίζει ότι ο πίνακας θα εμφανιστεί ως block για την κύλιση */
}

th, td {
font-size: 14px; /* Μικρότερη γραμματοσειρά για καλύτερη προσαρμογή */
padding: 6px; /* Μικρότερο padding για εξοικονόμηση χώρου */
}
}


/* Responsive στυλ για το week-form σε μικρές οθόνες */
@media (max-width: 600px) {
#week-form {
padding: 15px;
width: 90%;
}

#week-form input[type="date"],
#week-form select {
font-size: 14px;
}

#week-form input[type="submit"] {
font-size: 14px;
padding: 8px 12px;
}
}
#month-form {
    width: 100%;
    max-width: 600px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #444;
}

input[type="month"] {
    width: calc(100% - 20px);
    padding: 8px 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

input[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #218838;
}

     

       /* Στυλ για τον πίνακα yearly-report */
       #yearly-report {
        width: 100%;
        max-width: 1000px;
        border-collapse: collapse;
        margin-bottom: 20px;
        overflow-x: auto; /* Επιτρέπει την οριζόντια κύλιση αν το περιεχόμενο ξεπερνά το πλάτος */
    }
    
    /* Στυλ για τα στοιχεία του πίνακα */
    th, td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: center;
    }
    
    th {
        background-color: #007bff;
        color: white;
    }
    
    tr:nth-child(even) {
        background-color: #f2f2f2;
    }
    
    /* Στυλ για το συνολικό ποσό της χρονιάς */
    #total-monthly-cash {
        font-size: 18px;
        font-weight: bold;
        color: #0066cc;
        margin-top: 10px;
    }
    
    /* Responsive στυλ για τον πίνακα σε μικρές οθόνες */
    @media (max-width: 600px) {
        #yearly-report {
            overflow-x: auto;
            display: block; /* Διασφαλίζει ότι ο πίνακας θα εμφανιστεί ως block για την κύλιση */
        }
    
        th, td {
            font-size: 14px; /* Μικρότερη γραμματοσειρά για καλύτερη προσαρμογή */
            padding: 6px; /* Μικρότερο padding για εξοικονόμηση χώρου */
        }
    }
    /* Γενική προσαρμογή σελίδας για κινητές συσκευές */
@media (max-width: 768px) {
  /* Στυλ για το βασικό περιεχόμενο της σελίδας */
  body {
      padding: 10px;
      font-size: 0.95em;
  }

  /* Επικεφαλίδα και φόρμα επιλογής ημερομηνίας */
  h1 {
      font-size: 1.2em;
      text-align: center;
  }

  #week-form {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 10px;
  }

  #week-form label {
      font-size: 1em;
      margin-bottom: 5px;
  }

  #week-form input[type="date"] {
      width: 90%;
      padding: 8px;
      font-size: 1em;
  }

  /* Προσαρμογή του πίνακα */
  #employee-hours-table {
      display: block;
      overflow-x: auto;
      white-space: nowrap;
      width: 100%;
      margin-top: 10px;
      border-collapse: separate;
      border-spacing: 0;
  }

  /* Σταθερή πρώτη στήλη (Ονόματα υπαλλήλων) */
  #employee-hours-table th:first-child, 
  #employee-hours-table td:first-child {
      position: sticky;
      left: 0;
      background: #f3f3f3; /* Χρώμα υποβάθρου για την πρώτη στήλη */
      min-width: 100px; /* Ελάχιστο πλάτος για καλύτερη ορατότητα */
      z-index: 2;
  }

  /* Μείωση μεγέθους κελιών για κινητές συσκευές */
  #employee-hours-table th, #employee-hours-table td {
      padding: 8px;
      font-size: 0.85em;
  }
}
/* Στυλ για τις ημερομηνίες στο κείμενο */
.date-link {
  cursor: pointer;
  font-weight: bold;
  text-decoration: underline;
}

.green {
  color: green;
}

.red {
  color: red;
}

