body {
    font-family: system-ui, sans-serif;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    line-height: 1.6;
}
select, button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    font-size: 16px;
}
input {
    width: 100%; 
    margin: 10px 0;
    padding: 10px;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
    font-size: 16px;
}
button {
    background: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
}
button:hover {
    background: #0052a3;
}

#find-deputy {
    width: 100%;
    background: #28a745;
    margin-top: 5px;
}

#find-deputy:hover {
    background: #218838;
}

nav {
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 2px solid #ddd;
}

nav a {
    margin-right: 20px;
    text-decoration: none;
    color: #0066cc;
}

nav a:hover {
    text-decoration: underline;
}

form {
    max-width: 600px;
}

form div {
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input[type="text"],
form textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}

form textarea {
    resize: vertical;
}

form small {
    color: #666;
    font-size: 14px;
}

form button {
    background: #0066cc;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

form button:hover {
    background: #0052a3;
}

#form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.autocomplete-container {
    position: relative;
    width: 100%;
}

#suggestions {
    position: absolute;
    max-width: 600px;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

.suggestion-item {
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.loading {
    padding: 12px;
    color: #666;
}

.no-results {
    padding: 12px;
    text-align: center;
    color: #999;
}

#result {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    display: none;
}
