/* Full-page layout */
body {
    font-family: Arial, sans-serif;
    background: url("background.png") no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column; /* lets title stay above form */
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Fade in + float upwards */
@keyframes fadeInLift {
    0% { opacity: 0; transform: translateY(22px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Centered logo styling */
.logo {
    max-width: 350px;           /* adjust size if needed */
    height: auto;
    margin-bottom: 10px;    /* space above the title */
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5));
    opacity: 0;
    animation: fadeInLift 0.8s ease-out forwards;
    animation-delay: 0s;
}

/* Title at the top center */
h2 {
    color: white;
    text-shadow: 0 0 12px rgba(0,0,0,0.7);
    margin-bottom: 20px;
    font-size: 28px;
    text-align: center;
    opacity: 0;
    animation: fadeInLift 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

/* Form styling (floating card) */
form {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    padding: 30px 50px 30px 30px;
    border-radius: 14px;
    width: 360px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    animation: fadeInLift 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

/* Labels and fields */
label {
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
}

span {
    font-weight: bold;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    border-radius: 6px;
    border: 1px solid #aaa;
    font-size: 14px;
}

/* Radio group */
.rating {
    margin-bottom: 20px;
}
.rating label {
    margin-right: 8px;
    font-weight: normal;
}

/* Submit button */
button {
    padding: 12px;
    background: #0078ff;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.25s;
}
button:hover {
    background: #005fcc;
    transform: translateY(-2px);
}

/* Comments */

/* Container spacing */
#preset-comments,
#comments {
    width: 100%;
    max-width: 500px;
    font-family: Arial, sans-serif;
    margin-top: 6px;
}

/* Select Styling */
#preset-comments {
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fafafa;
    cursor: pointer;
    transition: border 0.2s, background 0.2s;
}

#preset-comments:hover {
    background-color: #f0f0f0;
}

#preset-comments:focus {
    border-color: #4a90e2;
    outline: none;
}

/* Textarea Styling */
#comments {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: vertical;
    background-color: #fff;
    transition: border 0.2s;
    margin-top: 10px;
}

#comments:focus {
    border-color: #4a90e2;
    outline: none;
}

/* Label spacing */
label[for="comments"] {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}
