/* Neurokod header font revert v0.8.2 */

.header-cabinet-layout .header-inner {
  display: grid !important;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.header-cabinet-layout .logo {
  margin-right: 4px;
}

.header-cabinet-layout .nav {
  justify-content: flex-start !important;
  gap: 18px !important;
  margin-left: 0 !important;
}

.header-cabinet-layout .nav a,
.header-cabinet-layout .phone {
  font-size: 14px !important;
  line-height: 1.2 !important;
  color: #31464f !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap;
}

.header-cabinet-layout .nav a:hover,
.header-cabinet-layout .phone:hover {
  color: #0f7f82 !important;
}

.header-cabinet-layout .phone {
  text-decoration: none !important;
  margin: 0 !important;
}

.header-cabinet-layout .header-actions {
  justify-self: end;
  display: flex !important;
  align-items: center;
  gap: 14px !important;
  min-width: 0;
}

.header-cabinet-layout .header-appointment-btn {
  min-height: 46px !important;
  padding: 12px 22px !important;
  white-space: nowrap;
}

.header-cabinet-layout .header-account-btn {
  min-height: 46px !important;
  padding: 12px 20px !important;
  border-radius: 999px;
  background: #eef6f7;
  color: #0f7f82;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: none;
}

.header-cabinet-layout .header-account-btn:hover {
  background: #dff5f4;
}

.account-section {
  padding: 44px 0 70px;
}

.account-card {
  width: min(620px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dbe8eb;
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 16px 42px rgba(18,32,38,.055);
}

.account-card h1 {
  margin: 0 0 10px;
  color: #0e252e;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.account-card p {
  color: #526772;
  line-height: 1.6;
}

.account-form label {
  display: block;
  margin: 16px 0 7px;
  color: #31464f;
  font-weight: 900;
}

.account-form input {
  width: 100%;
  border: 1px solid #dbe8eb;
  border-radius: 14px;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
  color: #122026;
  background: #fff;
}

.account-form .btn {
  margin-top: 20px;
}

.account-message {
  padding: 13px 15px;
  border-radius: 14px;
  margin: 18px 0;
  font-weight: 800;
}

.account-message.ok {
  background: #dff5f4;
  color: #0f7f82;
  border: 1px solid #bfe8e5;
}

.account-message.error {
  background: #ffe8e8;
  color: #9c2222;
  border: 1px solid #ffc7c7;
}

.account-links {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.account-links a {
  color: #0f7f82;
  font-weight: 900;
}

.account-panel {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.account-panel-item {
  background: #f6f9fb;
  border: 1px solid #dbe8eb;
  border-radius: 16px;
  padding: 16px;
}

.account-panel-item strong {
  display: block;
  color: #0e252e;
  margin-bottom: 4px;
}

.account-panel-item span {
  color: #526772;
}

@media (max-width: 1180px) {
  .header-cabinet-layout .header-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .header-cabinet-layout .nav {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .header-cabinet-layout .phone,
  .header-cabinet-layout .header-account-btn {
    display: none !important;
  }

  .header-cabinet-layout .header-actions {
    gap: 8px !important;
  }
}
