/* Updated layout and colors to match design images */
.page-content {
  background-color: #f5f5f5;
  padding: 0;
  min-height: calc(100vh - 50px);
}

.auth-section {
  background-color: #fff;
  margin-bottom: 12px;
}

.section-title {
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  border-left: 4px solid #00a6ff;
  margin: 0;
  background-color: #fff;
}

.auth-form {
  padding: 16px;
}

.form-item {
  margin-bottom: 20px;
}

.form-item:last-child {
  margin-bottom: 0;
}

.form-item label {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
  font-weight: 400;
}

.form-item label.required::before {
  content: "*";
  color: #ff4757;
  margin-right: 2px;
  font-size: 16px;
}

.form-item input {
  width: 100%;
  padding: 12px;
  border: none;
  background-color: #f5f5f5;
  border-radius: 6px;
  font-size: 14px;
  color: #999;
}

.form-item input::placeholder {
  color: #ccc;
}

/* Added select wrapper styling */
.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper input {
  padding-right: 40px;
  cursor: pointer;
}

.arrow-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #ccc;
  pointer-events: none;
}

.image-upload {
  display: flex;
  gap: 12px;
}

.upload-placeholder {
  width: 120px;
  height: 120px;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  cursor: pointer;
  transition: all 0.3s;
}

.upload-placeholder:hover {
  background-color: #e8e8e8;
}

.upload-placeholder svg {
  color: #ccc;
}

/* Added submit button styling */
.btn-submit {
  width: 100%;
  padding: 14px;
  background-color: #00a6ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 24px;
  transition: all 0.3s;
}

.btn-submit:hover {
  background-color: #0095e8;
}

.btn-submit:active {
  transform: scale(0.98);
}

/* Added modal styles for province-city-district selector */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.modal-overlay.active {
  display: block;
}

.selector-modal {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-radius: 16px 16px 0 0;
  z-index: 1000;
  max-height: 60vh;
  animation: slideUp 0.3s ease-out;
}

.selector-modal.active {
  display: block;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  line-height: 28px;
}

.modal-content {
  overflow-y: auto;
  max-height: calc(60vh - 60px);
}

.selector-item {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  font-size: 15px;
  color: #333;
  transition: background-color 0.2s;
}

.selector-item:last-child {
  border-bottom: none;
}

.selector-item:active {
  background-color: #f5f5f5;
}
