body {
    font-family: sans-serif;
}

/* --- Стили для полей ввода в профиле --- */
.profile-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 12px 16px;
    border-radius: 10px;
}

.profile-field label {
    font-weight: 500;
    color: #374151; /* gray-700 */
}

.profile-field input {
    border: none;
    outline: none;
    text-align: right;
    color: #4b5563; /* gray-600 */
    background-color: transparent;
    width: 60%;
}
.profile-field input::placeholder {
    color: #9ca3af; /* gray-400 */
}

/* --- Стили для переключателей (toggles) --- */
.toggle-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 51px;
  height: 31px;
  flex-shrink: 0;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e5e7eb; /* gray-200 */
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 23px;
  width: 23px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #a3e635; /* lime-400 */
}

input:checked + .slider:before {
  transform: translateX(20px);
}
