body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.center-screen {
    width: 100%;
    max-width: 500px;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

h1,
h2 {
    color: #333;
}

.image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.rating-image {
    width: 300px;
    height: 300px;
    object-fit: contain;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.rating-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.rating-buttons {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    margin: 0 10px;
}

.rating-btn {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.rating-btn:hover {
    background-color: #e0e0e0;
}

.rating-btn.selected {
    background-color: #007bff;
    color: white;
}

.rating-label {
    font-weight: bold;
    color: #333;
}

#submit-rating {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

#submit-rating:hover {
    background-color: #0056b3;
}

#submit-rating:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

input[type="text"] {
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

p {
    margin-bottom: 20px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    z-index: 1000;
    display: none;
}

.primary-button {
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 20px auto;
    display: block;
    transition: background-color 0.3s;
}

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