
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

.title {
    font-size: 3rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0;
}

.subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-top: 5px;
}

.search-form {
    width: 100%;
    display: flex;
    margin-top: 30px;
}

.search-bar {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.search-button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    margin-left: -50px;
    transition: background-color 0.2s;
}

.search-button:hover {
    background-color: #0056b3;
}

/* Results Page */
.header {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.home-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: #007bff;
    text-decoration: none;
    margin-right: 20px;
}

.search-form-results {
    flex-grow: 1;
    display: flex;
}

.results-info {
    color: #6c757d;
    margin-bottom: 20px;
}

.results-list {
    list-style: none;
    padding: 0;
}

.result-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.result-title a {
    font-size: 1.2rem;
    font-weight: 500;
    color: #0056b3;
    text-decoration: none;
}

.result-title a:hover {
    text-decoration: underline;
}

.result-details {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #5a5a5a;
}

.result-details span {
    margin-right: 20px;
}

.price {
    color: #d9534f;
    font-weight: bold;
}

.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a {
    color: #007bff;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin: 0 4px;
    border-radius: 4px;
}

.pagination a.active {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.pagination a:hover:not(.active) {
    background-color: #f2f2f2;
}
