<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Review Your Stay</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5; /* Light background */
margin: 0;
padding: 0;
}
.container {
max-width: 800px;
margin: 50px auto;
background-color: #fff; /* White background for the form */
padding: 40px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
h1 {
text-align: center;
font-size: 28px;
color: #333; /* Neutral heading color */
margin-bottom: 30px;
}
form {
display: flex;
flex-direction: column;
}
label {
font-size: 16px;
margin-bottom: 8px;
color: #333;
}
input[type="text"],
input[type="email"],
select,
textarea {
padding: 14px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
width: 100%;
box-sizing: border-box;
}
textarea {
resize: vertical;
}
input[type="submit"] {
background-color: #007BFF; /* Your site's primary button color */
color: white;
border: none;
border-radius: 5px;
padding: 15px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s ease;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.footer-text {
text-align: center;
font-size: 14px;
color: #888; /* Subtle footer text */
margin-top: 20px;
}
a {
color: #007BFF; /* Link color consistent with buttons */
text-decoration: none;
}
</style>
</head>
<body>
<div class="container">
<h1>Review Your Stay</h1>
<form action="/submit-review" method="POST">
<label for="name">Your Name</label>
<input type="text" id="name" name="name" placeholder="Enter your name" required>
<label for="email">Your Email</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required>
<label for="rating">Rating</label>
<select id="rating" name="rating" required>
<option value="" disabled selected>Select your rating</option>
<option value="5">Excellent (5 stars)</option>
<option value="4">Very Good (4 stars)</option>
<option value="3">Good (3 stars)</option>
<option value="2">Fair (2 stars)</option>
<option value="1">Poor (1 star)</option>
</select>
<label for="comments">Comments</label>
<textarea id="comments" name="comments" rows="5" placeholder="Share your experience..." required></textarea>
<input type="submit" value="Submit Review">
</form>
<p class="footer-text">By submitting this form, you agree to our <a href="#">terms and conditions</a>.</p>
</div>
</body>
</html>