* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  background: #f8f9fb;
  color: #333;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.logo-placeholder {
  width: 120px;
  height: 40px;
  background: #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
}

.header-right a {
  margin-left: 16px;
  text-decoration: none;
  color: #007bff;
}

/* MAIN */
.container {
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  gap: 40px;
  padding: 0 20px;
}

.left {
  flex: 1;
}

.right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.alert {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  padding: 14px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert a {
  color: #007bff;
  text-decoration: none;
}

.form-box {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  width: 100%;
  max-width: 400px;
}

.form-box label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.form-box input {
  width: 100%;
  padding: 10px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-box button {
  width: 100%;
  padding: 12px;
  background: #4caf50;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.hint {
  margin-top: 14px;
  font-size: 13px;
  color: #007bff;
}

/* DOCUMENT */
.document {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.document img {
  max-width: 100%;
  height: auto;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #777;
}

/* MOBILE */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .right {
    order: 2;
  }

  .left {
    order: 1;
  }

  .header {
    padding: 14px 20px;
  }
}



.lang {
  position: relative;
  display: inline-block;
}

.lang button {
  background: none;
  border: none;
  cursor: pointer;
  color: #007bff;
  font-size: 14px;
}

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-width: 120px;
  z-index: 10;
}

.lang-menu div {
  padding: 8px 12px;
  cursor: pointer;
}

.lang-menu div:hover {
  background: #f0f0f0;
}

.lang:hover .lang-menu {
  display: block;
}


.loader {
  display: none;
  margin: 15px auto;
  width: 32px;
  height: 32px;
  border: 4px solid #ddd;
  border-top: 4px solid #4caf50;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error {
  display: none;
  margin-top: 12px;
  color: #d32f2f;
  font-size: 14px;
  text-align: center;
}



/* -------------------------------------------------------------------------- */