html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: #333;
  text-align: center;
}

.header-image {
  width: 100%;
  display: block;
}

.container {
  max-width: 600px;
  margin: 40px auto;
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

input[type="password"] {
  width: 100%;
  padding: 14px;
  font-size: 18px;
  border: 2px solid #9ccc65;
  border-radius: 8px;
  outline: none;
  margin-bottom: 25px;
  box-sizing: border-box;
}

button {
  width: 100%;
  padding: 15px;
  font-size: 20px;
  background: #66bb6a;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #57a65a;
}

.footer {
  font-size: 14px;
  margin-top: auto;
  background: #009900;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  line-height:1.5em;
}

.error-message {
  background: #ffdddd;
  color: #c00;
  padding: 12px 15px;
  border: 1px solid #ff8888;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 16px;
}

.fadeout {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.certificate-button-wrapper {
  text-align: center;
  margin: 40px 0;
}

.btn-certificate {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  background-color: #009900;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
}

.btn-certificate:hover {
  background-color: #00aa00;
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.btn-certificate:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
