/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  min-height: 100vh;
  color: #222;
  background: linear-gradient(-45deg, #e0f7fa, #f1f8e9, #e3f2fd, #fff3e0);
  background-size: 400% 400%;
  animation: moveBackground 15s ease infinite;
  padding-bottom: 80px;
}

/* Header and Nav */
header {
  background-color: #00695c;
  color: white;
  padding: 20px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
  margin-bottom: 10px;
}

nav ul {
  list-style-type: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Main Content */
main {
  padding: 40px 30px;
}

section {
  margin-bottom: 30px;
}

h2 {
  color: #00796b;
  margin-bottom: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: #00796b;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 8px;
  margin: 10px 5px;
  transition: 0.3s ease;
}

.btn:hover {
  background-color: #004d40;
}

/* Forms */
form {
  background-color: #f9fbe7;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  max-width: 600px;
  margin-top: 20px;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

form input[type="text"],
form input[type="email"],
form input[type="file"],
form textarea,
form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #cfd8dc;
  border-radius: 6px;
}

form textarea {
  resize: vertical;
}

form input[type="submit"],
form button {
  background-color: #00796b;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

form input[type="submit"]:hover,
form button:hover {
  background-color: #004d40;
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #004d40;
  color: white;
  text-align: center;
  padding: 15px 0;
}

/* Animated Background */
@keyframes moveBackground {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* Form Centering Styles */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 100px); /* subtract header/footer height */
  padding: 20px;
}

.auth-box {
  background-color: #ffffffcc;
  backdrop-filter: blur(6px);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 400px;
  width: 100%;
}

.auth-box form > div {
  margin-bottom: 20px;
}

.auth-box label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.auth-box input[type="text"],
.auth-box input[type="email"],
.auth-box input[type="password"],
.auth-box input[type="file"],
.auth-box textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.auth-box button,
.auth-box input[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: #00796b;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.auth-box button:hover,
.auth-box input[type="submit"]:hover {
  background-color: #004d40;
}
/* === EMP Audit Form Styling === */
.audit-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background: #ffffffcc;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.audit-form h2,
.audit-form h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #004d40;
}

.audit-form hr {
  margin: 30px 0 20px;
  border: none;
  border-top: 1px solid #ccc;
}

.audit-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.audit-form input[type="text"],
.audit-form textarea,
.audit-form input[type="date"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.audit-form textarea {
  resize: vertical;
}

.radio-group,
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.audit-form .btn-group {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.audit-form button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #00796b;
  border: none;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.audit-form button:hover {
  background-color: #004d40;
}
