body {
  margin: 0;
  padding: 0;
  background-image: url('../images/auth-bg.png');
  background-size: cover;
  background-position: center;
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
  min-height: 100vh;
}

.bodydiv {
  margin: 0;
  text-align: center;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bigdiv {
  margin: auto;
  display: table;
  text-align: center;
  width: 60%;
  max-width: 900px;
}

.div2 {
  display: table-cell;
  vertical-align: middle;
}

.auth-card {
  vertical-align: middle;
  background-color: rgba(0, 0, 0, 0.50);
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.auth-logo {
  padding: 20px;
  width: 40%;
  max-width: 260px;
  height: auto;
  display: inline-block;
}

h3 {
  color: white;
  margin: 10px;
  font-weight: 500;
}

.form-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.form-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.forminput {
  margin: 6px;
  width: 220px;
  font-size: 16pt;
  height: 40px;
  padding: 3px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.forminput[type="text"],
.forminput[type="password"] {
  text-align: center;
}

.lang-select {
  font-size: 14pt;
}

.submit-btn {
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
}

.submit-btn:hover:not(:disabled) {
  background-color: #45a049;
}

.submit-btn:disabled {
  background-color: #888;
  cursor: not-allowed;
  opacity: 0.7;
}

.error {
  color: white;
  padding: 10px;
  margin-top: 15px;
  background: rgba(229, 115, 115, 0.95);
  border-radius: 4px;
  font-size: 13pt;
}

.main-site {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 13pt;
  text-decoration: none;
  transition: background-color 0.2s;
}

.main-site:hover {
  background: rgba(255, 255, 255, 0.22);
}

.ui-autocomplete-loading {
  background: white url("../images/loader.gif") right center no-repeat;
}
