* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  font-family: "Segoe UI", sans-serif;
}

.card {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: appear 0.4s ease;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tabs {
  display: flex;
  margin-bottom: 28px;
  background: #f1f2f6;
  border-radius: 10px;
  padding: 4px;
}
.tabs__btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: 7px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #636e72;
  transition: all 0.25s ease;
}
.tabs__btn--active {
  background: #6c5ce7;
  color: #fff;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.35);
}
.tabs__btn:hover:not(.tabs__btn--active) {
  color: #2d3436;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form.hidden {
  display: none;
}
.form__input {
  padding: 12px 14px;
  border: 2px solid #e8e8f0;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form__input:focus {
  border-color: rgb(148.0909090909, 136.4545454545, 237.5454545455);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.12);
}
.form__input::-moz-placeholder {
  color: #b2bec3;
}
.form__input::placeholder {
  color: #b2bec3;
}
.form__submit {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #6c5ce7;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.form__submit:hover {
  background: #5a4bd4;
  transform: translateY(-1px);
}
.form__submit:active {
  transform: translateY(0);
}

.message {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  min-height: 18px;
}

.profile__header {
  margin-bottom: 20px;
}
.profile__login {
  margin: 0;
  font-size: 16px;
  color: #2d3436;
}
.profile__login-name {
  color: #6c5ce7;
  font-weight: 700;
}
.profile__stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f8f8fb;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #636e72;
}
.profile__stat-value {
  font-weight: 600;
  color: #2d3436;
}

.passwordchange__label {
  font-size: small;
}

.btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn--neutral {
  background: #f1f2f6;
  color: #2d3436;
}
.btn--neutral:hover {
  background: #e4e6ec;
}
.btn--primary {
  background: #6c5ce7;
  color: #fff;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}
.btn--primary:hover {
  background: #5a4bd4;
}
.btn--danger {
  background: #fff0f0;
  color: #e74c3c;
}
.btn--danger:hover {
  background: #ffe1e1;
}

.notes .note {
  margin-bottom: 10px;
  padding: 10px;
  background-color: #e9e9e9;
  border-radius: 8px;
  position: relative;
  width: 100%;
}
.notes .note:last-child {
  margin-bottom: 0;
}
.notes .note__info {
  font-size: 12px;
  display: flex;
}
.notes .note__info-text {
  margin-top: 2px;
  color: #b2bec3;
}
.notes .note .note__date {
  margin-right: 10px;
}
.notes .note .note__btn-list {
  position: absolute;
  top: 50%;
  right: 8px;
}
.notes .note__text {
  position: relative;
  width: 100%;
  margin: 0;
  padding-right: 44px;
  overflow-wrap: break-word;
  max-height: 50px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.notes .btn-note {
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  padding: 4px 8px;
  color: #b2bec3;
  transition: color 0.2s ease;
}
.notes .btn-note:hover {
  color: #6c5ce7;
}

.hidden {
  display: none;
}

.password-field {
  position: relative;
}

.password-field .form__input {
  width: 100%;
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  padding: 4px 8px;
  color: #b2bec3;
  transition: color 0.2s ease;
}

.password-toggle:hover {
  color: #6c5ce7;
}/*# sourceMappingURL=style.css.map */