/* Global styles */
* {
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  color: #333;
}

body {
  margin: 0;
  background-color: #f8f8f8;
}

h1, h2 {
  font-weight: 500;
  margin: 20px 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}

th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #333;
  color: #fff;
}

/* Form styles */
form {
  max-width: 500px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

input[type="text"],
input[type="submit"] {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 3px;
  font-size: 16px;
  background-color: #f8f8f8;
  transition: box-shadow 0.3s ease-in-out;
}

input[type="text"]:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input[type="submit"] {
  background-color: #333;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

input[type="submit"]:hover {
  background-color: #222;
}

@media only screen and (max-width: 600px) {
  form {
    padding: 20px;
  }
}


/* Add Listing Form */
.input-label {
  display: none; /* hide label titles */
  font-weight: bold;
}

.input-label.active {
  display: inline-block; /* show label titles when input is focused or has content */
}

.input-field {
  padding: 8px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}
