/* ====== Base Styles (Desktop Default) ====== */
form {
  width: 70%;
  margin: 0 auto;
  background: #ffffffcc;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
}

td {
  padding: 8px;
  vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 7px;
  box-sizing: border-box;
  font-size: 14px;
  background: #f6f9fa;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 4px rgba(0,123,255,0.25);
}

/* Buttons */
input[type="submit"],
input[type="button"],
button {
 background-color: #85b3c1 !important;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
  background-color: #357fa1;
}

/* ====== Responsive: One-Column Layout ====== */
@media screen and (max-width: 1024px) {
  form {
    width: 90%;
    padding: 15px;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  td {
    margin-bottom: 12px;
  }

  
  input[type="submit"],
  input[type="button"],
  button {
    width: 100%;
    display: block;
    background-color: #85b3c1 !important;
  }


input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="date"],
  input[type="tel"],
  select,
  textarea
{width: 80vw !important;
 display: block;

}
table{
  align:center !important;
}

li {
  width: 70vw !important;
  
}

p{
line-height: 33px;

}

  textarea {
    height: 100px;
  }

  form {
    box-shadow: none;
  }
}

@media screen and (max-width: 600px) {
  form {
    width: 95%;
    padding: 10px;
  }

  td {
    margin-bottom: 10px;
  }

  button,
  input[type="submit"],
  input[type="button"] {
    font-size: 16px;
    padding: 12px;
  }
}
