/* Reset some basic styles */
body, h1, p, input, button {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #f4f4f9;
}

header {
    background-color: #4b306a;
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #fff;
    margin-left: 20px;
}

header nav a {
    color: #fff;
    margin-right: 20px;
    text-decoration: none;
    font-weight: bold;
}

main .container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-bar input {
    width: 70%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 30px 0 0 30px;
    outline: none;
}

.search-bar button {
    padding: 10px 20px;
    border: none;
    background-color: #5a9e6f;
    color: #fff;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #468958;
}

.content {
    display: flex;
    justify-content: space-between;
}

#map {
    width: 60%;
    height: 500px;
    border-radius: 8px;
}

.results {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.result-item {
    display: flex;
    gap: 15px;
    background-color: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    align-items: center;
}

.result-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.result-item div {
    flex-grow: 1;
}

.result-item div p {
    margin-bottom: 5px;
}

.result-item div p:last-child {
    font-size: 0.9em;
    color: gray;
}
