

form, .content {
  margin: 0px auto;
  padding: 0px;
  border-radius: 0px 0px 10px 10px;
}
.input-group {
  margin: 10px 0px 10px 0px;
}
.input-group label {
  display: block;
  text-align: left;
  margin: 3px;
}
.input-group input {
  height: 30px;
  width: 93%;
  padding: 5px 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid gray;
}
.btn {
  padding: 10px;
  font-size: 15px;
  font-weight: bold;
  color: white;
  background: linear-gradient(180deg, #3d6fd8 0%, #2654b8 100%);
  border: 1px solid #1a3d8f;
  border-radius: 5px;
  width: 33%;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.92;
}

.btn-vaihda {
  width: auto;
  min-width: 90px;
  padding: 8px 14px;
  font-size: 14px;
}

.error {
  width: 92%;
  margin: 0px auto;
  padding: 10px;
  border: 1px solid #a94442;
  color: #a94442;
  background: #f2dede;
  border-radius: 5px;
  text-align: left;
}

.errorpop-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.55);
}

.errorpop {
  display: block;
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 380px);
  margin: 0;
  padding: 20px 44px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  text-align: left;
  background: linear-gradient(180deg, #3a1518 0%, #2a1012 100%);
  color: #fff;
  font-size: 16px;
  font-weight: normal;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.errorpop__title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f5a0a0;
}

.errorpop__message {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.errorpop__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.errorpop__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Legacy alias */
.errorpop .closepop {
  display: none;
}

/* Legacy popup — superseded by .news-modal in theme.css */
.newspop {
  display: none !important;
}

.newspop p {
  color: black;
  text-shadow: 1px 1px 1px white;
  width: 90%;
  margin: auto;
  padding: 8px;
}

.newspop .closenews {
  position: absolute;
  top: 0px;
  right: 10px;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.success {
  color: #3c763d;
  background: #dff0d8;
  border: 1px solid #3c763d;
  margin-bottom: 20px;
}
