:root {
  font-family: Tahoma, Arial, sans-serif;
  color: #16392e;
  background: #f2f6f4;
  line-height: 1.9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: #0c2c23;
  color: white;
  padding: 28px 20px;
  text-align: center;
}
header img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}
header strong {
  display: block;
  font-size: 25px;
  letter-spacing: 4px;
}
header p {
  margin: 0;
  color: #c0f45a;
}
main {
  max-width: 800px;
  margin: 28px auto;
  padding: 28px;
  background: white;
  border: 1px solid #dce7e1;
  border-radius: 20px;
}
h1 {
  font-size: 27px;
  line-height: 1.5;
}
h2 {
  font-size: 20px;
  margin-top: 28px;
}
a {
  color: #176749;
}
footer {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  text-align: center;
  font-size: 12px;
}
footer a {
  display: inline-block;
  margin: 5px 10px;
}
label {
  display: block;
  margin-top: 16px;
}
input {
  width: 100%;
  padding: 13px;
  font: inherit;
  border: 1px solid #9cafaa;
  border-radius: 10px;
}
button,
.action {
  display: inline-block;
  background: #c0f45a;
  color: #0c2c23;
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  text-decoration: none;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.danger {
  background: #a52e3b;
  color: white;
}
.note {
  padding: 16px;
  background: #f2f6f4;
  border-radius: 12px;
}
.error {
  color: #a52e3b;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #176749;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  main {
    margin: 16px 12px;
    padding: 20px;
  }
  h1 {
    font-size: 23px;
  }
}

.language-control { position:relative; display:flex; direction:rtl; justify-content:center; align-items:center; gap:8px; min-height:44px; padding:0 8px; border-radius:8px; }
.language-code { direction:ltr; font-weight:700; }
.language-control select { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.language-control:focus-within { outline:2px solid currentColor; outline-offset:2px; }
