/* Import Modular Styles */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300&family=Roboto:wght@700&display=swap');
@import url('navigation-bar.css');
@import url('modals.css');
@import url('header.css');
@import url('footer.css');
@import url('dropdowns.css');
@import url('buttons.css');
@import url('map.css');
@import url('notifications.css');

/* === Global Reset === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === Global Body Styles === */
body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #333;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent any horizontal scrolling */
    width: 100vw; /* Full width to prevent overflow */
}

/* === Responsive Adjustments === */
@media (max-width: 600px) {
    footer {
        font-size: 0.8em;
        padding: 10px;
    }
}

/* === Main Content Area === */
.content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 5px 20px 10px 15px;
    width: 100%; /* Full width */
    max-width: 1400px; /* Max width for readability on large screens */
    margin: 0 auto;
}

main {
    flex-grow: 1;
    width: 100%; /* Full width */
    overflow-y: auto;
    padding: 10px;
}

/* === Individual Elements === */
input[type="checkbox"] {
    transform: scale(1);
    margin: 0;
    width: auto; /* Reset width */
    height: auto; /* Reset height */
}

/* Style for placeholder text */
input::placeholder {
    color: #999; /* Dim gray color */
    font-style: italic; /* Italicized for distinction */
    opacity: 0.8; /* Slight transparency */
}

/* Dropdown with visible arrow */
select {
    appearance: none; /* Remove native browser styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    padding: 10px 12px; /* Inner spacing */
    font-size: 14px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
}

/* Hover and Focus States */
select:hover,
select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
    outline: none;
}

/* Disabled Dropdown */
select:disabled {
    background-color: #f4f4f4;
    color: #aaa;
    cursor: not-allowed;
}

.location-link {
    all: unset; /* Removes all conflicting styles */
    display:block; /* Maintain proper alignment */
    align-items: left; /* Centers content */
    color: inherit; /* Ensures it inherits color from map.css */
    cursor: pointer; /* Retain interactivity */
}

