/* Input Container */
.inputContainer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 16px;
  width: 320px;
  position: relative;
}

/* Label */
.label {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px;
  gap: 8px;
}

.labelText {
  font-family: 'Pretendard', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  display: flex;
  align-items: center;
  color: #FFFFFF;
}

/* Input Wrapper */
.inputWrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 8px;
  width: 320px;
}

/* Input Field */
.input {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 22px 16px;
  gap: 10px;
  width: 320px;
  height: 64px;
  background: #1C2542;
  border: none;
  border-radius: 8px;
  flex: none;
  order: 0;
  flex-grow: 1;

  /* Text style */
  font-family: 'Pretendard', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.input::placeholder {
  color: #D1D9FF;
}

.input:focus {
  outline: none;
}

/* Password Toggle Button */
.toggleButton {
  position: absolute;
  right: 16px;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.inputWrapper {
  position: relative;
}

.inputWrapper .input {
  padding-right: 50px;
}

/* Error Text */
.errorText {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  font-family: 'Pretendard', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: -0.02em;
  color: #BF151B;
  white-space: pre-line;
}

/* Error state - add margin for error message space */
.hasError {
  margin-bottom: 35px;
}
