body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.container {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.loading {
    text-align: center;
    color: #666;
}

.error {
    color: red;
    background: #ffebee;
    padding: 10px;
    border-radius: 4px;
}

.success {
    color: green;
    background: #e8f5e8;
    padding: 10px;
    border-radius: 4px;
}

input, button {
    padding: 10px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    background: #007bff;
    color: white;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

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

.recommendations {
    margin-top: 20px;
}

.movie-item {
    background: white;
    padding: 15px;
    margin: 8px 0;
    border-radius: 4px;
    border-left: 4px solid #007bff;
}

.movie-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.movie-id {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.movie-score {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.letterboxd-section {
    border: 2px solid #00c030;
    background: #f0fff0;
}

.letterboxd-films {
    margin-top: 15px;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    padding: 10px;
    border-radius: 4px;
}

.letterboxd-film {
    padding: 5px;
    margin: 2px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.matched {
    color: #00c030;
    font-weight: bold;
}

.unmatched {
    color: #888;
}

.tab-container {
    display: flex;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
}

.tab.active {
    background: #007bff;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Add these styles to your existing CSS */

.letterboxd-options {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.rating-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-btn {
    padding: 10px 15px;
    border: 1px solid #007bff;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.rating-btn:hover:not(:disabled) {
    background-color: #0056b3;
}

.rating-btn:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}

.rating-group {
    margin: 15px 0;
    padding: 10px;
    border-left: 3px solid #007bff;
    background-color: #f8f9fa;
}

.rating-group h6 {
    margin: 0 0 10px 0;
    color: #007bff;
    font-weight: bold;
}

.film-count {
    font-style: italic;
    color: #6c757d;
    margin-top: 5px;
}

.no-ratings {
    color: #6c757d;
    font-style: italic;
    margin: 10px 0;
}