link for style.css
body {
font-family: Arial, sans-serif;
}
form {
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color: #f4f4f4;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
margin-bottom: 20px;
}
div {
margin-bottom: 10px;
}
label {
display: block;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
select,
textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
input[type="checkbox"] {
margin-right: 5px;
}
button {
display: block;
margin-top: 10px;
padding: 10px 20px;
background-color: #007BFF;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
#totalCost {
font-weight: bold;
border: none;
}
#generatePDF {
background-color: #28a745;
}
#calculate {
background-color: #007BFF;
}
#generatePDF, #calculate {
width: 50%;
margin-left: auto;
margin-right: auto;
}
#generatePDF:hover, #calculate:hover {
background-color: #0056b3;
}
#error {
color: red;
margin-top: 10px;
}
0 Comments