html, body {
    height: 100%;
    margin: 0;
    padding: 0;
  }
  .top-bar {
    display: none;
}
  #map {
    height: 100vh;
    width: 100%;
  }

  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
  
  .country {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000; /* higher than Leaflet's layers */
    width: 250px;
    background: white;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  
  }
  
  
  #CountrySelection {
    width: 100%;
  }
  
  .leaflet-control.easy-button-container {
    margin-top: 10px !important; /* Push it below zoom buttons */
    margin-left: 12px !important;
  }
  
  .leaflet-control.easy-button-container .easy-button-button {
    margin-bottom: 5px;
  }
  .leaflet-marker-icon {
    pointer-events: auto !important;
}

/* General News Modal Styling */
.modal-dialog {
    max-width: 600px;  /* Adjust modal width to be smaller */
    width: 100%;       /* Make it responsive */
    margin: 30px auto;
}

/* Modal Content Styling */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: #fdfdfd;
    transition: all 0.3s ease-in-out;
}

/* News Item Styles */
.news-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
    padding: 0.5rem; /* Adjust padding for spacing */
    border-bottom: 1px solid #ddd;
}

/* News Image Styles */
.news-img {
    width: 70px;      /* Fixed width for images */
    height: 70px;     /* Fixed height for images */
    border-radius: 8px; /* Rounded corners */
    object-fit: cover;  /* Ensure images maintain aspect ratio */
    margin-right: 10px;  /* Space between image and text */
}

/* News Text Styling */
.news-text {
    flex-grow: 1;  /* Ensures the title stretches to fill the remaining space */
    font-size: 0.85rem;  /* Reduce the text size for compactness */
}

.news-title {
    font-size: 1.1rem;  /* Reduce font size for the title */
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.news-description {
    display: none; /* Hide description */
}

.btn-read-more {
    font-size: 0.8rem;  /* Smaller button font size */
    padding: 5px 10px;
    margin-top: 5px;
}

/* Modal Body */
.modal-body {
    padding: 1rem; /* Adequate padding around the news content */
    font-size: 0.9rem;
    color: #333;
    background-color: #f4f4f4; /* Light gray background for the body */
    border-radius: 0 0 12px 12px; /* Rounded bottom corners */
}

/* Responsive Improvements */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 10px;
        width: 90%; /* Make modal smaller on small screens */
    }

    .modal-body {
        padding: 1rem;
    }

    .news-img {
        width: 50px;  /* Make image smaller on mobile */
        height: 50px; /* Ensure smaller image size on mobile */
    }

    .news-title {
        font-size: 1rem;  /* Adjust title size for small screens */
    }
}


/* General Modal Styling */
.modal-dialog {
    max-width: 500px;  /* Adjust modal width to be more spacious */
    width: 90%;        /* Make it responsive */
    margin: 30px auto; /* Center modal vertically and horizontally */
}

/* Modal Content Styling */
.modal-content {
    border-radius: 12px; /* Rounded corners for a softer look */
    border: none;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */
    transition: all 0.3s ease-in-out;
}

/* Modal Header Styling */
.modal-header {
    background-color: #007bff; /* Blue background for header */
    color: white;              /* White text in header */
    border-bottom: 1px solid #ddd; /* Subtle border below header */
    padding: 15px;
    border-radius: 12px 12px 0 0; /* Rounded top corners */
}

.modal-header .btn-close {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff; /* Close button color changed to white */
}

/* Modal Title Styling */
.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff; /* White color for modal title */
}

/* Modal Body Styling */
.modal-body {
    padding: 20px; /* Adequate padding for content */
    color: #555;   /* Soft text color */
    font-size: 1rem;
    line-height: 1.5; /* Improve text readability */
    background-color: #f4f4f4; /* Light gray background for body */
    border-radius: 0 0 12px 12px; /* Rounded bottom corners */
}

/* Modal Footer Styling */
.modal-footer {
    background-color: #f1f1f1; /* Light background for footer */
    padding: 15px;
    border-top: 1px solid #ddd; /* Subtle border on top */
    text-align: right; /* Right align footer buttons */
}

.modal-footer .btn {
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
}

.modal-footer .btn-primary {
    background-color: #007bff;
    color: #fff;
    border: none;
}

.modal-footer .btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
}

/* Modal Close Button Hover Effect */
.modal-header .btn-close:hover {
    background-color: #0056b3; /* Darker blue on hover */
    border-radius: 50%;
}

/* Responsive Modal Content for Small Screens */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 10px;
        width: 95%; /* Make modal wider on small screens */
    }

    .modal-header, .modal-footer {
        padding: 12px; /* Reduced padding for smaller screens */
    }

    .modal-title {
        font-size: 1.1rem; /* Adjust title font size */
    }

    .modal-body {
        padding: 15px; /* Slightly reduced padding */
    }
}
#todayIcon, #day1Icon, #day2Icon {
    fill: #ff6347;  /* This changes the icon color to Tomato */
    width: 50px; /* Optional: Adjust the size */
    height: 50px; /* Optional: Adjust the size */
}

/* Custom styles for news items */
.news-item {
    display: flex;
    align-items: center;
    gap: 20px; /* Add space between image and text */
}
  
.news-item img {
    width: 50%;  /* Set image width to 50% of the container */
    height: auto; /* Maintain aspect ratio */
}
  
.news-text {
    flex-grow: 1; /* Make sure the text part takes up the remaining space */
}
  
  .news-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
    color:inherit;
    text-decoration: none;
  }
  
  .news-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
  }
  
  .news-url {
    display: inline-block;
    padding: 8px 16px;
    background-color:black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
  }
  
  .news-url:hover {
    background-color: black;
    text-decoration: none;
  }
  
  hr {
    margin: 20px 0;
  }
  .headline-link {
    color:#333;
    text-decoration: none;
}

.headline-link:hover {
    text-decoration: underline;
    color: #0056b3;
}
.news-title a:hover {
    text-decoration: underline;
    color: #0056b3;
  }

  .headline-link:link,
.headline-link:visited,
.headline-link:active {
    color: #333; /* or black (#000) if preferred */
    text-decoration: none;
}
