body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}

h1 {
text-align: center;
color: #333;
}

form {
max-width: 500px;
margin: auto;
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
display: block;
margin: 10px 0 5px;
}

input[type="text"], input[type="email"], input[type="tel"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}

button {
margin-top: 10px;
padding: 10px;
border: none;
background-color: #007bff;
color: white;
border-radius: 5px;
cursor: pointer;
}

button:hover {
background-color: #0056b3;
}

nav {
text-align: center;
margin-top: 20px;
}

nav a {
margin: 0 15px;
text-decoration: none;
color: #007bff;
}

nav a:hover {
text-decoration: underline;
}

table {
width: 80%;
margin: auto;
border-collapse: collapse;
}

th, td {
border: 1px solid #ccc;
padding: 8px;
text-align: left;
}

th {
background-color: #f2f2f2;

}

@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  tr {
    margin-bottom: 1rem;
  }

  th {
    background: #f0f0f0;
    font-weight: bold;
  }
}

/* Force consistent column widths */
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th, td {
  padding: 8px;
  vertical-align: top;
  word-wrap: break-word;
}
