* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #0f0f0f;
  color: #e8eaed;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card {
  width: 100%;
  max-width: 450px;
  padding: 48px 40px 36px;
  margin-top: 64px;
}

.logo img {
  height: 48px;
}

h1 {
  font-size: 32px;
  font-weight: 400;
  margin: 24px 0 8px;
}

.subtitle {
  color: #bdc1c6;
  font-size: 16px;
  margin-bottom: 32px;
}

.input-wrapper input {
  width: 100%;
  padding: 14px 12px;
  background: transparent;
  border: 1px solid #5f6368;
  border-radius: 4px;
  color: #e8eaed;
  font-size: 16px;
}

.input-wrapper input::placeholder {
  color: #9aa0a6;
}

.input-wrapper input:focus {
  outline: none;
  border-color: #8ab4f8;
}

.link {
  display: inline-block;
  margin-top: 12px;
  color: #8ab4f8;
  text-decoration: none;
  font-size: 14px;
}

.link:hover {
  text-decoration: underline;
}

.hint span,
.hint a {
  display: inline;
}

.about {
	color: #8ab4f8;
}


.hint {
  margin-top: 32px;
  font-size: 14px;
  color: #bdc1c6;
  line-height: 1.4;
}

.link-inline {
  color: #8ab4f8;
  cursor: pointer;
  text-decoration: none;
}

.hint-link {
  text-decoration: none;
}

.hint-link:hover {
  text-decoration: underline; /* опционально — подчёркивание при наведении */
}


.link-inline:hover {
  text-decoration: underline;
}

.actions {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn {
  background: #8ab4f8;
  color: #202124;
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.btn:hover {
  background: #a1c2fa;
}

footer {
  margin-top: auto;
  width: 100%;
  max-width: 450px;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  color: #9aa0a6;
  font-size: 12px;
}

.footer-links a {
  margin-left: 16px;
  color: #9aa0a6;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Выбор языка */
.lang-wrapper {
  width: 125px;
}

.lang-select {
  width: 100%;
  padding: 16px 44px 16px 18px;
  font-size: 12px;
  color: #9aa0a6;
  background-color: #0f0f0f;
  border-radius: 10px;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* стрелка */
.lang-wrapper {
  position: relative;
}

.lang-wrapper::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;

  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 3px solid #aaa; /* ▼ */
}

/* выпадающий список */
.lang-select option {
  background: #2b2d31;
  color: #9aa0a6;
}

/* активный пункт */
.lang-select option:checked {
  background: #54627a;
}

