:root {
  --brand: #3d2b97;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: white;
  color: var(--brand);
  font-family: Georgia, serif;
}

header {
  text-align: center;
  padding-top: 50px;
}

header h1 {
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 8px;
  display: inline-block;
  border-bottom: 3px solid var(--brand);
  padding-bottom: 15px;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

#logoContainer {
  text-align: center;
}

#logo {
  width: 420px;
  max-width: 80vw;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#logo:hover {
  transform: scale(1.02);
}

.instruction {
  margin-top: 20px;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.hidden {
  display: none;
}

.login-window {
  width: 360px;
  border: 1px solid var(--brand);
  background: white;
  font-family: Arial, sans-serif;
}

.login-header {
  background: var(--brand);
  color: white;
  padding: 12px;
  font-weight: bold;
}

#loginForm {
  padding: 20px;
}

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.field input {
  width: 100%;
  padding: 8px;
  border: 1px solid #999;
}

button {
  padding: 8px 18px;
  border: 1px solid var(--brand);
  background: white;
  color: var(--brand);
  cursor: pointer;
}

button:hover {
  background: #f2f2f2;
}

.error {
  margin-top: 15px;
  color: #c00000;
  font-size: 14px;
}

footer {
  background: var(--brand);
  color: white;
  padding: 40px 30px 20px;
  font-family: Arial, sans-serif;
  border-top: 3px solid rgba(255, 255, 255, 0.15);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.footer-column {
  min-width: 200px;
  text-align: left;
}

.footer-column strong {
  display: block;
  margin-bottom: 12px;
  padding-bottom: 6px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-column p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  margin-top: 35px;
  padding-top: 15px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  header h1 {
    font-size: 24px;
    letter-spacing: 4px;
  }

  #logo {
    width: 300px;
  }

  .footer-content {
    flex-direction: column;
    gap: 25px;
  }

  .footer-column {
    min-width: auto;
    text-align: center;
  }

  .footer-column strong {
    border-bottom: none;
  }
}

button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.footer-column a,
.footer-column a:link,
.footer-column a:visited,
.footer-column a:hover,
.footer-column a:active {
  color: #fff !important;
  text-decoration: none;
  -webkit-text-fill-color: #fff;
}

a[href^="tel"],
a[href^="mailto"] {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.language-switcher {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 4px;
  cursor: pointer;
}

.lang-btn img {
  width: 32px;
  height: auto;
  display: block;
}

.lang-btn.active {
  transform: scale(1.1);
  opacity: 1;
}

.lang-btn {
  opacity: 0.7;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  opacity: 1;
}
.lei {
  display: inline-block;
  margin-top: 6px;
}
