body {
  background: linear-gradient(120deg, #e6f0fa 0%, #f3f7fa 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', Arial, sans-serif;
}

form {
  max-width: 400px;
  margin: 90px auto;
  padding: 32px 24px 24px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(79, 140, 255, 0.10);
  text-align: center;
  border: 1px solid #f0f4fa;
}

form h2 {
  margin-bottom: 18px;
  color: #4f8cff;
  font-weight: 700;
  font-size: 1.35em;
  letter-spacing: 0.5px;
}

input[type="text"], input[type="email"], input[type="password"], .textarea-field {
  width: 100%;
  margin: 8px 0 14px 0;
  padding: 12px 12px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  font-size: 1em;
  background: #f3f7fa;
  color: #222;
  transition: border 0.18s, background 0.18s;
  font-family: 'Segoe UI', Arial, sans-serif;
  box-sizing: border-box;
  display: block;
}

input:focus, .textarea-field:focus {
  border: 1.5px solid #4f8cff;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.10);
}

.textarea-field {
  min-height: 120px;
  resize: vertical;
}

button {
  width: 100%;
  padding: 12px 0;
  margin-top: 10px;
  background: linear-gradient(90deg, #4f8cff 0%, #6fc3ff 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.08em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 2px 8px rgba(79, 140, 255, 0.10);
}

button:hover {
  background: linear-gradient(90deg, #6fc3ff 0%, #4f8cff 100%);
}

form p {
  margin-top: 18px;
  color: #7a8fa6;
  font-size: 0.98em;
}

form a {
  color: #4f8cff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s;
}

form a:hover {
  color: #2a6cff;
  text-decoration: underline;
}

select.input-field {
  width: 100%;
  margin: 8px 0 14px 0;
  padding: 12px 12px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  font-size: 1em;
  background: #f3f7fa;
  color: #222;
  transition: border 0.18s, background 0.18s;
  font-family: 'Segoe UI', Arial, sans-serif;
  box-sizing: border-box;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}
select.input-field:focus {
  border: 1.5px solid #4f8cff;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.10);
}

.tabs {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 0 32px;
  min-height: 60px;
  font-family: 'Segoe UI', Arial, sans-serif;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 2px 8px rgba(79, 140, 255, 0.07);
  margin-top: -2px;
  position: relative;
  z-index: 1;
}

.tabs button {
  margin-right: 18px;
  padding: 10px 28px;
  background: var(--bg-light);
  border: none;
  border-radius: 10px 10px 0 0;
  font-size: 1.08em;
  color: #2d3a4a;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  outline: none;
  position: relative;
  top: 6px;
  box-shadow: 0 2px 8px rgba(79, 140, 255, 0.04);
}

.tabs button:hover,
.tabs button.active {
  background: var(--bg-hover);
  color: var(--accent-color);
}

.profile {
  margin-left: auto;
  font-weight: 600;
  color: var(--accent-color);
  background: var(--bg-light);
  border-radius: 50px;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 1px 4px rgba(79, 140, 255, 0.07);
  font-size: 1.05em;
  position: relative;
  top: 6px;
}

.profile:hover {
  background: var(--bg-hover);
}

/* --- Мобильная адаптация только для .tabs и кнопок --- */
@media (max-width: 700px) {
  .tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 2vw;
    min-height: 44px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(79, 140, 255, 0.07);
    margin-top: -2px;
    overflow-x: hidden;
  }
  .tabs button {
    flex: 1 1 0;
    margin: 0 2px 0 0;
    padding: 7px 0;
    border-radius: 8px 8px 0 0;
    font-size: 0.83em; /* уменьшено на 10% */
    top: 1px;
    box-shadow: none;
    text-align: center;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    line-height: 1.1;
  }
  .tabs button:last-child {
    margin-right: 0;
  }
  .profile {
    flex: 1 1 0;
    margin-left: 2px;
    border-radius: 8px;
    padding: 7px 0;
    font-size: 0.83em; /* уменьшено на 10% */
    top: 1px;
    box-shadow: none;
    text-align: center;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    line-height: 1.1;
  }
}