body {
    font-family: 'Times New Roman', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.container {
    max-width: 400px;
    margin: 50px auto;
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 18px;
}

.logo {
    max-width: 70%;
    height: auto;
    margin-top: 10px;
}

.logo-small {
    width: 30%;
    display: block;
    margin: 20px auto;
}

.feedback-form label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.feedback-form textarea {
    width: calc(100% - 16px);
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
}

/* Курсив для тексту підказки */
.feedback-form textarea::placeholder {
    font-style: italic;
    color: #888;
}

.rating-container {
    text-align: center;
    margin-bottom: 15px;
}

.rating-container p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.rating {
    font-size: 32px;
    margin-bottom: 12px;
    text-align: center;
}

.rating span {
    cursor: pointer;
    color: #ccc;
    display: inline-block;
    font-size: 40px;
    margin-right: 3px;
}

.rating span:hover,
.rating span.active {
    color: #ffcc00;
}

.error-message {
    color: red;
    margin-top: 8px;
}

.feedback-form button {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 12px 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.feedback-form button:hover {
    background-color: #45a049;
}

.modal {
    display: none;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f8f8f8;
    padding: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal p {
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
}

.modal button {
    background-color: #4CAF50;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    margin-top: 8px;
}

.modal button:hover {
    background-color: #45a049;
}
