/* General body styling */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1e1e1e 0%, #3a3a3a 100%);
  color: #e0e0e0;
  margin: 0;
  padding: 30px 0;
}

/* Center container */
center {
  max-width: 900px;
  margin: auto;
  padding: 0 20px;
}

/* Headings */
h1 {
  font-family: 'Arial Black', sans-serif;
  font-size: 2.2rem;
  color: #ff3b3b;
  margin-bottom: 10px;
  text-shadow: 0 0 8px #ff3b3b;
}

h2 {
  font-size: 1.5rem;
  color: #ff6f6f;
  margin-bottom: 20px;
  text-shadow: 0 0 5px #ff6f6f;
}

/* Horizontal rule */
hr {
  border: 0;
  height: 3px;
  background: #ff3b3b;
  box-shadow: 0 0 6px #ff3b3b;
  margin: 30px 0;
}

/* Table Styling */
table {
  width: 100%;
  max-width: 650px;
  margin: 20px auto;
  border-collapse: collapse;
  text-align: left;
  background-color: #2b2b2b;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 59, 59, 0.5);
  overflow: hidden;
}

td {
  padding: 12px;
  font-size: 1rem;
  color: #ddd;
  vertical-align: top;
}

input[type="text"],
input[type="number"],
input[type="file"],
select {
  width: 100%;
  padding: 8px;
  font-size: 1rem;
  background-color: #444;
  color: #fff;
  border: 1px solid #666;
  border-radius: 6px;
  box-sizing: border-box;
}

input[type="radio"] {
  margin-right: 6px;
}

input[type="submit"],
input[type="reset"] {
  padding: 10px 18px;
  background-color: #ff3b3b;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

input[type="submit"]:hover,
input[type="reset"]:hover {
  background-color: #ff1a1a;
}

/* Links */
a {
  color: #ff6f6f;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.25s ease-in-out;
}

a:hover {
  color: #ff1a1a;
  text-decoration: underline;
}

/* Image in heading */
h1 img {
  vertical-align: middle;
  margin-left: 10px;
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 4px #ff3b3b);
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  body {
    padding: 20px 10px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  tr {
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
  }

  td {
    padding: 8px 10px;
    font-size: 0.95rem;
  }

  td:first-child {
    font-weight: bold;
    color: #ff6f6f;
  }

  input[type="submit"],
  input[type="reset"] {
    width: 100%;
    margin-top: 10px;
  }

  center {
    padding: 0 10px;
  }
}
