/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f6f8;
  margin: 0;
  padding: 0;
}

/* Header Section */
.header {
  background-color: #003366;
  color: white;
  padding: 20px 10px;
  text-align: center;
}

.header h2 {
  margin: 0;
  font-size: 28px;
  text-transform: uppercase;
}

.header small {
  font-size: 14px;
}

/* Container */
.container {
  max-width: 800px;
  margin: 30px auto;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 10px;
}

/* Section Titles */
.section-title {
  background-color: #00509e;
  color: white;
  padding: 8px 12px;
  margin-top: 20px;
  font-weight: bold;
  border-radius: 5px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

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

th {
  background-color: #f0f0f0;
  font-weight: bold;
}

td {
  background-color: #fff;
}

/* Print Button */
.print-btn {
  background-color: #333;
  color: white;
  padding: 12px 20px;
  border: none;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}

.print-btn:hover {
  background-color: #000;
}

/* Photo Section */
.photo {
  margin: 15px 0;
  text-align: center;
}

.photo img {
  border-radius: 8px;
  border: 2px solid #ccc;
  max-width: 150px;
}

/* Hide result section by default */
#result-section {
  display: none;
}

/* Input Field Section */
#form-section {
  text-align: center;
}

#form-section input {
  padding: 10px;
  width: 70%;
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 10px;
}

#form-section button {
  padding: 10px 20px;
  background-color: #00509e;
  color: white;
  border: none;
  border-radius: 5px;
  margin-left: 10px;
  cursor: pointer;
}

#form-section button:hover {
  background-color: #003f7d;
}

#error {
  color: red;
  margin-top: 10px;
}
/* print style */
@media print {
  .print-btn, #form-section {
    display: none;
  }
  body {
    background: white;
  }
}
