body, html {
    
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 10px;
    background: linear-gradient(to bottom, #121212, #1e1e1e);
    color: #f4f4f9;
    animation: fadeIn 0.8s ease-in-out;
    overflow: hidden;
    height: 100%;
    overflow-y: hidden;
    position: fixed;
}

/* mobile-style.css */
@keyframes blink {
    0%, 100% { background-color: #ffcc00; color: #121212; }
    50% { background-color: #1e1e1e; color: #f4f4f9; }
}

.blink {
    animation: blink 1s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile Banner styling */
#mobile-banner {
    width: auto;
    margin: 0 auto 10px auto;
    animation: slideDown 2.5s ease-out;
}

#mobileBannerImage {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Στρογγυλεμένες γωνίες */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Σκιά για διαχωρισμό */
}

/* Mobile Info styling */
#mobile-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

/* Container για στοίχιση των κουτιών ανά δύο */
.data-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Mobile Data Box styling */
.mobile-data-box {
    font-size: 16px;
    padding: 20px;
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 45%; /* Κάνει τα κουτιά μικρότερα για να χωράνε δύο σε κάθε σειρά */
    transition: background-color 0.3s, color 0.3s;
    color: #f4f4f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInBox 0.5s ease-in-out;
}

.mobile-data-box i {
    margin-bottom: 5px;
    font-size: 24px;
}

/* Χάρτης styling για κινητές συσκευές */
#mobile-map {
    height: 200px;
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Animation για τα κουτιά */
@keyframes fadeInBox {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Mobile Tooltip styling */
.mobile-tooltip-container {
    position: relative;
    background: #2ea44f;
    cursor: pointer;
    transition: all 0.2s;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    font-size: 17px;
    margin: 20px auto;
}

.mobile-tooltip {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.7em;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    background: #6e7681;
    color: white;
    border-radius: 5px;
    width: 220px;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.mobile-tooltip::before {
    position: absolute;
    content: "";
    height: 0.5em;
    width: 0.5em;
    bottom: -0.2em;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    background: #6e7681;
}

.mobile-tooltip-container:hover .mobile-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#lastUpdate {
    font-size: 12px;
    color: #aaaaaa;
    margin-top: 10px;
}

/* Στυλ για το modal */
.modal {
    display: none; /* Απόκρυψη από προεπιλογή */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.7); /* Μαύρο με διαφάνεια */
}

/* Στυλ για το modal */
.modal-content {
    background: #121212; /* Μαύρο φόντο */
    color: #f4f4f9; /* Λευκό κείμενο για αντίθεση */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.close {
    color: #f4f4f9; /* Ανοιχτό χρώμα για το κουμπί κλεισίματος */
    float: right;
    font-size: 28px;
    font-weight: bold;
}

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

/* Στυλ για το εικονίδιο πληροφοριών */
#moreInfoIcon {
    font-size: 24px;
    color: #007bff; /* Μπλε χρώμα για διακριτικότητα */
    cursor: pointer;
    margin-top: 20px;
    transition: color 0.3s;
}

#moreInfoIcon:hover {
    color: #0056b3; /* Αλλαγή χρώματος όταν ο χρήστης περνά το ποντίκι από πάνω */
}

/* Αλλαγή χρώματος για το εικονίδιο του σύννεφου (ποιότητα αέρα) */
#alertIcon i.fa-cloud {
    color: #ffcc00; /* Κίτρινο χρώμα */
}

@keyframes blinkRed {
    0%, 100% { background-color: #ff0000; color: #ffffff; }
    50% { background-color: #ff8080; color: #ffffff; }
}

.fire-warning-box {
    padding: 20px;
    margin: 15px 0;
    text-align: center;
    border-radius: 10px;
    animation: blinkRed 1s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #ffffff;
    background-color: #ff0000;
    text-shadow: 0 0 3px #FF0000, 0 0 5px #ffffff;
    
}

.fire-modal {
    background-color: #ff0000; /* Κόκκινο φόντο για το modal φωτιάς */
    color: #ffffff; /* Λευκό κείμενο */
    text-shadow: 0 0 3px #FF0000, 0 0 5px #ffffff;
}
