body {
    font-family: Arial, sans-serif;
}

header {
    background: #333;
    color: white;
    padding: 10px 0;
}

header h1 {
    margin: 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

main {
    padding-bottom: 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-section {
    margin-bottom: 30px;
}

.search-box {
    margin-top: 20px;
}

.search-box input {
    padding: 10px;
    width: 300px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-box button {
    padding: 10px 20px;
    font-size: 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
}

.search-box button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.search-box button:hover:not(:disabled) {
    background: #0056b3;
}

.suggestions {
    margin-top: 10px;
    max-width: 500px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: none;
}

.suggestions.show {
    display: block;
}

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

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

.suggestion-item:hover {
    background: #f8f9fa;
}

.loading {
    text-align: center;
    padding: 20px;
    font-size: 18px;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.hidden {
    display: none;
}

.results {
    margin-top: 30px;
}

.board-header {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.board-header h2 {
    margin: 0 0 10px 0;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.services-table th {
    background: #333;
    color: white;
    padding: 12px;
    text-align: left;
}

.services-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.services-table tr:hover {
    background: #f8f9fa;
}

.service-link {
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
}

.service-link:hover {
    text-decoration: underline;
}

.on-time {
    color: #28a745;
    font-weight: bold;
}

.delayed {
    color: #dc3545;
    font-weight: bold;
}

.cancelled {
    color: #dc3545;
    font-weight: bold;
    text-decoration: line-through;
}

.service-details {
    background: #f8f9fa;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.service-details h3 {
    margin-top: 0;
}

.calling-points {
    margin-top: 15px;
}

.calling-points ul {
    list-style: none;
    padding: 0;
}

.calling-points li {
    padding: 8px;
    border-left: 3px solid #007bff;
    margin-left: 10px;
    margin-bottom: 5px;
}
