body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #005A9C;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    font-size: 24px;
}

#map {
    height: 400px;
    margin-top: 20px;
    width: 50%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

#photo-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
}

#photo-gallery img:hover,
#photo-gallery img.selected {
    transform: scale(1.03);
    cursor: pointer;
    border: 2px solid #007BFF;
}

#loadingIndicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-size: 18px;
    display: none;
    z-index: 100;
}

/* Optional: Add a footer for a more complete look */
footer {
    text-align: center;
    padding: 20px;
    background-color: #005A9C;
    color: white;
    margin-top: 20px;
    position: relative;
    bottom: 0;
    width: calc(100% - 40px);
}
/* General Button Styling */
button, input[type="submit"], input[type="file"] {
    font-size: 16px; /* Larger font size */
    padding: 10px 20px; /* Larger padding for better touch area */
    color: #fff; /* White text */
    background-color: #007bff; /* Bootstrap primary color for example */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Cursor indicates clickable item */
    outline: none;
    margin: 5px; /* Space between buttons */
}

button:hover, input[type="submit"]:hover, input[type="file"]:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

/* Specific adjustments for the file input button */
input[type="file"] {
    color: transparent;
}

input[type="file"]::before {
    content: 'Choose Files';
    display: inline-block;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    outline: none;
    white-space: nowrap;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
}

/* Change button text when file is chosen */
input[type="file"]:hover::before {
    background-color: #0056b3;
}

/* Adjust the file path text display */
input[type="file"]:change {
    color: #000;
    font-size: 14px;
}

/* Style adjustments for the export button, if needed */
#export-btn {
    background-color: #28a745; /* Bootstrap success color for example */
}

#export-btn:hover {
    background-color: #218838; /* Darker shade on hover */
}
