/* Style for the Body */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Style for the Form */
form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

/* Header Styling */
h1 {
    text-align: center;
    font-size: 1.5em;
}

/* Label Styling */
label {
    font-size: 0.85em; /* Reduced font size for labels */
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

/* Input and Textarea Styling */
input[type="text"], input[type="email"], textarea, select {
    width: calc(100% - 10px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button Styling */
button {
    display: inline-block;
    padding: 6px 15px; /* Reduced button size */
    font-size: 0.85em; /* Smaller font size */
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Hover Effects for Buttons */
button:hover {
    background-color: #0056b3;
}

/* Style for Reset Button */
#resetButton {
    background-color: #dc3545;
    margin-top: 10px;
}

#resetButton:hover {
    background-color: #c82333;
}

/* Payload Message Styling */
.payload-message {
    background-color: #e8e8e8;
    color: #333;
    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 0.9em;
    word-wrap: break-word;
}
