body {
    font-family: 'Source Sans 3', sans-serif;
    background: url('../images/tile.png') repeat #f4f4f4;
    margin: 0;
    padding: 2rem;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #54a4e1;
    font-size: 2.75rem;
    font-weight: 300;
}

.subtitle {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #555;
}

.search-form {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.search-form input[type="text"] {
    width: 250px;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.search-form button,
.search-form .btn-clear {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.search-form button {
    background-color: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

.search-form button:hover {
    background-color: #004085;
}

.search-form .btn-clear {
    background-color: #e2e8f0;
    color: #334155;
    border-color: #cbd5e1;
}

.search-form .btn-clear:hover {
    background-color: #cbd5e1;
}

.rating-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star-picker {
    display: inline-flex;
    gap: 4px;
    cursor: pointer;
}

.star-picker img {
    width: 20px;
    height: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #ddd;
    vertical-align: middle;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

tbody tr:hover {
    background-color: #f1f5f9;
}

.text-center { text-align: center; }

.rating-stars {
    display: inline-flex;
    gap: 2px;
}

.rating-stars img {
    width: 20px;
    height: 20px;
    display: block;
}

th {
    background-color: #EAECEC;
    text-align: center;
}

th:first-child {
    text-align: left;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination a, 
.pagination span {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
}

.pagination a:hover {
    background: #eee;
}

.pagination .active {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

.pagination .disabled {
    color: #aaa;
    border-color: #eee;
    pointer-events: none;
}
