.add-client-page {
  padding: 64px 0px 0px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.add-client-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: fixed;
  top: env(safe-area-inset-top);
  left: 0;
  right: 0;
  z-index: 25;
  padding: 8px 16px;
  transition: opacity 180ms ease;
  box-sizing: border-box;
  height: 48px;
}

.add-client-back {
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111827;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.add-client-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.add-client-cancel {
  background: none;
  border: none;
  color: #1b1b1b;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  position: absolute;
  right: 16px;
}

.add-client-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 16px calc(32px + 64px + env(safe-area-inset-bottom));
  background: #fff;
  border-radius:  24px 24px 0px 0px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  flex: 1;
  min-height: 0;
}

.add-client-label {
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 6px;
  color: #1b1b1b;
}

.add-client-field {
  display: flex;
  align-items: center;
  border-radius: 20px;
  min-height: 40px;
  font-size: 16px;
  transition: border 0.2s;
  gap: 10px;
  position: relative;
}

.add-client-icon {
  width: 16px;
  height: 16px;
  opacity: 0.9;
  flex-shrink: 0;
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
  border-radius: 50%;
  box-sizing: content-box;
  pointer-events: none;
}

.add-client-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.add-client-input::placeholder {
  color: #8b95a5;
}

.add-client-page .add-client-field input,
.add-client-page .add-client-field select,
.add-client-page .add-client-field textarea,
.add-client-page .add-client-input {
  padding-left: 40px;
  height: 46px;
}


.add-client-header--hidden {
  opacity: 0;
  pointer-events: none;
}

.add-client-field--date input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}
.add-client-field--date {
  position: relative;
}
.add-client-field--date input {
  padding-right: 36px;
}
.add-client-field--date::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  background: url("../images/icons/arrow_down.svg") center/contain no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}
.add-client-field--date input::-webkit-calendar-picker-indicator {
  opacity: 0;
  display: none;
}
.add-client-field--date input::-ms-clear,
.add-client-field--date input::-ms-reveal {
  display: none;
}

.add-client-field--select {
  position: relative;
}

.add-client-field--select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 36px;
}

.add-client-field--select::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  background: url("../images/icons/arrow_down.svg") center/contain no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

.add-client-btn {
  width: auto;
  background: #181818;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: background 0.2s;
  cursor: pointer;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 30;
}

.add-client-btn:active {
  background: #222;
}

.add-client-btn img {
  width: 18px;
  height: 18px;
}
